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.001088/0.001088, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001009/0.001009, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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.9318/0.9318, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.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.2694/0.2694, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.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.803e-06/1.803e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.95e-05, allocations: 4.141 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001698/0.001727, allocations: 1.247 MB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006712/0.002398, allocations: 431.8 kB / 379.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.002418, allocations: 0 / 379.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.002435, allocations: 0 / 379.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.779e-05/0.002462, allocations: 0 / 379.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.002928, allocations: 71.72 kB / 379.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.002977, allocations: 7.938 kB / 379.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.003015, allocations: 0 / 379.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.003044, allocations: 0 / 379.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.003246, allocations: 43.95 kB / 379.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.003256, allocations: 0 / 379.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.003311, allocations: 4 kB / 379.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-06/0.00332, allocations: 3.984 kB / 379.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.003335, allocations: 4 kB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.069e-05/0.003426, allocations: 15.88 kB / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003428, allocations: 0 / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003429, allocations: 0 / 379.8 MB, free: 1.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.003433, allocations: 0 / 379.8 MB, free: 1.156 MB / 346.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.000245/0.003678, allocations: 344.4 kB / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.003715, allocations: 8.031 kB / 380.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.003844, allocations: 8.938 kB / 380.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.82e-05/0.003912, allocations: 108.6 kB / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.003926, allocations: 384 / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.003935, allocations: 384 / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.004038, allocations: 59.95 kB / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004045, allocations: 192 / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.004053, allocations: 384 / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.004061, allocations: 384 / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.417e-05/0.004075, allocations: 11.88 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.004378, allocations: 470.2 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.004469, allocations: 269.4 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.004502, allocations: 126.9 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.004529, allocations: 127.2 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.004569, allocations: 152.6 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.00457, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.386e-05/0.004624, allocations: 33.58 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.004672, allocations: 178.6 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.004751, allocations: 149.9 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.00476, allocations: 25.7 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.004799, allocations: 131.2 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.004801, allocations: 4.125 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.004824, allocations: 19.38 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.00493, allocations: 496.1 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-06/0.004937, allocations: 0 / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.004944, allocations: 8 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.004965, allocations: 11.62 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.004966, allocations: 0 / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.346e-05/0.00504, allocations: 29.7 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.005054, allocations: 10.19 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.005063, allocations: 4.031 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.005075, allocations: 4 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.005114, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.005119, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.005129, allocations: 7.938 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.005133, allocations: 4 kB / 382.6 MB, free: 14.2 MB / 362.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 7.659e-05/0.00521, allocations: 275.8 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.005252, allocations: 152.8 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.005297, allocations: 159.8 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.156e-05/0.005349, allocations: 264.1 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/0.005404, allocations: 272 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.122e-05/0.005455, allocations: 272.1 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.005607, allocations: 495.8 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.005641, allocations: 148.9 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.005673, allocations: 144.9 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.993e-05/0.005733, allocations: 272 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.005788, allocations: 268.1 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-05/0.005843, allocations: 275.9 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-05/0.0059, allocations: 264.1 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.006021, allocations: 456 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.006055, allocations: 144.9 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.006113, allocations: 276 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.006162, allocations: 148.8 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.006223, allocations: 276.3 kB / 387 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.006256, allocations: 144.9 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.723e-05/0.006293, allocations: 123.2 kB / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006293, allocations: 0 / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001247/0.006418, allocations: 0 / 387.3 MB, free: 9.273 MB / 362.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.569e-05/0.006513, allocations: 214.4 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.306e-05/0.006576, allocations: 11.81 kB / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006578, allocations: 4.062 kB / 387.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.00658, allocations: 7.938 kB / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.006845, allocations: 0.6984 MB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.007057, allocations: 215.1 kB / 388.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.007087, allocations: 51.36 kB / 388.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.741e-05/0.007104, allocations: 0 / 388.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.007121, allocations: 8.5 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007122, allocations: 0 / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of Templates: time 0.001428/0.00855, allocations: 192.7 kB / 388.7 MB, free: 7.816 MB / 362.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.782834797166288]