Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.002552, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002324, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.843/0.843, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.142/0.9851, allocations: 52.48 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 239.7 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.084e-05, allocations: 3.156 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01014/0.01016, allocations: 9.231 MB / 249 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005441/0.0156, allocations: 2.82 MB / 251.8 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.01642, allocations: 95.5 kB / 251.9 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005776/0.02219, allocations: 4.446 MB / 256.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.0245, allocations: 0.9431 MB / 257.3 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.02591, allocations: 0.8077 MB / 258.1 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003641/0.02955, allocations: 4.263 MB / 262.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005314/0.03487, allocations: 7.146 MB / 269.5 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.0373, allocations: 3.694 MB / 273.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.03915, allocations: 2.605 MB / 275.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007037/0.03985, allocations: 0.6602 MB / 276.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.04086, allocations: 0.8863 MB / 277.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005953/0.04146, allocations: 1.005 MB / 278.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.04247, allocations: 1.443 MB / 279.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002908/0.04538, allocations: 4.176 MB / 284 MB, free: 9.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.04539, allocations: 0 / 284 MB, free: 9.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.04539, allocations: 0 / 284 MB, free: 9.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.478e-05/0.04543, allocations: 0 / 284 MB, free: 9.883 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.006279/0.05171, allocations: 6.126 MB / 290.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.05174, allocations: 12.03 kB / 290.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.05619, allocations: 1.722 MB / 291.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.05789, allocations: 1.348 MB / 293.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.05805, allocations: 349.7 kB / 293.5 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/0.05847, allocations: 452.4 kB / 294 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.06162, allocations: 2.997 MB / 297 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/0.06169, allocations: 11.94 kB / 297 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.06194, allocations: 184 kB / 297.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.06206, allocations: 189.5 kB / 297.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.0637, allocations: 1.141 MB / 298.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.07475, allocations: 13.27 MB / 311.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.0765, allocations: 1.336 MB / 313.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.07677, allocations: 250.7 kB / 313.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/0.07685, allocations: 36.98 kB / 313.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.07687, allocations: 47.44 kB / 313.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.465e-06/0.07688, allocations: 0 / 313.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.0005618/0.07744, allocations: 482.4 kB / 313.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.07746, allocations: 60.41 kB / 313.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.07807, allocations: 1.036 MB / 315 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.07812, allocations: 37.7 kB / 315 MB, free: 9.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000639/0.07876, allocations: 1.952 MB / 317 MB, free: 8.004 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.07891, allocations: 357.1 kB / 317.3 MB, free: 7.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.07923, allocations: 435.7 kB / 317.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.07932, allocations: 357.8 kB / 318.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.07961, allocations: 299.5 kB / 318.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000723/0.08033, allocations: 1.328 MB / 319.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.08151, allocations: 1.94 MB / 321.7 MB, free: 2.191 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.08153, allocations: 12 kB / 321.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001221/0.08275, allocations: 1.39 MB / 323.1 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.08277, allocations: 32.19 kB / 323.1 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.0828, allocations: 40 kB / 323.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/0.08284, allocations: 55.98 kB / 323.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009284/0.08377, allocations: 0.5772 MB / 323.8 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/0.0838, allocations: 79.72 kB / 323.8 MB, free: 0 / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.08442, allocations: 282.1 kB / 324.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/0.08451, allocations: 100 kB / 324.2 MB, free: 15.62 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.0003928/0.0849, allocations: 275.6 kB / 324.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.08501, allocations: 111.6 kB / 324.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007394/0.08575, allocations: 0.6861 MB / 325.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002542/0.086, allocations: 296.5 kB / 325.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.086, allocations: 0 / 325.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.08601, allocations: 7.969 kB / 325.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/0.08976, allocations: 3.368 MB / 328.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.08978, allocations: 20 kB / 329 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.09014, allocations: 203.7 kB / 329.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.09033, allocations: 186.8 kB / 329.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.09034, allocations: 24 kB / 329.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.09038, allocations: 43.98 kB / 329.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/0.0904, allocations: 40.27 kB / 329.4 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.09041, allocations: 31.88 kB / 329.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009203/0.09133, allocations: 1.407 MB / 330.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.09142, allocations: 43.98 kB / 330.9 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.09173, allocations: 36 kB / 331 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.09182, allocations: 135.4 kB / 331.1 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.09186, allocations: 43.98 kB / 331.1 MB, free: 7.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.09218, allocations: 442.5 kB / 331.6 MB, free: 7.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09218, allocations: 7.969 kB / 331.6 MB, free: 7.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001502/0.09368, allocations: 0.953 MB / 332.5 MB, free: 6.562 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.0002263/0.0939, allocations: 195.8 kB / 332.7 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008075/0.09471, allocations: 0.9781 MB / 333.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.302e-05/0.09476, allocations: 39.84 kB / 333.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.09577, allocations: 1.03 MB / 334.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.09748, allocations: 2.794 MB / 337.6 MB, free: 1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1099/0.2074, allocations: 6.283 MB / 343.8 MB, free: 69.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.2081, allocations: 0.815 MB / 344.7 MB, free: 69.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005438/0.2086, allocations: 236.6 kB / 344.9 MB, free: 69.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.2091, allocations: 341.5 kB / 345.2 MB, free: 69.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2091, allocations: 0 / 345.2 MB, free: 69.66 MB / 330.7 MB Notification: Performance of Templates: time 0.02329/0.2324, allocations: 17.39 MB / 362.6 MB, free: 62.58 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/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: 2.6475900318473577]