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.00113/0.00113, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001202/0.001202, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8682/0.8682, allocations: 173.4 MB / 200.4 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.44e-05, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.006598/0.006613, allocations: 8.505 MB / 326.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.01005, allocations: 2.596 MB / 329.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.01048, allocations: 91.56 kB / 329.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.01432, allocations: 4.127 MB / 333.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.01591, allocations: 0.9431 MB / 334.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.01691, allocations: 0.8055 MB / 335.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.01944, allocations: 4.223 MB / 339.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005652/0.0251, allocations: 7.055 MB / 346.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.02804, allocations: 3.596 MB / 350.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.03038, allocations: 2.281 MB / 352.7 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006913/0.03107, allocations: 0.6641 MB / 353.3 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.03233, allocations: 0.8668 MB / 354.2 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006707/0.033, allocations: 1.258 MB / 355.4 MB, free: 1.121 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.03417, allocations: 1.708 MB / 357.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005496/0.03967, allocations: 8.991 MB / 366.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.03967, allocations: 0 / 366.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.03968, allocations: 3.938 kB / 366.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.256e-05/0.03976, allocations: 4 kB / 366.1 MB, free: 6.387 MB / 330.7 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.006879/0.04664, allocations: 5.28 MB / 371.4 MB, free: 1.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.04669, allocations: 8.922 kB / 371.4 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005755/0.04727, allocations: 0.6617 MB / 372.1 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.05099, allocations: 1.317 MB / 373.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.05376, allocations: 2.593 MB / 376 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.05392, allocations: 353.7 kB / 376.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004312/0.05435, allocations: 460.1 kB / 376.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/0.06163, allocations: 6.115 MB / 382.9 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.409e-05/0.06169, allocations: 7.953 kB / 382.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.06197, allocations: 188 kB / 383.1 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.0621, allocations: 197.5 kB / 383.3 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005987/0.06809, allocations: 5.26 MB / 388.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01828/0.08636, allocations: 18.59 MB / 407.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.08952, allocations: 2.07 MB / 409.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000738/0.09025, allocations: 0.604 MB / 409.8 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.09039, allocations: 32.97 kB / 409.9 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.09043, allocations: 39.56 kB / 409.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=94): time 3.808e-06/0.09043, allocations: 0 / 409.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.001605/0.09204, allocations: 1.429 MB / 411.3 MB, free: 8.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.09208, allocations: 64.34 kB / 411.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.09347, allocations: 1.531 MB / 412.9 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.09351, allocations: 41.7 kB / 413 MB, free: 6.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008505/0.09436, allocations: 2.033 MB / 415 MB, free: 4.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.09455, allocations: 357.1 kB / 415.3 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004035/0.09496, allocations: 471.9 kB / 415.8 MB, free: 3.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.09522, allocations: 353.9 kB / 416.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007643/0.09598, allocations: 0.8085 MB / 417 MB, free: 2.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.09727, allocations: 1.937 MB / 418.9 MB, free: 272 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.09928, allocations: 2.927 MB / 421.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.09929, allocations: 15.94 kB / 421.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002614/0.1019, allocations: 2.798 MB / 424.6 MB, free: 9.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.1019, allocations: 24 kB / 424.7 MB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.102, allocations: 43.98 kB / 424.7 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.136e-05/0.102, allocations: 52 kB / 424.8 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/0.1029, allocations: 0.5303 MB / 425.3 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.17e-05/0.1029, allocations: 84.19 kB / 425.4 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.1037, allocations: 305.9 kB / 425.7 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.1038, allocations: 120 kB / 425.8 MB, free: 8.82 MB / 394.7 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.001772/0.1056, allocations: 1.679 MB / 427.5 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.1057, allocations: 131.1 kB / 427.6 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.107, allocations: 1.334 MB / 428.9 MB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009869/0.108, allocations: 0.9357 MB / 429.9 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.108, allocations: 0 / 429.9 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.108, allocations: 3.984 kB / 429.9 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009803/0.1178, allocations: 10.9 MB / 440.8 MB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.1179, allocations: 20.94 kB / 440.8 MB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.1182, allocations: 215.6 kB / 441 MB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.1182, allocations: 31.98 kB / 441 MB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.1183, allocations: 47.98 kB / 441.1 MB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/0.1183, allocations: 35.86 kB / 441.1 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/0.1183, allocations: 31.88 kB / 441.1 MB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.1203, allocations: 2.409 MB / 443.5 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.1206, allocations: 250.8 kB / 443.8 MB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.1207, allocations: 51.94 kB / 443.8 MB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.1211, allocations: 68 kB / 443.9 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/0.1212, allocations: 139.2 kB / 444 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.1212, allocations: 52 kB / 444.1 MB, free: 5.855 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008433/0.122, allocations: 0.9916 MB / 445.1 MB, free: 4.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.122, allocations: 0 / 445.1 MB, free: 4.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001774/0.1238, allocations: 0.953 MB / 446 MB, free: 3.902 MB / 410.7 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.002181/0.126, allocations: 3.064 MB / 449.1 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1352/0.2612, allocations: 1.795 MB / 450.9 MB, free: 119.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-05/0.2612, allocations: 3.281 kB / 450.9 MB, free: 119.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009192/0.2622, allocations: 0.5587 MB / 451.5 MB, free: 119.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.2636, allocations: 374.8 kB / 451.8 MB, free: 119.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.2773, allocations: 19.49 MB / 471.3 MB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.2787, allocations: 2.521 MB / 473.8 MB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009438/0.2796, allocations: 0.808 MB / 474.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/0.2803, allocations: 1.262 MB / 475.9 MB, free: 98.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2803, allocations: 4 kB / 475.9 MB, free: 98.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.3274, allocations: 43.86 MB / 0.5076 GB, free: 55.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/8.126, allocations: 7.156 kB / 0.5076 GB, free: 55.24 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/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: 9.852595723234117]