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.001408/0.001408, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001706/0.001706, allocations: 162.9 kB / 25.33 MB, free: 9.211 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.9727/0.9727, allocations: 158.6 MB / 187.2 MB, free: 2.684 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.953e-06/1.953e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.678e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008789/0.008826, allocations: 9.779 MB / 260.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.01432, allocations: 2.788 MB / 263.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009808/0.0153, allocations: 75.62 kB / 263.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.02021, allocations: 4.496 MB / 268.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.0228, allocations: 0.92 MB / 269.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.02434, allocations: 0.9524 MB / 270.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.02842, allocations: 4.461 MB / 274.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00918/0.0376, allocations: 7.121 MB / 281.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004941/0.04254, allocations: 3.752 MB / 285.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003582/0.04612, allocations: 2.698 MB / 288.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.04728, allocations: 0.6758 MB / 288.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.04902, allocations: 0.8902 MB / 289.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009628/0.04999, allocations: 1.375 MB / 291 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002313/0.0523, allocations: 1.797 MB / 292.8 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005253/0.05755, allocations: 4.581 MB / 297.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.05756, allocations: 0 / 297.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.05756, allocations: 0 / 297.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001515/0.05771, allocations: 4 kB / 297.4 MB, free: 4.965 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.1631/0.2208, allocations: 6.068 MB / 303.5 MB, free: 38.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.2208, allocations: 13.2 kB / 303.5 MB, free: 38.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.2332, allocations: 3.095 MB / 306.6 MB, free: 38.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.2387, allocations: 2.152 MB / 308.7 MB, free: 37.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.2391, allocations: 367.1 kB / 309.1 MB, free: 37.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008867/0.24, allocations: 480.1 kB / 309.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00887/0.2488, allocations: 3.001 MB / 312.6 MB, free: 37.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.85e-05/0.2489, allocations: 13 kB / 312.6 MB, free: 37.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004296/0.2494, allocations: 201.1 kB / 312.8 MB, free: 37.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.2496, allocations: 222.3 kB / 313 MB, free: 37.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006127/0.2557, allocations: 1.987 MB / 315 MB, free: 37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02675/0.2825, allocations: 18.09 MB / 333.1 MB, free: 23.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/0.2861, allocations: 3.047 MB / 336.1 MB, free: 20.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.2866, allocations: 413.8 kB / 336.5 MB, free: 20.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002481/0.2891, allocations: 1.724 MB / 338.3 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2891, allocations: 40.89 kB / 338.3 MB, free: 18.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.2891, allocations: 0 / 338.3 MB, free: 18.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002997/0.2894, allocations: 212.2 kB / 338.5 MB, free: 18.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.506e-05/0.2894, allocations: 51.41 kB / 338.5 MB, free: 18.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.291, allocations: 2.089 MB / 340.6 MB, free: 16.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2911, allocations: 25.7 kB / 340.7 MB, free: 16.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008656/0.2919, allocations: 2.624 MB / 343.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.292, allocations: 79.73 kB / 343.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/0.2924, allocations: 0.6157 MB / 344 MB, free: 13.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2925, allocations: 0.5355 MB / 344.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.2929, allocations: 276.6 kB / 344.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.2941, allocations: 2.418 MB / 347.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.2956, allocations: 2.827 MB / 350 MB, free: 5.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.2956, allocations: 15.94 kB / 350 MB, free: 5.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00198/0.2976, allocations: 2.081 MB / 352.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.2976, allocations: 32.25 kB / 352.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.2977, allocations: 52.77 kB / 352.2 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-05/0.2977, allocations: 64 kB / 352.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/0.2986, allocations: 0.57 MB / 352.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.792e-05/0.2986, allocations: 102.3 kB / 352.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.2996, allocations: 401.3 kB / 353.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.2997, allocations: 148 kB / 353.5 MB, free: 2.195 MB / 282.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.0006138/0.3004, allocations: 347.8 kB / 353.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3005, allocations: 146.1 kB / 354 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.3007, allocations: 187.1 kB / 354.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-05/0.3007, allocations: 67.61 kB / 354.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3007, allocations: 320 / 354.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3007, allocations: 0 / 354.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.3036, allocations: 2.898 MB / 357.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3036, allocations: 4 kB / 357.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.3036, allocations: 20.02 kB / 357.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3036, allocations: 3.984 kB / 357.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3037, allocations: 4 kB / 357.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3037, allocations: 4 kB / 357.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3037, allocations: 0 / 357.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.304, allocations: 388.2 kB / 357.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.3042, allocations: 151 kB / 357.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.3042, allocations: 0 / 357.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.3045, allocations: 27.95 kB / 357.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.3045, allocations: 4 kB / 357.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3045, allocations: 8.031 kB / 357.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009104/0.3054, allocations: 0.935 MB / 358.6 MB, free: 13 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3054, allocations: 0 / 358.6 MB, free: 13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001749/0.3071, allocations: 0.9919 MB / 359.6 MB, free: 12.01 MB / 298.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.0002173/0.3074, allocations: 135.7 kB / 359.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3084, allocations: 1.033 MB / 360.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3084, allocations: 4.125 kB / 360.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.454e-05/0.3085, allocations: 27.67 kB / 360.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.3093, allocations: 348.4 kB / 361.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.3152, allocations: 5.548 MB / 366.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.316, allocations: 1.132 MB / 367.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009748/0.317, allocations: 0.7085 MB / 368.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3171, allocations: 104.5 kB / 368.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3171, allocations: 0 / 368.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of Templates: time 0.02331/0.3404, allocations: 16.51 MB / 385.2 MB, free: 2.609 MB / 314.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.498199903871864]