Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001751/0.001751, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001888/0.001888, allocations: 214.2 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.91 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2828, allocations: 53.4 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01036/0.2931, allocations: 8.003 MB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006354/0.2995, allocations: 2.527 MB / 442.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.3013, allocations: 75.69 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008915/0.3102, allocations: 3.468 MB / 446 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.3138, allocations: 0.7531 MB / 446.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.3164, allocations: 0.9225 MB / 447.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005243/0.3217, allocations: 3.645 MB / 451.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.3337, allocations: 6.187 MB / 457.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.3374, allocations: 2.147 MB / 459.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005322/0.3427, allocations: 2.387 MB / 462 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002082/0.3448, allocations: 0.5859 MB / 462.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.3483, allocations: 0.8084 MB / 463.4 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002027/0.3503, allocations: 1.118 MB / 464.5 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003865/0.3542, allocations: 1.771 MB / 466.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.3644, allocations: 7.951 MB / 474.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3644, allocations: 4 kB / 474.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3644, allocations: 0 / 474.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000211/0.3646, allocations: 4 kB / 474.3 MB, free: 11.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01444/0.3791, allocations: 4.857 MB / 479.1 MB, free: 7.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3791, allocations: 12.03 kB / 479.1 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001379/0.3792, allocations: 112.6 kB / 479.2 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00162/0.3809, allocations: 0.5923 MB / 479.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008295/0.3891, allocations: 1.282 MB / 481.1 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/0.3941, allocations: 2.317 MB / 483.4 MB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.3945, allocations: 312.4 kB / 483.7 MB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.3958, allocations: 415.9 kB / 484.2 MB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.4078, allocations: 5.502 MB / 489.7 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.331e-05/0.4079, allocations: 8 kB / 489.7 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/0.4083, allocations: 164 kB / 489.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.4085, allocations: 180.6 kB / 490 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.4194, allocations: 4.804 MB / 494.8 MB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/0.4504, allocations: 17.09 MB / 0.4999 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.4545, allocations: 1.745 MB / 0.5016 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4558, allocations: 0.7152 MB / 0.5023 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.456, allocations: 44.97 kB / 0.5023 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.4561, allocations: 47.55 kB / 0.5024 GB, free: 3.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.018e-06/0.4561, allocations: 3.938 kB / 0.5024 GB, free: 3.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002584/0.4586, allocations: 1.558 MB / 0.5039 GB, free: 1.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4587, allocations: 64.41 kB / 0.504 GB, free: 1.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.4606, allocations: 1.342 MB / 0.5053 GB, free: 8 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.4607, allocations: 41.7 kB / 0.5053 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.462, allocations: 1.815 MB / 0.5071 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.4624, allocations: 381 kB / 0.5075 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000657/0.4631, allocations: 455.6 kB / 0.5079 GB, free: 13.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4632, allocations: 353.9 kB / 0.5082 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.4645, allocations: 0.8318 MB / 0.509 GB, free: 12.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.4666, allocations: 1.827 MB / 0.5108 GB, free: 9.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/0.4701, allocations: 2.798 MB / 0.5136 GB, free: 6.531 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.791e-05/0.4701, allocations: 8 kB / 0.5136 GB, free: 6.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004561/0.4747, allocations: 2.747 MB / 0.5163 GB, free: 3.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.4747, allocations: 20 kB / 0.5163 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.307e-05/0.4748, allocations: 43.92 kB / 0.5163 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.107e-05/0.4749, allocations: 44 kB / 0.5164 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.4766, allocations: 0.5231 MB / 0.5169 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.896e-05/0.4767, allocations: 71.72 kB / 0.5169 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.478, allocations: 298 kB / 0.5172 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.4782, allocations: 120 kB / 0.5173 GB, free: 2.656 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002326/0.4805, allocations: 1.484 MB / 0.5188 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.4808, allocations: 127.2 kB / 0.5189 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.4832, allocations: 1.458 MB / 0.5203 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00154/0.4847, allocations: 1.037 MB / 0.5213 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.4847, allocations: 3.938 kB / 0.5213 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.4847, allocations: 11.91 kB / 0.5214 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.5019, allocations: 10.94 MB / 0.532 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/0.502, allocations: 23.94 kB / 0.5321 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/0.5029, allocations: 243.7 kB / 0.5323 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.122e-05/0.5029, allocations: 24 kB / 0.5323 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.409e-05/0.503, allocations: 52 kB / 0.5324 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.441e-05/0.503, allocations: 43.84 kB / 0.5324 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.78e-05/0.5031, allocations: 35.81 kB / 0.5324 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.221/0.724, allocations: 2.663 MB / 0.535 GB, free: 96.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009821/0.725, allocations: 267.1 kB / 0.5353 GB, free: 96.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.7252, allocations: 50.38 kB / 0.5353 GB, free: 96.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008803/0.7261, allocations: 67.98 kB / 0.5354 GB, free: 96.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/0.7263, allocations: 152.4 kB / 0.5356 GB, free: 96.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.7265, allocations: 61.58 kB / 0.5356 GB, free: 96.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.728, allocations: 0.904 MB / 0.5365 GB, free: 96.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.728, allocations: 0 / 0.5365 GB, free: 96.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002776/0.7308, allocations: 0.8819 MB / 0.5374 GB, free: 96.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003593/0.7344, allocations: 3.309 MB / 0.5406 GB, free: 94.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002904/0.7373, allocations: 1.844 MB / 0.5424 GB, free: 94.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-05/0.7373, allocations: 6.281 kB / 0.5424 GB, free: 94.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.738, allocations: 0.6183 MB / 0.543 GB, free: 94.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.74, allocations: 333.7 kB / 0.5433 GB, free: 93.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/0.7608, allocations: 18.61 MB / 0.5615 GB, free: 79.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/0.7627, allocations: 2.256 MB / 0.5637 GB, free: 78.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001443/0.7641, allocations: 0.7649 MB / 0.5644 GB, free: 77.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.7651, allocations: 1.144 MB / 0.5656 GB, free: 76.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7651, allocations: 4 kB / 0.5656 GB, free: 76.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06248/0.8276, allocations: 41.27 MB / 0.6059 GB, free: 35.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.3, allocations: 3.609 kB / 0.6059 GB, free: 35.28 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.221273459959775]