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.00145/0.00145, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001552/0.001552, allocations: 139.4 kB / 24.97 MB, free: 8.367 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 1.007/1.007, allocations: 173.4 MB / 201.5 MB, free: 9.344 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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.68e-05, allocations: 2.312 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007423/0.00745, allocations: 9.404 MB / 277.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005036/0.01249, allocations: 2.643 MB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.01373, allocations: 95.5 kB / 280.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004564/0.0183, allocations: 4.469 MB / 284.7 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.0211, allocations: 0.9471 MB / 285.6 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.02258, allocations: 0.8053 MB / 286.4 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003743/0.02632, allocations: 4.227 MB / 290.7 MB, free: 56 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.122/0.1483, allocations: 7.057 MB / 297.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00823/0.1565, allocations: 3.612 MB / 301.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.1604, allocations: 2.553 MB / 303.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.162, allocations: 0.6648 MB / 304.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.1637, allocations: 0.8662 MB / 305.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008395/0.1646, allocations: 1.285 MB / 306.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00226/0.1668, allocations: 1.724 MB / 308.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004606/0.1714, allocations: 4.402 MB / 312.8 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1714, allocations: 3.062 kB / 312.8 MB, free: 8.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1714, allocations: 0.625 kB / 312.8 MB, free: 8.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001795/0.1716, allocations: 0 / 312.8 MB, free: 8.059 MB / 266.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.009823/0.1814, allocations: 5.804 MB / 318.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1815, allocations: 11.5 kB / 318.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006886/0.1884, allocations: 1.849 MB / 320.5 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.1919, allocations: 2.442 MB / 322.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/0.1922, allocations: 352.4 kB / 323.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006928/0.1929, allocations: 452.9 kB / 323.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006971/0.1999, allocations: 2.736 MB / 326.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.975e-05/0.2, allocations: 7.891 kB / 326.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.2004, allocations: 190.7 kB / 326.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.2006, allocations: 193.5 kB / 326.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005257/0.2058, allocations: 1.64 MB / 328.5 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.2272, allocations: 17.2 MB / 345.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.23, allocations: 1.971 MB / 347.6 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.2304, allocations: 333.5 kB / 348 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.311e-05/0.2305, allocations: 32.98 kB / 348 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2305, allocations: 46.33 kB / 348.1 MB, free: 6.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 3.807e-06/0.2305, allocations: 0 / 348.1 MB, free: 6.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.001145/0.2317, allocations: 0.7456 MB / 348.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2317, allocations: 60.41 kB / 348.9 MB, free: 5.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.2332, allocations: 1.559 MB / 350.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.2333, allocations: 41.7 kB / 350.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009916/0.2342, allocations: 2.188 MB / 352.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.2345, allocations: 366.5 kB / 353 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.235, allocations: 0.5408 MB / 353.5 MB, free: 1.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2351, allocations: 0.5355 MB / 354.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.2356, allocations: 272.2 kB / 354.3 MB, free: 292 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.2368, allocations: 1.974 MB / 356.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.2387, allocations: 2.47 MB / 358.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.161e-05/0.2387, allocations: 12 kB / 358.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002162/0.2409, allocations: 1.839 MB / 360.6 MB, free: 8.902 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.2409, allocations: 23.94 kB / 360.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.622e-05/0.2409, allocations: 40 kB / 360.7 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.159e-05/0.241, allocations: 52.75 kB / 360.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/0.2419, allocations: 0.5393 MB / 361.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-05/0.242, allocations: 85.3 kB / 361.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008359/0.2428, allocations: 297.9 kB / 361.7 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.2429, allocations: 124 kB / 361.8 MB, free: 7.812 MB / 314.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.0007869/0.2437, allocations: 318.4 kB / 362.1 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.2439, allocations: 171.1 kB / 362.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.2449, allocations: 0.8846 MB / 363.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005328/0.2455, allocations: 478.5 kB / 363.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2455, allocations: 0 / 363.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2455, allocations: 3.984 kB / 363.6 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006752/0.2522, allocations: 4.911 MB / 368.5 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.2522, allocations: 20 kB / 368.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.2527, allocations: 212.7 kB / 368.8 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/0.2527, allocations: 27.94 kB / 368.8 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.2528, allocations: 51.98 kB / 368.8 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-05/0.2528, allocations: 34.92 kB / 368.9 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/0.2528, allocations: 33.66 kB / 368.9 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.2545, allocations: 1.779 MB / 370.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.2548, allocations: 234.8 kB / 370.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.2549, allocations: 52 kB / 371 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.2553, allocations: 59.95 kB / 371 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.2554, allocations: 133.2 kB / 371.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.2555, allocations: 55.98 kB / 371.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000685/0.2561, allocations: 0.683 MB / 371.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2561, allocations: 0 / 371.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002051/0.2582, allocations: 0.9569 MB / 372.8 MB, free: 12.18 MB / 330.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.0003533/0.2585, allocations: 218.5 kB / 373.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.26, allocations: 1.146 MB / 374.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.26, allocations: 4 kB / 374.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.2603, allocations: 312.3 kB / 374.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.2616, allocations: 388.8 kB / 374.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/0.2696, allocations: 6.274 MB / 381.2 MB, free: 3.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009056/0.2705, allocations: 1.129 MB / 382.3 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001109/0.2716, allocations: 0.7116 MB / 383 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.2718, allocations: 112.5 kB / 383.1 MB, free: 1.719 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/0.2718, allocations: 0 / 383.1 MB, free: 1.719 MB / 330.7 MB Notification: Performance of Templates: time 0.02356/0.2953, allocations: 16.72 MB / 399.8 MB, free: 1.332 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.161613958189264]