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.001655/0.001655, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001822/0.001822, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.48/1.48, allocations: 230.6 MB / 254.1 MB, free: 15.1 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1017, allocations: 53.32 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.2141/0.3157, allocations: 9.787 MB / 436.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005317/0.321, allocations: 2.757 MB / 438.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.3226, allocations: 99 kB / 439 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008493/0.3311, allocations: 4.212 MB / 443.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.3345, allocations: 0.7766 MB / 444 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.3371, allocations: 0.9571 MB / 444.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005628/0.3427, allocations: 4.064 MB / 449 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01479/0.3575, allocations: 8.498 MB / 457.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.3619, allocations: 2.4 MB / 459.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005792/0.3677, allocations: 2.658 MB / 462.5 MB, free: 8.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001781/0.3695, allocations: 0.6632 MB / 463.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.3727, allocations: 0.8976 MB / 464.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.3746, allocations: 1.24 MB / 465.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005475/0.3801, allocations: 2.56 MB / 467.9 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3918, allocations: 8.934 MB / 476.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3918, allocations: 3.984 kB / 476.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3918, allocations: 0 / 476.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002211/0.392, allocations: 0 / 476.8 MB, free: 14.43 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.01515/0.4071, allocations: 5.402 MB / 482.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4072, allocations: 8.031 kB / 482.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001359/0.4085, allocations: 0.6578 MB / 482.9 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008239/0.4168, allocations: 1.321 MB / 484.2 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005189/0.422, allocations: 2.612 MB / 486.8 MB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.4223, allocations: 354.5 kB / 487.2 MB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.4233, allocations: 460 kB / 487.6 MB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.4365, allocations: 6.102 MB / 493.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.379e-05/0.4366, allocations: 7.953 kB / 493.7 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004967/0.4371, allocations: 184 kB / 493.9 MB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.4373, allocations: 197.5 kB / 494.1 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.4477, allocations: 5.284 MB / 499.4 MB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03362/0.4813, allocations: 21.03 MB / 0.5082 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006928/0.4883, allocations: 5.481 MB / 0.5136 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4893, allocations: 0.6043 MB / 0.5142 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.4895, allocations: 203.1 kB / 0.5144 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.4896, allocations: 43.56 kB / 0.5144 GB, free: 10.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.746e-06/0.4896, allocations: 0 / 0.5144 GB, free: 10.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.00235/0.4919, allocations: 1.437 MB / 0.5158 GB, free: 9.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.492, allocations: 60.41 kB / 0.5159 GB, free: 9.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.4944, allocations: 1.462 MB / 0.5173 GB, free: 7.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.4944, allocations: 41.7 kB / 0.5173 GB, free: 7.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.496, allocations: 2.041 MB / 0.5193 GB, free: 5.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.4963, allocations: 373 kB / 0.5197 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007038/0.497, allocations: 475.9 kB / 0.5201 GB, free: 4.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4972, allocations: 361.8 kB / 0.5205 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.4986, allocations: 0.8085 MB / 0.5213 GB, free: 3.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.5009, allocations: 1.948 MB / 0.5232 GB, free: 1.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003779/0.5047, allocations: 2.924 MB / 0.526 GB, free: 13.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.581e-05/0.5047, allocations: 12 kB / 0.526 GB, free: 13.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004718/0.5094, allocations: 2.798 MB / 0.5288 GB, free: 10.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.5095, allocations: 24 kB / 0.5288 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-05/0.5095, allocations: 36 kB / 0.5288 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.099e-05/0.5096, allocations: 59.98 kB / 0.5289 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.5114, allocations: 0.5387 MB / 0.5294 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.283e-05/0.5115, allocations: 79.72 kB / 0.5295 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.5129, allocations: 297.9 kB / 0.5298 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.5131, allocations: 128 kB / 0.5299 GB, free: 9.75 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.002888/0.516, allocations: 1.664 MB / 0.5315 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.5163, allocations: 135.1 kB / 0.5316 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.5186, allocations: 1.338 MB / 0.5329 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001389/0.5199, allocations: 0.9357 MB / 0.5339 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.52, allocations: 0 / 0.5339 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.52, allocations: 3.984 kB / 0.5339 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/0.5387, allocations: 13.52 MB / 0.5471 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.395e-05/0.5388, allocations: 20 kB / 0.5471 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/0.5396, allocations: 207.6 kB / 0.5473 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-05/0.5396, allocations: 24 kB / 0.5473 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.5397, allocations: 48.7 kB / 0.5474 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-05/0.5398, allocations: 39.8 kB / 0.5474 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.582e-05/0.5398, allocations: 39.86 kB / 0.5474 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.5432, allocations: 2.455 MB / 0.5498 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.5439, allocations: 323.9 kB / 0.5501 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.5442, allocations: 55.98 kB / 0.5502 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.5449, allocations: 59.95 kB / 0.5502 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.5451, allocations: 135.3 kB / 0.5504 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/0.5452, allocations: 56 kB / 0.5504 GB, free: 3.438 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.5469, allocations: 0.9916 MB / 0.5514 GB, free: 2.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5469, allocations: 0 / 0.5514 GB, free: 2.441 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003221/0.5501, allocations: 0.9569 MB / 0.5523 GB, free: 1.48 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.003885/0.554, allocations: 3.091 MB / 0.5554 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.5572, allocations: 1.791 MB / 0.5571 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/0.5572, allocations: 4 kB / 0.5571 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008947/0.5581, allocations: 0.5662 MB / 0.5577 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.5605, allocations: 380 kB / 0.558 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/0.5916, allocations: 19.6 MB / 0.5772 GB, free: 5.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00343/0.595, allocations: 3.075 MB / 0.5802 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001867/0.5969, allocations: 0.8093 MB / 0.581 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/0.5987, allocations: 1.253 MB / 0.5822 GB, free: 0.793 MB / 494.1 MB Notification: Performance of SimCode: time 1.502e-06/0.5987, allocations: 0 / 0.5822 GB, free: 0.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.31/0.9087, allocations: 43.05 MB / 0.6242 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.38, allocations: 9.625 kB / 0.6242 GB, free: 158.9 MB / 0.5137 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.978085192851722]