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.001872/0.001872, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001974/0.001974, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.362e-06/1.362e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.459e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01374/0.01377, allocations: 9.372 MB / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.0197, allocations: 2.701 MB / 284.4 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.02043, allocations: 91.56 kB / 284.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.0308, allocations: 4.457 MB / 288.9 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.03355, allocations: 0.8033 MB / 289.7 MB, free: 320 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1292/0.1628, allocations: 0.9359 MB / 290.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00444/0.1672, allocations: 4.223 MB / 294.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009732/0.177, allocations: 7.073 MB / 302 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005726/0.1827, allocations: 3.624 MB / 305.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.1858, allocations: 2.549 MB / 308.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.1868, allocations: 0.6651 MB / 308.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.1885, allocations: 0.8916 MB / 309.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000818/0.1893, allocations: 1.278 MB / 311 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.1914, allocations: 1.732 MB / 312.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008696/0.2001, allocations: 9.074 MB / 321.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2001, allocations: 0.8125 kB / 321.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2001, allocations: 0 / 321.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000273/0.2004, allocations: 6.469 kB / 321.8 MB, free: 13.36 MB / 282.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.0196/0.22, allocations: 6.178 MB / 328 MB, free: 7.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.22, allocations: 12.03 kB / 328 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009286/0.2293, allocations: 1.846 MB / 329.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006854/0.2361, allocations: 2.442 MB / 332.3 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/0.2365, allocations: 352 kB / 332.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.2377, allocations: 456.5 kB / 333.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.2518, allocations: 5.593 MB / 338.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.2519, allocations: 11.88 kB / 338.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005781/0.2525, allocations: 188 kB / 338.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002457/0.2527, allocations: 197.5 kB / 339 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.2641, allocations: 4.749 MB / 343.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04737/0.3115, allocations: 26.67 MB / 370.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005685/0.3172, allocations: 1.975 MB / 372.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.3182, allocations: 0.5465 MB / 373 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.3184, allocations: 52.7 kB / 373 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.3184, allocations: 50.39 kB / 373.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 2.896e-06/0.3184, allocations: 0 / 373.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.002554/0.321, allocations: 1.269 MB / 374.4 MB, free: 8.086 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3211, allocations: 64.41 kB / 374.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.3248, allocations: 2.348 MB / 376.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/0.3248, allocations: 37.7 kB / 376.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/0.327, allocations: 2.277 MB / 379.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/0.3274, allocations: 380.8 kB / 379.5 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.3284, allocations: 0.6229 MB / 380.1 MB, free: 2.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003963/0.3288, allocations: 0.5773 MB / 380.7 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3302, allocations: 0.6948 MB / 381.3 MB, free: 1.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/0.3331, allocations: 2.474 MB / 383.8 MB, free: 13.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004649/0.3378, allocations: 3.386 MB / 387.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.305e-05/0.3378, allocations: 12 kB / 387.2 MB, free: 9.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004849/0.3427, allocations: 2.692 MB / 389.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.3427, allocations: 23.94 kB / 389.9 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.878e-05/0.3428, allocations: 43.94 kB / 390 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.711e-05/0.3428, allocations: 52 kB / 390 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.3446, allocations: 0.5396 MB / 390.6 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.962e-05/0.3447, allocations: 81.11 kB / 390.6 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.3462, allocations: 298.1 kB / 390.9 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.3464, allocations: 124 kB / 391.1 MB, free: 6.297 MB / 346.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.002827/0.3492, allocations: 1.606 MB / 392.7 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.3495, allocations: 167.1 kB / 392.8 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.3519, allocations: 1.252 MB / 394.1 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001491/0.3534, allocations: 0.8027 MB / 394.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3534, allocations: 0 / 394.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3534, allocations: 3.984 kB / 394.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01998/0.3734, allocations: 11.36 MB / 406.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/0.3734, allocations: 28.03 kB / 406.3 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008428/0.3743, allocations: 217.9 kB / 406.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.231e-05/0.3743, allocations: 24 kB / 406.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.875e-05/0.3744, allocations: 44 kB / 406.6 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.288e-05/0.3744, allocations: 35.02 kB / 406.6 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.674e-05/0.3745, allocations: 31.22 kB / 406.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/0.3784, allocations: 2.492 MB / 409.1 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/0.3792, allocations: 238.8 kB / 409.3 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.3794, allocations: 47.92 kB / 409.4 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.3801, allocations: 63.94 kB / 409.5 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.3803, allocations: 137.8 kB / 409.6 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/0.3804, allocations: 55.98 kB / 409.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001895/0.3823, allocations: 1.155 MB / 410.8 MB, free: 1.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3823, allocations: 0 / 410.8 MB, free: 1.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003155/0.3854, allocations: 0.9569 MB / 411.8 MB, free: 1.023 MB / 362.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.000435/0.3859, allocations: 207.9 kB / 412 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003446/0.3893, allocations: 1.883 MB / 413.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.3893, allocations: 4 kB / 413.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009765/0.3903, allocations: 0.5452 MB / 414.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.3927, allocations: 397.6 kB / 414.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.4055, allocations: 6.794 MB / 421.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003104/0.4086, allocations: 2.279 MB / 423.9 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001901/0.4105, allocations: 0.7116 MB / 424.6 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.4108, allocations: 116.5 kB / 424.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/0.4108, allocations: 4 kB / 424.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of Templates: time 0.147/0.5578, allocations: 16.78 MB / 441.5 MB, free: 106.5 MB / 378.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.307262938003987]