Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 215 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 51.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01203/0.1208, allocations: 9.781 MB / 436.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.1266, allocations: 2.771 MB / 439.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.1281, allocations: 91.56 kB / 439.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009249/0.1374, allocations: 4.225 MB / 443.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.1408, allocations: 0.7685 MB / 444.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.1432, allocations: 0.9574 MB / 445.6 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2188/0.3621, allocations: 4.065 MB / 449.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.3723, allocations: 8.492 MB / 458.2 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.3754, allocations: 2.402 MB / 460.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004039/0.3795, allocations: 2.658 MB / 463.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.3808, allocations: 0.6637 MB / 463.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.3831, allocations: 0.9041 MB / 464.8 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009775/0.3841, allocations: 1.239 MB / 466 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003519/0.3876, allocations: 2.558 MB / 468.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.3987, allocations: 8.931 MB / 477.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3988, allocations: 0 / 477.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3988, allocations: 4 kB / 477.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002358/0.399, allocations: 1.219 kB / 477.5 MB, free: 13.84 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01701/0.416, allocations: 5.403 MB / 482.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.416, allocations: 6.75 kB / 482.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001905/0.4162, allocations: 123.8 kB / 483.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001759/0.418, allocations: 0.656 MB / 483.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00811/0.4261, allocations: 1.319 MB / 485 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005691/0.4318, allocations: 2.617 MB / 487.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.4321, allocations: 356.2 kB / 488 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.4333, allocations: 456.1 kB / 488.5 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.4461, allocations: 6.094 MB / 494.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.942e-05/0.4462, allocations: 7.953 kB / 494.6 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004973/0.4467, allocations: 190.9 kB / 494.7 MB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/0.4469, allocations: 197.5 kB / 494.9 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.4572, allocations: 5.276 MB / 0.4885 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.037/0.4942, allocations: 21.02 MB / 0.509 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007313/0.5015, allocations: 5.49 MB / 0.5144 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.5026, allocations: 0.5965 MB / 0.515 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.5028, allocations: 203.1 kB / 0.5152 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5029, allocations: 39.56 kB / 0.5152 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.497e-06/0.5029, allocations: 4 kB / 0.5152 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002588/0.5055, allocations: 1.444 MB / 0.5166 GB, free: 15.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.5055, allocations: 64.41 kB / 0.5167 GB, free: 15.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.5082, allocations: 1.462 MB / 0.5181 GB, free: 13.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.5083, allocations: 37.7 kB / 0.5181 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.5101, allocations: 2.053 MB / 0.5201 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.5104, allocations: 354.5 kB / 0.5205 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007677/0.5112, allocations: 475.9 kB / 0.5209 GB, free: 10.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.5114, allocations: 365.9 kB / 0.5213 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.5128, allocations: 0.8124 MB / 0.5221 GB, free: 9.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.5152, allocations: 1.938 MB / 0.524 GB, free: 6.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/0.519, allocations: 2.931 MB / 0.5268 GB, free: 3.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-05/0.5191, allocations: 16 kB / 0.5268 GB, free: 3.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004759/0.5238, allocations: 2.805 MB / 0.5296 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.5239, allocations: 20 kB / 0.5296 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-05/0.5239, allocations: 40 kB / 0.5296 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-05/0.524, allocations: 52 kB / 0.5297 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.5257, allocations: 0.5359 MB / 0.5302 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.286e-05/0.5258, allocations: 79.81 kB / 0.5303 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.5273, allocations: 302 kB / 0.5306 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/0.5275, allocations: 124 kB / 0.5307 GB, free: 15.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002874/0.5304, allocations: 1.67 MB / 0.5323 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.5307, allocations: 131.1 kB / 0.5324 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.533, allocations: 1.341 MB / 0.5338 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001372/0.5344, allocations: 0.9355 MB / 0.5347 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5344, allocations: 0 / 0.5347 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.5344, allocations: 11.97 kB / 0.5347 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/0.5545, allocations: 13.51 MB / 0.5479 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.182e-05/0.5545, allocations: 20 kB / 0.5479 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/0.5554, allocations: 212.8 kB / 0.5481 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.733e-05/0.5555, allocations: 28 kB / 0.5481 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.5556, allocations: 44 kB / 0.5482 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.183e-05/0.5556, allocations: 46.8 kB / 0.5482 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.378e-05/0.5557, allocations: 26.75 kB / 0.5482 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/0.5592, allocations: 2.45 MB / 0.5506 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000714/0.5599, allocations: 327.9 kB / 0.5509 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.5602, allocations: 47.92 kB / 0.551 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/0.561, allocations: 67.5 kB / 0.551 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.5612, allocations: 125.4 kB / 0.5512 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.5613, allocations: 63.98 kB / 0.5512 GB, free: 9.961 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001879/0.5632, allocations: 0.9877 MB / 0.5522 GB, free: 8.969 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5632, allocations: 0 / 0.5522 GB, free: 8.969 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003485/0.5666, allocations: 0.9569 MB / 0.5531 GB, free: 8.008 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.004099/0.5707, allocations: 3.109 MB / 0.5562 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.5738, allocations: 1.801 MB / 0.5579 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.5738, allocations: 0.9375 kB / 0.5579 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008746/0.5747, allocations: 0.5618 MB / 0.5585 GB, free: 2.516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.5774, allocations: 383.8 kB / 0.5588 GB, free: 2.156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03775/0.6151, allocations: 19.6 MB / 0.578 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005049/0.6202, allocations: 3.071 MB / 0.581 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002086/0.6222, allocations: 0.8093 MB / 0.5818 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/0.6244, allocations: 1.257 MB / 0.583 GB, free: 7.738 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6244, allocations: 0 / 0.583 GB, free: 7.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/0.7319, allocations: 43.09 MB / 0.6251 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.17, allocations: 22.11 kB / 0.6251 GB, free: 12.92 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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: 13.942644840979483]