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.0009575/0.0009575, allocations: 79.75 kB / 21.19 MB, free: 3.379 MB / 18.57 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.0009966/0.0009966, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9632/0.9632, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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: 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_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_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.719e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009097/0.009135, allocations: 9.458 MB / 282.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004919/0.01405, allocations: 2.717 MB / 285.2 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.01515, allocations: 91.56 kB / 285.2 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00559/0.02074, allocations: 4.473 MB / 289.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1241/0.1448, allocations: 0.7918 MB / 290.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.1472, allocations: 0.9514 MB / 291.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.1519, allocations: 4.22 MB / 295.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009913/0.1618, allocations: 7.065 MB / 302.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005519/0.1673, allocations: 3.626 MB / 306.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.1707, allocations: 2.566 MB / 308.9 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.172, allocations: 0.6644 MB / 309.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.1736, allocations: 0.8885 MB / 310.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005947/0.1742, allocations: 1.279 MB / 311.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002031/0.1762, allocations: 1.732 MB / 313.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.1803, allocations: 4.43 MB / 317.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1803, allocations: 0 / 317.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1803, allocations: 0.8125 kB / 317.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001339/0.1805, allocations: 0 / 317.9 MB, free: 1.938 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.008274/0.1887, allocations: 5.806 MB / 323.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1888, allocations: 8.031 kB / 323.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.1933, allocations: 1.841 MB / 325.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.1962, allocations: 2.447 MB / 328 MB, free: 7.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.1964, allocations: 351.4 kB / 328.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005643/0.197, allocations: 464.5 kB / 328.8 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005795/0.2028, allocations: 2.742 MB / 331.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/0.2029, allocations: 3.938 kB / 331.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.2031, allocations: 191.6 kB / 331.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.2033, allocations: 197.5 kB / 332 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/0.2073, allocations: 1.652 MB / 333.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/0.229, allocations: 17.21 MB / 350.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/0.2325, allocations: 1.972 MB / 352.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.233, allocations: 321.5 kB / 353.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.2331, allocations: 51.72 kB / 353.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.2331, allocations: 50.33 kB / 353.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 4.668e-06/0.2331, allocations: 0 / 353.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.001334/0.2345, allocations: 0.7528 MB / 354 MB, free: 13.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.2345, allocations: 64.41 kB / 354 MB, free: 13.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.2366, allocations: 1.563 MB / 355.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.2366, allocations: 41.7 kB / 355.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00156/0.2382, allocations: 2.175 MB / 357.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.2385, allocations: 373.3 kB / 358.2 MB, free: 9.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006036/0.2391, allocations: 0.5447 MB / 358.7 MB, free: 9.062 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.2393, allocations: 0.5355 MB / 359.2 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/0.2398, allocations: 272.2 kB / 359.5 MB, free: 8.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.2413, allocations: 1.987 MB / 361.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.2438, allocations: 2.462 MB / 364 MB, free: 2.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-05/0.2438, allocations: 16 kB / 364 MB, free: 2.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002751/0.2466, allocations: 1.846 MB / 365.8 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.2466, allocations: 23.94 kB / 365.8 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/0.2466, allocations: 40 kB / 365.9 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.534e-05/0.2467, allocations: 52 kB / 365.9 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.2479, allocations: 0.5416 MB / 366.5 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.467e-05/0.248, allocations: 74.59 kB / 366.6 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.249, allocations: 305.6 kB / 366.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.2492, allocations: 124 kB / 367 MB, free: 15.76 MB / 330.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.0008093/0.25, allocations: 316.2 kB / 367.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.2502, allocations: 170.6 kB / 367.4 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.2515, allocations: 0.8928 MB / 368.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006817/0.2521, allocations: 474.5 kB / 368.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2522, allocations: 7.938 kB / 368.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.2522, allocations: 7.641 kB / 368.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00864/0.2608, allocations: 5.016 MB / 373.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.2608, allocations: 20.25 kB / 373.9 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.2614, allocations: 209.8 kB / 374.1 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-05/0.2614, allocations: 28 kB / 374.1 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.2615, allocations: 47.98 kB / 374.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.59e-05/0.2615, allocations: 39.48 kB / 374.2 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-05/0.2615, allocations: 27.03 kB / 374.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.2638, allocations: 1.789 MB / 376 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.2642, allocations: 246.8 kB / 376.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.2643, allocations: 43.98 kB / 376.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.2649, allocations: 59.95 kB / 376.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.2651, allocations: 137.8 kB / 376.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.2651, allocations: 56 kB / 376.5 MB, free: 5.645 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008863/0.266, allocations: 0.6869 MB / 377.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.266, allocations: 0 / 377.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002499/0.2685, allocations: 0.9531 MB / 378.2 MB, free: 3.996 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.0003406/0.2688, allocations: 212 kB / 378.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.2706, allocations: 1.151 MB / 379.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.2706, allocations: 0 / 379.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.271, allocations: 314.5 kB / 379.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.2723, allocations: 393.2 kB / 380.2 MB, free: 2.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/0.2807, allocations: 6.255 MB / 386.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009424/0.2816, allocations: 1.126 MB / 387.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.2828, allocations: 0.7038 MB / 388.3 MB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.283, allocations: 120.5 kB / 388.4 MB, free: 9.566 MB / 346.7 MB Notification: Performance of SimCode: time 2.004e-06/0.283, allocations: 0 / 388.4 MB, free: 9.566 MB / 346.7 MB Notification: Performance of Templates: time 0.02726/0.3103, allocations: 17.97 MB / 406.4 MB, free: 7.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.072102854028344]