Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 113.9 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 189 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 43.94 kB / 366.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1131, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01317/0.1262, allocations: 9.766 MB / 428.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.1325, allocations: 2.697 MB / 431 MB, free: 72 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.1343, allocations: 91.61 kB / 431 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009828/0.1441, allocations: 4.226 MB / 435.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.1477, allocations: 0.9242 MB / 436.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.15, allocations: 0.828 MB / 437 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005513/0.1555, allocations: 4.062 MB / 441.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2324/0.388, allocations: 8.487 MB / 449.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.3913, allocations: 2.406 MB / 452 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004779/0.3961, allocations: 2.652 MB / 454.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.3979, allocations: 0.6628 MB / 455.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.4003, allocations: 0.8798 MB / 456.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.4014, allocations: 1.24 MB / 457.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004012/0.4055, allocations: 2.56 MB / 460 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.4165, allocations: 8.91 MB / 468.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4165, allocations: 3.578 kB / 468.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4165, allocations: 0 / 468.9 MB, free: 6.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002655/0.4168, allocations: 0.6562 kB / 468.9 MB, free: 6.094 MB / 366.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.02168/0.4385, allocations: 5.405 MB / 474.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.4385, allocations: 10.09 kB / 474.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002823/0.4388, allocations: 123.2 kB / 474.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/0.4404, allocations: 0.6564 MB / 475.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00878/0.4492, allocations: 1.315 MB / 476.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.454, allocations: 2.621 MB / 479 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.4543, allocations: 353.8 kB / 479.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.4553, allocations: 454.4 kB / 479.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.4678, allocations: 6.097 MB / 485.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-05/0.4679, allocations: 3.953 kB / 485.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004736/0.4683, allocations: 185.6 kB / 486.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/0.4685, allocations: 200.2 kB / 486.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4795, allocations: 5.271 MB / 491.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/0.5143, allocations: 20.79 MB / 0.5003 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006836/0.5212, allocations: 5.485 MB / 0.5057 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.5222, allocations: 0.5954 MB / 0.5063 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.5224, allocations: 120.7 kB / 0.5064 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5224, allocations: 43.56 kB / 0.5064 GB, free: 12.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 2.945e-06/0.5224, allocations: 0 / 0.5064 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002343/0.5248, allocations: 1.429 MB / 0.5078 GB, free: 11.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5248, allocations: 60.41 kB / 0.5079 GB, free: 10.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.527, allocations: 1.466 MB / 0.5093 GB, free: 9.484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.527, allocations: 37.7 kB / 0.5093 GB, free: 9.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.5286, allocations: 2.05 MB / 0.5113 GB, free: 7.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.5289, allocations: 368.2 kB / 0.5117 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007562/0.5296, allocations: 475.9 kB / 0.5122 GB, free: 6.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.5298, allocations: 357.9 kB / 0.5125 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.531, allocations: 0.8046 MB / 0.5133 GB, free: 5.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.5332, allocations: 1.946 MB / 0.5152 GB, free: 2.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/0.5366, allocations: 2.918 MB / 0.518 GB, free: 15.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.5367, allocations: 16 kB / 0.518 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004375/0.541, allocations: 2.796 MB / 0.5208 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.5411, allocations: 20 kB / 0.5208 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.251e-05/0.5411, allocations: 40 kB / 0.5208 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.141e-05/0.5412, allocations: 56 kB / 0.5209 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.5428, allocations: 0.5343 MB / 0.5214 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.467e-05/0.5429, allocations: 77.88 kB / 0.5215 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.5442, allocations: 298 kB / 0.5218 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.5444, allocations: 128 kB / 0.5219 GB, free: 11.94 MB / 430.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.002683/0.5471, allocations: 1.664 MB / 0.5235 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.5473, allocations: 135.1 kB / 0.5236 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.5495, allocations: 1.351 MB / 0.525 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001312/0.5508, allocations: 0.924 MB / 0.5259 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5508, allocations: 0 / 0.5259 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5508, allocations: 3.984 kB / 0.5259 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.5667, allocations: 12.2 MB / 0.5378 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/0.5668, allocations: 24.06 kB / 0.5378 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/0.5675, allocations: 214 kB / 0.538 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.009e-05/0.5675, allocations: 28 kB / 0.538 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.5676, allocations: 43.98 kB / 0.5381 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.693e-05/0.5676, allocations: 42.33 kB / 0.5381 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.503e-05/0.5677, allocations: 31.5 kB / 0.5382 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.5709, allocations: 2.449 MB / 0.5405 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/0.5715, allocations: 332.7 kB / 0.5409 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5716, allocations: 47.92 kB / 0.5409 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.5723, allocations: 59.95 kB / 0.541 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.5725, allocations: 133 kB / 0.5411 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.5726, allocations: 59.73 kB / 0.5411 GB, free: 7.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00149/0.574, allocations: 0.9877 MB / 0.5421 GB, free: 6.543 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.574, allocations: 4 kB / 0.5421 GB, free: 6.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002951/0.577, allocations: 0.9608 MB / 0.5431 GB, free: 5.574 MB / 446.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.003802/0.5808, allocations: 3.088 MB / 0.5461 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.5838, allocations: 1.797 MB / 0.5478 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.5838, allocations: 4.812 kB / 0.5478 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007983/0.5846, allocations: 0.5524 MB / 0.5484 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.5869, allocations: 391.5 kB / 0.5487 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/0.6165, allocations: 19.64 MB / 0.5679 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/0.6196, allocations: 3.075 MB / 0.5709 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001825/0.6214, allocations: 0.8093 MB / 0.5717 GB, free: 6.535 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/0.623, allocations: 1.259 MB / 0.5729 GB, free: 5.281 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.623, allocations: 0 / 0.5729 GB, free: 5.281 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07947/0.7025, allocations: 43.09 MB / 0.615 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.88, allocations: 0 / 0.615 GB, free: 10.48 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.695229867997114]