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.0008347/0.0008347, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.00201, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0006851/0.0006851, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008788/0.001564, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9123/0.9123, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1665/1.079, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.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 2.565e-06/2.565e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.349e-05, allocations: 9.406 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.008382/0.008416, allocations: 9.547 MB / 231.5 MB, free: 6.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00734/0.01576, allocations: 2.954 MB / 234.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.01803, allocations: 79.62 kB / 234.6 MB, free: 3.414 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005956/0.02399, allocations: 4.48 MB / 239.1 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.02794, allocations: 0.9004 MB / 240 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.03015, allocations: 0.9617 MB / 240.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005733/0.03588, allocations: 4.492 MB / 245.4 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008983/0.04486, allocations: 7.197 MB / 252.6 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006998/0.05186, allocations: 3.83 MB / 256.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/0.05692, allocations: 2.737 MB / 259.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002585/0.05951, allocations: 0.6758 MB / 259.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.06233, allocations: 0.9058 MB / 260.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.06347, allocations: 1.064 MB / 261.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.06614, allocations: 1.505 MB / 263.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005268/0.0714, allocations: 4.323 MB / 267.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.69e-05/0.07142, allocations: 0 / 267.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.07142, allocations: 4 kB / 267.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.07156, allocations: 0 / 267.7 MB, free: 2.113 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.008682/0.08024, allocations: 6.432 MB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.08028, allocations: 8.031 kB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006915/0.08719, allocations: 2.701 MB / 276.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.09014, allocations: 1.13 MB / 277.9 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.09037, allocations: 362.2 kB / 278.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005566/0.09092, allocations: 488.1 kB / 278.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004915/0.09584, allocations: 3.228 MB / 282 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.979e-05/0.09591, allocations: 8 kB / 282 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.09621, allocations: 200 kB / 282.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/0.09639, allocations: 222.1 kB / 282.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.09846, allocations: 1.362 MB / 283.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1562/0.2547, allocations: 13.95 MB / 297.7 MB, free: 30.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.2576, allocations: 2.074 MB / 299.8 MB, free: 30.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/0.258, allocations: 318.7 kB / 300.1 MB, free: 30.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002845/0.2609, allocations: 1.457 MB / 301.5 MB, free: 29.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2609, allocations: 37.56 kB / 301.6 MB, free: 29.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.2609, allocations: 1.125 kB / 301.6 MB, free: 29.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002835/0.2612, allocations: 169.6 kB / 301.8 MB, free: 29.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2612, allocations: 53.28 kB / 301.8 MB, free: 29.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.2625, allocations: 1.461 MB / 303.3 MB, free: 29.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2625, allocations: 25.7 kB / 303.3 MB, free: 29.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.2634, allocations: 2.38 MB / 305.7 MB, free: 27.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.2634, allocations: 77.14 kB / 305.7 MB, free: 27.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/0.2639, allocations: 0.5023 MB / 306.2 MB, free: 27.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.264, allocations: 351 kB / 306.6 MB, free: 27.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.2644, allocations: 313.7 kB / 306.9 MB, free: 27.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.2653, allocations: 1.629 MB / 308.5 MB, free: 25.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.2672, allocations: 2.326 MB / 310.9 MB, free: 23.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-05/0.2672, allocations: 12.78 kB / 310.9 MB, free: 23.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.002197/0.2694, allocations: 1.61 MB / 312.5 MB, free: 23.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.2695, allocations: 26.62 kB / 312.5 MB, free: 23.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-05/0.2695, allocations: 50.84 kB / 312.6 MB, free: 23.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.204e-05/0.2696, allocations: 65.03 kB / 312.6 MB, free: 23.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.2709, allocations: 0.6151 MB / 313.2 MB, free: 23.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.95e-05/0.271, allocations: 103 kB / 313.3 MB, free: 23.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.2723, allocations: 348.3 kB / 313.7 MB, free: 23.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.2725, allocations: 124.4 kB / 313.8 MB, free: 23.56 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.0009089/0.2734, allocations: 297.5 kB / 314.1 MB, free: 23.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.2735, allocations: 79.75 kB / 314.2 MB, free: 23.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.2738, allocations: 175.1 kB / 314.3 MB, free: 23.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/0.2738, allocations: 44.44 kB / 314.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2738, allocations: 0 / 314.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2738, allocations: 1.547 kB / 314.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.2757, allocations: 1.079 MB / 315.5 MB, free: 23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2757, allocations: 0 / 315.5 MB, free: 23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.2758, allocations: 12.97 kB / 315.5 MB, free: 23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.276, allocations: 117.6 kB / 315.6 MB, free: 22.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.276, allocations: 3.562 kB / 315.6 MB, free: 22.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.276, allocations: 7.969 kB / 315.6 MB, free: 22.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.276, allocations: 3.844 kB / 315.6 MB, free: 22.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.276, allocations: 0 / 315.6 MB, free: 22.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.2763, allocations: 295.6 kB / 315.9 MB, free: 22.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2764, allocations: 3.844 kB / 315.9 MB, free: 22.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.2767, allocations: 7.969 kB / 315.9 MB, free: 22.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.2767, allocations: 14.83 kB / 315.9 MB, free: 22.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.2767, allocations: 0 / 315.9 MB, free: 22.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005714/0.2773, allocations: 0.5979 MB / 316.5 MB, free: 22.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2773, allocations: 0 / 316.5 MB, free: 22.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002026/0.2793, allocations: 0.999 MB / 317.5 MB, free: 22.23 MB / 282.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.0002339/0.2795, allocations: 114.2 kB / 317.6 MB, free: 22.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009453/0.2805, allocations: 0.8822 MB / 318.5 MB, free: 21.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.782e-05/0.2805, allocations: 48.31 kB / 318.5 MB, free: 21.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.2807, allocations: 179.6 kB / 318.7 MB, free: 21.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.2822, allocations: 2.784 MB / 321.5 MB, free: 18.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/0.3108, allocations: 6.059 MB / 327.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.3115, allocations: 0.8234 MB / 328.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008194/0.3124, allocations: 246 kB / 328.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.3128, allocations: 329.1 kB / 329 MB, free: 11.16 MB / 282.7 MB Notification: Performance of SimCode: time 2.354e-06/0.3128, allocations: 2.406 kB / 329 MB, free: 11.16 MB / 282.7 MB Notification: Performance of Templates: time 0.02989/0.3427, allocations: 16.48 MB / 345.4 MB, free: 10.68 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0604629702866077]