Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.001727/0.001727, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002045/0.002045, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.548/1.548, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 44.93 MB / 359.6 MB, free: 6.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.89 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3599, allocations: 65.47 MB / 0.5582 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2312/0.5911, allocations: 160.4 MB / 0.7148 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.5936, allocations: 0.8891 MB / 0.7157 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.5941, allocations: 11.88 kB / 0.7157 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009157/0.595, allocations: 198.6 kB / 0.7159 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009455/0.5959, allocations: 298.3 kB / 0.7162 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006361/0.6023, allocations: 1.954 MB / 0.7181 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.6041, allocations: 0.9906 MB / 0.719 GB, free: 1.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007209/0.6048, allocations: 281.2 kB / 0.7193 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.609, allocations: 1.589 MB / 0.7209 GB, free: 128 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007855/0.6098, allocations: 330.8 kB / 0.7212 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.61, allocations: 44 kB / 0.7212 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/0.6155, allocations: 2.289 MB / 0.7235 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004541/0.616, allocations: 203.5 kB / 0.7237 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.6166, allocations: 227.2 kB / 0.7239 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004873/0.6214, allocations: 1.975 MB / 0.7258 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6214, allocations: 0 / 0.7258 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6214, allocations: 0 / 0.7258 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.79e-05/0.6215, allocations: 0 / 0.7258 GB, free: 11.06 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002539/0.624, allocations: 1.005 MB / 0.7268 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.624, allocations: 12.03 kB / 0.7268 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.6244, allocations: 63.66 kB / 0.7269 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/0.6252, allocations: 312 kB / 0.7271 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.6252, allocations: 28.94 kB / 0.7272 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.6253, allocations: 40 kB / 0.7272 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.6266, allocations: 0.7668 MB / 0.728 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.6266, allocations: 4 kB / 0.728 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.6267, allocations: 20 kB / 0.728 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.6267, allocations: 11.98 kB / 0.728 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009997/0.6277, allocations: 492.2 kB / 0.7285 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.6307, allocations: 1.477 MB / 0.7299 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/0.6315, allocations: 375.6 kB / 0.7303 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.6318, allocations: 166.5 kB / 0.7304 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/0.6323, allocations: 135.9 kB / 0.7306 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.6324, allocations: 46.5 kB / 0.7306 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.484e-06/0.6324, allocations: 0 / 0.7306 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001274/0.6336, allocations: 496.5 kB / 0.7311 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.6337, allocations: 110.8 kB / 0.7312 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.6341, allocations: 288.6 kB / 0.7315 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.6342, allocations: 37.7 kB / 0.7315 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6344, allocations: 224.3 kB / 0.7317 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.6345, allocations: 119 kB / 0.7318 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.6346, allocations: 85.98 kB / 0.7319 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6348, allocations: 338.8 kB / 0.7322 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.6352, allocations: 208 kB / 0.7324 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.6357, allocations: 312.3 kB / 0.7327 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/0.6365, allocations: 479.5 kB / 0.7332 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.6365, allocations: 4 kB / 0.7332 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001187/0.6377, allocations: 0.5857 MB / 0.7338 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/0.6378, allocations: 70.05 kB / 0.7338 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6378, allocations: 4 kB / 0.7338 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6379, allocations: 4 kB / 0.7338 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.6383, allocations: 84.2 kB / 0.7339 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.6383, allocations: 8 kB / 0.7339 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.6386, allocations: 51.78 kB / 0.734 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.6387, allocations: 23.98 kB / 0.734 GB, free: 2.184 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0003002/0.639, allocations: 189.6 kB / 0.7342 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.6391, allocations: 31.81 kB / 0.7342 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.6403, allocations: 487.9 kB / 0.7347 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6403, allocations: 4 kB / 0.7347 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6403, allocations: 0 / 0.7347 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.6403, allocations: 7.922 kB / 0.7347 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.6431, allocations: 1.204 MB / 0.7359 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6431, allocations: 0 / 0.7359 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.6434, allocations: 59.91 kB / 0.7359 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.6434, allocations: 4 kB / 0.7359 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.6434, allocations: 15.92 kB / 0.7359 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.6434, allocations: 4 kB / 0.7359 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.6434, allocations: 4 kB / 0.7359 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2778/0.9212, allocations: 0.6263 MB / 0.7365 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.9213, allocations: 41.69 kB / 0.7366 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.9214, allocations: 14.08 kB / 0.7366 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.9219, allocations: 22.22 kB / 0.7366 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.922, allocations: 28.14 kB / 0.7366 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.922, allocations: 21.53 kB / 0.7367 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004029/0.9224, allocations: 279.2 kB / 0.7369 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9224, allocations: 0 / 0.7369 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001362/0.9238, allocations: 361.1 kB / 0.7373 GB, free: 177.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 32 * 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 0.001292/0.9251, allocations: 0.4899 MB / 0.7378 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.9261, allocations: 0.5061 MB / 0.7383 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.9261, allocations: 3.875 kB / 0.7383 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.9264, allocations: 152.8 kB / 0.7384 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.9275, allocations: 215.9 kB / 0.7386 GB, free: 177 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.9286, allocations: 0.8194 MB / 0.7394 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.9288, allocations: 238.1 kB / 0.7396 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.9289, allocations: 47.47 kB / 0.7397 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.9289, allocations: 0 / 0.7397 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01193/0.9409, allocations: 10.67 MB / 0.7501 GB, free: 167.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.807545932941139]