Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.0009411/0.0009411, allocations: 84.98 kB / 23 MB, free: 1.504 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.001096/0.001096, allocations: 171.5 kB / 26.39 MB, free: 7.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9663/0.9663, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.018e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.00804/0.00807, allocations: 9.449 MB / 261.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005472/0.01354, allocations: 2.772 MB / 264.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.01537, allocations: 75.62 kB / 264.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005327/0.0207, allocations: 4.371 MB / 268.9 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.02457, allocations: 0.9161 MB / 269.8 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.02686, allocations: 0.9346 MB / 270.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004373/0.03124, allocations: 4.461 MB / 275.2 MB, free: 160 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00984/0.04108, allocations: 7.125 MB / 282.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.04603, allocations: 3.752 MB / 286.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004848/0.05088, allocations: 2.71 MB / 288.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001846/0.05272, allocations: 0.6797 MB / 289.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.05451, allocations: 0.8902 MB / 290.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.05566, allocations: 1.364 MB / 291.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003621/0.05928, allocations: 1.805 MB / 293.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007952/0.06723, allocations: 4.585 MB / 298.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.06724, allocations: 0 / 298.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.06724, allocations: 0 / 298.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003338/0.06757, allocations: 0 / 298.2 MB, free: 9.09 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01011/0.07768, allocations: 5.95 MB / 304.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.07773, allocations: 11.98 kB / 304.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007685/0.08542, allocations: 2.578 MB / 306.7 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/0.08911, allocations: 1.972 MB / 308.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.08932, allocations: 366.2 kB / 309 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006695/0.08999, allocations: 488.1 kB / 309.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004849/0.09483, allocations: 2.632 MB / 312.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-05/0.09491, allocations: 7.953 kB / 312.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.09522, allocations: 200 kB / 312.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.09538, allocations: 230.1 kB / 312.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.09851, allocations: 1.58 MB / 314.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/0.1202, allocations: 17.85 MB / 332 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.1234, allocations: 2.298 MB / 334.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.1238, allocations: 357.8 kB / 334.6 MB, free: 3.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002945/0.1267, allocations: 1.639 MB / 336.3 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1268, allocations: 37.33 kB / 336.3 MB, free: 2.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1268, allocations: 0 / 336.3 MB, free: 2.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003837/0.1272, allocations: 200.8 kB / 336.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1272, allocations: 51.41 kB / 336.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.1291, allocations: 2.039 MB / 338.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1291, allocations: 33.69 kB / 338.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.1307, allocations: 2.637 MB / 341.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.1307, allocations: 67.8 kB / 341.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005257/0.1313, allocations: 0.6234 MB / 342 MB, free: 12.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1314, allocations: 0.551 MB / 342.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.1317, allocations: 216.6 kB / 342.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.1332, allocations: 2.375 MB / 345.1 MB, free: 8.418 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.1349, allocations: 2.781 MB / 347.9 MB, free: 4.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.1349, allocations: 12 kB / 347.9 MB, free: 4.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.002416/0.1374, allocations: 1.931 MB / 349.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.1374, allocations: 28 kB / 349.8 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/0.1374, allocations: 52 kB / 349.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.872e-05/0.1375, allocations: 64 kB / 350 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/0.1384, allocations: 0.5537 MB / 350.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.054e-05/0.1385, allocations: 99.64 kB / 350.6 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.1396, allocations: 349.6 kB / 350.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.1397, allocations: 124 kB / 351.1 MB, free: 1.465 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.001112/0.1408, allocations: 351.2 kB / 351.4 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.141, allocations: 143.1 kB / 351.6 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.1413, allocations: 187.1 kB / 351.7 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.173e-05/0.1413, allocations: 53.62 kB / 351.8 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1413, allocations: 4 kB / 351.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1413, allocations: 0 / 351.8 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1634/0.3048, allocations: 1.841 MB / 353.6 MB, free: 77.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3048, allocations: 0 / 353.6 MB, free: 77.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/0.3049, allocations: 14.92 kB / 353.6 MB, free: 77.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3049, allocations: 1.312 kB / 353.6 MB, free: 77.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3049, allocations: 4.438 kB / 353.7 MB, free: 77.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3049, allocations: 1.812 kB / 353.7 MB, free: 77.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3049, allocations: 1.906 kB / 353.7 MB, free: 77.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.3054, allocations: 383.8 kB / 354 MB, free: 77.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.3057, allocations: 136.1 kB / 354.2 MB, free: 77.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3058, allocations: 6.031 kB / 354.2 MB, free: 77.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.3061, allocations: 12.03 kB / 354.2 MB, free: 77.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.3061, allocations: 7.859 kB / 354.2 MB, free: 77.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.3061, allocations: 2.594 kB / 354.2 MB, free: 77.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007662/0.3069, allocations: 0.8533 MB / 355 MB, free: 77.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3069, allocations: 0 / 355 MB, free: 77.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002174/0.309, allocations: 0.9949 MB / 356 MB, free: 77.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.000197/0.3092, allocations: 129.9 kB / 356.2 MB, free: 77.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3103, allocations: 0.982 MB / 357.1 MB, free: 77.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3103, allocations: 0 / 357.1 MB, free: 77.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.3103, allocations: 30.73 kB / 357.2 MB, free: 77.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.3112, allocations: 348.4 kB / 357.5 MB, free: 77.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.3182, allocations: 5.538 MB / 363.1 MB, free: 75.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.3189, allocations: 1.132 MB / 364.2 MB, free: 74.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005831/0.3195, allocations: 244.7 kB / 364.4 MB, free: 74.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.3199, allocations: 368.1 kB / 364.8 MB, free: 74.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3199, allocations: 0 / 364.8 MB, free: 74.79 MB / 330.7 MB Notification: Performance of Templates: time 0.02756/0.3474, allocations: 18.14 MB / 382.9 MB, free: 63.8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/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.417849772144109]