Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001867/0.001867, allocations: 119.3 kB / 21.18 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.001861/0.001861, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.387/1.387, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2639, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01131/0.2752, allocations: 9.812 MB / 441.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.2805, allocations: 2.783 MB / 444.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.2817, allocations: 71.81 kB / 444.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009047/0.2907, allocations: 4.211 MB / 448.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.2936, allocations: 0.7679 MB / 449.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.2957, allocations: 0.96 MB / 450.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004377/0.3, allocations: 4.058 MB / 454.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009084/0.3091, allocations: 6.784 MB / 461.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.3122, allocations: 2.377 MB / 463.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004121/0.3163, allocations: 2.651 MB / 466.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.3174, allocations: 0.6641 MB / 467.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.3191, allocations: 0.8982 MB / 468.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.3201, allocations: 1.243 MB / 469.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002819/0.3229, allocations: 2.556 MB / 471.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009271/0.3322, allocations: 8.925 MB / 480.8 MB, free: 6.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3322, allocations: 4 kB / 480.8 MB, free: 6.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3322, allocations: 0 / 480.8 MB, free: 6.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001871/0.3324, allocations: 0 / 480.8 MB, free: 6.359 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.01311/0.3455, allocations: 5.402 MB / 486.2 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3456, allocations: 12.02 kB / 486.2 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007551/0.3531, allocations: 1.321 MB / 487.6 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.3583, allocations: 2.612 MB / 490.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.3586, allocations: 349.3 kB / 490.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008384/0.3594, allocations: 448 kB / 490.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.3711, allocations: 6.106 MB / 497.1 MB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.819e-05/0.3712, allocations: 3.953 kB / 497.1 MB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.3716, allocations: 188 kB / 497.2 MB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/0.3718, allocations: 201.5 kB / 497.4 MB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009572/0.3814, allocations: 5.28 MB / 0.4909 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/0.4142, allocations: 21.01 MB / 0.5115 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006696/0.4209, allocations: 5.498 MB / 0.5168 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.4219, allocations: 0.5965 MB / 0.5174 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.4222, allocations: 199.2 kB / 0.5176 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.4223, allocations: 47.56 kB / 0.5176 GB, free: 3.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.466e-06/0.4223, allocations: 0 / 0.5176 GB, free: 3.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002435/0.4247, allocations: 1.433 MB / 0.519 GB, free: 1.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.4248, allocations: 64.41 kB / 0.5191 GB, free: 1.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.4269, allocations: 1.462 MB / 0.5205 GB, free: 404 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.4269, allocations: 45.64 kB / 0.5206 GB, free: 352 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.4283, allocations: 2.041 MB / 0.5226 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.4286, allocations: 361.1 kB / 0.5229 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006073/0.4292, allocations: 479.9 kB / 0.5234 GB, free: 13.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4294, allocations: 361.9 kB / 0.5237 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.4305, allocations: 0.8124 MB / 0.5245 GB, free: 12.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.4327, allocations: 1.941 MB / 0.5264 GB, free: 9.773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/0.4361, allocations: 2.923 MB / 0.5293 GB, free: 6.305 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/0.4361, allocations: 16 kB / 0.5293 GB, free: 6.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00419/0.4403, allocations: 2.81 MB / 0.532 GB, free: 3.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.4403, allocations: 20 kB / 0.532 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.611e-05/0.4404, allocations: 40 kB / 0.5321 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.077e-05/0.4404, allocations: 52 kB / 0.5321 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.442, allocations: 0.542 MB / 0.5327 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.627e-05/0.4421, allocations: 79.7 kB / 0.5327 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.4433, allocations: 302 kB / 0.533 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.4435, allocations: 124 kB / 0.5331 GB, free: 2.324 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.002431/0.4459, allocations: 1.671 MB / 0.5348 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.4462, allocations: 131.1 kB / 0.5349 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2109/0.6571, allocations: 1.338 MB / 0.5362 GB, free: 96.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001268/0.6583, allocations: 0.9374 MB / 0.5371 GB, free: 96.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.6584, allocations: 0 / 0.5371 GB, free: 96.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.6584, allocations: 6.203 kB / 0.5371 GB, free: 96.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.672, allocations: 13.5 MB / 0.5503 GB, free: 89.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.672, allocations: 19.81 kB / 0.5503 GB, free: 89.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.6726, allocations: 220 kB / 0.5505 GB, free: 89.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/0.6727, allocations: 24.5 kB / 0.5506 GB, free: 89.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.6727, allocations: 47.34 kB / 0.5506 GB, free: 89.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.6727, allocations: 36.17 kB / 0.5506 GB, free: 89.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.6727, allocations: 28.88 kB / 0.5507 GB, free: 89.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.6748, allocations: 2.464 MB / 0.5531 GB, free: 88.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.6753, allocations: 328.5 kB / 0.5534 GB, free: 87.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.6755, allocations: 43.05 kB / 0.5534 GB, free: 87.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.6761, allocations: 62.36 kB / 0.5535 GB, free: 87.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6762, allocations: 136.2 kB / 0.5536 GB, free: 87.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.6763, allocations: 58.58 kB / 0.5537 GB, free: 87.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000984/0.6772, allocations: 0.9922 MB / 0.5546 GB, free: 87.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6772, allocations: 0 / 0.5546 GB, free: 87.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002245/0.6795, allocations: 0.9513 MB / 0.5556 GB, free: 87.25 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.0003115/0.6798, allocations: 203.6 kB / 0.5558 GB, free: 87.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.6818, allocations: 1.801 MB / 0.5575 GB, free: 86.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.6818, allocations: 4 kB / 0.5575 GB, free: 86.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.6824, allocations: 0.5619 MB / 0.5581 GB, free: 85.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.6842, allocations: 376.7 kB / 0.5584 GB, free: 85.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/0.6922, allocations: 6.801 MB / 0.5651 GB, free: 78.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.694, allocations: 2.999 MB / 0.568 GB, free: 75.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.6943, allocations: 139.4 kB / 0.5681 GB, free: 75.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6943, allocations: 0 / 0.5681 GB, free: 75.29 MB / 446.1 MB Notification: Performance of Templates: time 0.04346/0.7378, allocations: 39.12 MB / 0.6063 GB, free: 36.22 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.814960069023073]