Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001682/0.001682, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002338/0.002338, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.3778/0.3778, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 72.11 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 66.03 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2255/0.5448, allocations: 160.4 MB / 0.7185 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.5473, allocations: 0.8658 MB / 0.7193 GB, free: 2.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004582/0.5477, allocations: 11.88 kB / 0.7193 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008524/0.5486, allocations: 206.6 kB / 0.7195 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008785/0.5495, allocations: 294.3 kB / 0.7198 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.5554, allocations: 1.958 MB / 0.7217 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.5569, allocations: 0.9945 MB / 0.7227 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.5573, allocations: 269.1 kB / 0.7229 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.5611, allocations: 1.601 MB / 0.7245 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006273/0.5617, allocations: 318.8 kB / 0.7248 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/0.5618, allocations: 44 kB / 0.7248 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005391/0.5672, allocations: 2.289 MB / 0.7271 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.5676, allocations: 211.4 kB / 0.7273 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.568, allocations: 231.2 kB / 0.7275 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004171/0.5722, allocations: 1.975 MB / 0.7294 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5722, allocations: 0 / 0.7294 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5722, allocations: 0 / 0.7294 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.5722, allocations: 3.938 kB / 0.7294 GB, free: 7.883 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.002293/0.5745, allocations: 1.001 MB / 0.7304 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5745, allocations: 12.03 kB / 0.7304 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.5748, allocations: 59.67 kB / 0.7305 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.5755, allocations: 323.8 kB / 0.7308 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.5756, allocations: 28.88 kB / 0.7308 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.5756, allocations: 40 kB / 0.7308 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.5768, allocations: 0.7708 MB / 0.7316 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5768, allocations: 4 kB / 0.7316 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.5769, allocations: 16 kB / 0.7316 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.5769, allocations: 8 kB / 0.7316 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/0.5778, allocations: 487.6 kB / 0.7321 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.5805, allocations: 1.485 MB / 0.7335 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.5813, allocations: 363.6 kB / 0.7339 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.5816, allocations: 170.5 kB / 0.7341 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/0.5821, allocations: 127.9 kB / 0.7342 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.5821, allocations: 42.56 kB / 0.7342 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.444e-06/0.5821, allocations: 0 / 0.7342 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001174/0.5833, allocations: 0.489 MB / 0.7347 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.5834, allocations: 114.8 kB / 0.7348 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.5837, allocations: 284.6 kB / 0.7351 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.5838, allocations: 33.7 kB / 0.7351 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.584, allocations: 232.2 kB / 0.7353 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.841e-05/0.5841, allocations: 111.2 kB / 0.7354 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.5842, allocations: 78.06 kB / 0.7355 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5844, allocations: 342.8 kB / 0.7358 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.5848, allocations: 204.1 kB / 0.736 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.5853, allocations: 317.6 kB / 0.7363 GB, free: 420 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2997/0.885, allocations: 485.3 kB / 0.7368 GB, free: 175 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.885, allocations: 3.984 kB / 0.7368 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001444/0.8864, allocations: 0.5892 MB / 0.7374 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.8865, allocations: 61.16 kB / 0.7374 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.8865, allocations: 3.875 kB / 0.7374 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.8865, allocations: 5.156 kB / 0.7374 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.887, allocations: 89.72 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.887, allocations: 5.578 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.8874, allocations: 41.05 kB / 0.7376 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.8874, allocations: 25.56 kB / 0.7376 GB, free: 174.7 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.0002779/0.8877, allocations: 187.8 kB / 0.7378 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.8879, allocations: 36.66 kB / 0.7378 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.8891, allocations: 490.9 kB / 0.7383 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.8891, allocations: 3.719 kB / 0.7383 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.8891, allocations: 5.109 kB / 0.7383 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.8891, allocations: 6.828 kB / 0.7383 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.8916, allocations: 1.195 MB / 0.7395 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.8916, allocations: 6.625 kB / 0.7395 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.8919, allocations: 67.7 kB / 0.7395 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.8919, allocations: 3.875 kB / 0.7395 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.8919, allocations: 8.438 kB / 0.7395 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.8919, allocations: 5.172 kB / 0.7395 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8919, allocations: 3.625 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.8926, allocations: 0.623 MB / 0.7402 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.8927, allocations: 43.08 kB / 0.7402 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.8927, allocations: 16.06 kB / 0.7402 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.8931, allocations: 25.72 kB / 0.7402 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.8932, allocations: 26.11 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.8932, allocations: 24.55 kB / 0.7403 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002454/0.8935, allocations: 277.3 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8935, allocations: 0 / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009633/0.8945, allocations: 366.9 kB / 0.7409 GB, free: 173.1 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.001048/0.8955, allocations: 0.5006 MB / 0.7414 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000781/0.8963, allocations: 0.5057 MB / 0.7419 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8963, allocations: 0 / 0.7419 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.8966, allocations: 158 kB / 0.742 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.8977, allocations: 201 kB / 0.7422 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.8988, allocations: 0.8278 MB / 0.743 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.8989, allocations: 243.2 kB / 0.7433 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.8991, allocations: 47.09 kB / 0.7433 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.8991, allocations: 0 / 0.7433 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01119/0.9103, allocations: 10.66 MB / 0.7537 GB, free: 161.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.881492857821286]