Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001102/0.001102, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002655, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009441/0.0009441, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009657/0.00191, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9299/0.9299, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08211/1.012, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2601/0.2601, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02592/0.2861, allocations: 13.11 MB / 291.5 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.075e-05, allocations: 4.984 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001971/0.001991, allocations: 1.287 MB / 294.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.008571, allocations: 433 kB / 294.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.008e-05/0.008581, allocations: 0 / 294.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.921e-06/0.008587, allocations: 0 / 294.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.443e-05/0.008601, allocations: 7.984 kB / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.008946, allocations: 67.62 kB / 294.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.168e-05/0.008988, allocations: 4 kB / 294.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.00902, allocations: 3.984 kB / 294.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.009054, allocations: 4 kB / 294.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.009212, allocations: 39.97 kB / 294.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.009221, allocations: 0 / 294.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.009279, allocations: 4 kB / 294.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.009292, allocations: 7.938 kB / 294.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.037e-06/0.009301, allocations: 0 / 294.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.962e-05/0.00937, allocations: 15.92 kB / 294.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.00938, allocations: 0 / 294.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.009381, allocations: 0 / 294.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.00939, allocations: 0 / 294.7 MB, free: 4.344 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002097/0.009599, allocations: 220.8 kB / 294.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.009629, allocations: 12.03 kB / 294.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.009777, allocations: 82.05 kB / 295 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.737e-05/0.009834, allocations: 101.8 kB / 295.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.009844, allocations: 8.312 kB / 295.1 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.009852, allocations: 384 / 295.1 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.865e-05/0.009921, allocations: 55.95 kB / 295.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.009927, allocations: 192 / 295.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.009934, allocations: 4.375 kB / 295.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.009939, allocations: 384 / 295.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.046e-05/0.009949, allocations: 3.938 kB / 295.2 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.01014, allocations: 294.9 kB / 295.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.176e-05/0.0102, allocations: 177.1 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.01022, allocations: 80.14 kB / 295.7 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.01024, allocations: 75.28 kB / 295.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.01027, allocations: 109.8 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.01027, allocations: 0 / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.011e-05/0.01032, allocations: 29.64 kB / 295.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.01036, allocations: 134.6 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.01042, allocations: 98.72 kB / 296.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.01043, allocations: 25.7 kB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.01047, allocations: 89.41 kB / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.01047, allocations: 0 / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.01049, allocations: 21.66 kB / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.03e-05/0.01058, allocations: 318.8 kB / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-06/0.01058, allocations: 0 / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/0.01058, allocations: 0 / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.765e-05/0.0106, allocations: 8.859 kB / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.0106, allocations: 0 / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.356e-05/0.01066, allocations: 33.64 kB / 296.6 MB, free: 2.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.01067, allocations: 8.094 kB / 296.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01067, allocations: 4 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.01068, allocations: 0 / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-05/0.01071, allocations: 7.922 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.01071, allocations: 0 / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/0.01072, allocations: 0 / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.01073, allocations: 4 kB / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.807e-05/0.01079, allocations: 181.1 kB / 296.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.01083, allocations: 101 kB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.01086, allocations: 111.9 kB / 297.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-05/0.0109, allocations: 176.3 kB / 297.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.151e-05/0.01094, allocations: 188.2 kB / 297.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.494e-05/0.01099, allocations: 188.2 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.01112, allocations: 309.5 kB / 297.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/0.01115, allocations: 113 kB / 298 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.01118, allocations: 109 kB / 298.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.01121, allocations: 105 kB / 298.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-05/0.01125, allocations: 184.2 kB / 298.4 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.009049/0.0203, allocations: 176.5 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.024e-05/0.02035, allocations: 184.2 kB / 298.7 MB, free: 0 / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-05/0.02041, allocations: 196.2 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.305e-05/0.0205, allocations: 303.8 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.02055, allocations: 176.3 kB / 299.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.02061, allocations: 112.9 kB / 299.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.02065, allocations: 180.2 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.02068, allocations: 104.9 kB / 299.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.511e-05/0.0207, allocations: 12.8 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0207, allocations: 0 / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.02085, allocations: 0 / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.294e-05/0.02095, allocations: 155.7 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.228e-05/0.02099, allocations: 8.953 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.02099, allocations: 4 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.021, allocations: 0 / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.02121, allocations: 459.7 kB / 300.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.02152, allocations: 162 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.02155, allocations: 51.36 kB / 300.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.02156, allocations: 7.922 kB / 300.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.02159, allocations: 51.38 kB / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.02159, allocations: 0 / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Templates: time 0.004287/0.02588, allocations: 186.5 kB / 300.9 MB, free: 13.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.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.674163058400154]