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.001544/0.001544, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001684/0.001684, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.41/1.41, 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.2165/0.2165, allocations: 46.95 MB / 361.6 MB, free: 4.148 MB / 286.1 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.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.001956/0.001956, allocations: 67.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2957, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.201/0.4966, allocations: 160.4 MB / 0.7184 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.4985, allocations: 0.8736 MB / 0.7193 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.4987, allocations: 11.88 kB / 0.7193 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.4994, allocations: 198.7 kB / 0.7195 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005886/0.5, allocations: 298.3 kB / 0.7198 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004891/0.5048, allocations: 1.964 MB / 0.7217 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.506, allocations: 0.9984 MB / 0.7227 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.5064, allocations: 281.2 kB / 0.7229 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.5096, allocations: 1.593 MB / 0.7245 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004904/0.5101, allocations: 338.8 kB / 0.7248 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.5102, allocations: 44 kB / 0.7249 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.5143, allocations: 2.37 MB / 0.7272 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.5145, allocations: 203.5 kB / 0.7274 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.5148, allocations: 231.1 kB / 0.7276 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.5176, allocations: 1.971 MB / 0.7295 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5176, allocations: 0 / 0.7295 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5176, allocations: 4 kB / 0.7295 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.5177, allocations: 0 / 0.7295 GB, free: 7.812 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.001978/0.5196, allocations: 0.9974 MB / 0.7305 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.5197, allocations: 15.95 kB / 0.7305 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.52, allocations: 63.67 kB / 0.7306 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.5206, allocations: 315.9 kB / 0.7309 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.5206, allocations: 32.94 kB / 0.7309 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.5207, allocations: 36 kB / 0.7309 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.5218, allocations: 0.7747 MB / 0.7317 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5218, allocations: 0 / 0.7317 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.5219, allocations: 16 kB / 0.7317 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.5219, allocations: 11.98 kB / 0.7317 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009021/0.5228, allocations: 491.5 kB / 0.7322 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.5253, allocations: 1.477 MB / 0.7336 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.5261, allocations: 363.7 kB / 0.734 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.5264, allocations: 170.5 kB / 0.7341 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.5269, allocations: 131.9 kB / 0.7343 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.5269, allocations: 42.58 kB / 0.7343 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.454e-06/0.5269, allocations: 0 / 0.7343 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001161/0.5281, allocations: 493.1 kB / 0.7348 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.5281, allocations: 114.8 kB / 0.7349 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.5285, allocations: 284.6 kB / 0.7352 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.5285, allocations: 41.7 kB / 0.7352 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.5287, allocations: 232.2 kB / 0.7354 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.5288, allocations: 111 kB / 0.7355 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.5289, allocations: 85.98 kB / 0.7356 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5291, allocations: 338.8 kB / 0.7359 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.5295, allocations: 208 kB / 0.7361 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.5299, allocations: 313.6 kB / 0.7364 GB, free: 336 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2223/0.7523, allocations: 479.8 kB / 0.7369 GB, free: 175 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.7523, allocations: 2.812 kB / 0.7369 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001231/0.7535, allocations: 0.5963 MB / 0.7375 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.7536, allocations: 63.48 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7536, allocations: 6.219 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.7536, allocations: 5.906 kB / 0.7375 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.7541, allocations: 87.14 kB / 0.7376 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.7541, allocations: 6.25 kB / 0.7376 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.7544, allocations: 39.52 kB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.7545, allocations: 21.72 kB / 0.7377 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.0002173/0.7547, allocations: 187.9 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.7548, allocations: 35.27 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.7559, allocations: 479.6 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.7559, allocations: 3.875 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7559, allocations: 6.469 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.7559, allocations: 6.344 kB / 0.7384 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.7582, allocations: 1.199 MB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7582, allocations: 5.812 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.7585, allocations: 68.78 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.7585, allocations: 2.5 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.7585, allocations: 10.45 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.7585, allocations: 6.703 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7585, allocations: 2.562 kB / 0.7396 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.7592, allocations: 0.6311 MB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.7592, allocations: 35.84 kB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.7593, allocations: 15.17 kB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.7597, allocations: 25.33 kB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.7598, allocations: 26.17 kB / 0.7404 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.7598, allocations: 19.88 kB / 0.7404 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002204/0.76, allocations: 281.3 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.76, allocations: 3.938 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009145/0.761, allocations: 371.1 kB / 0.741 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.0009639/0.7619, allocations: 0.4947 MB / 0.7415 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006789/0.7626, allocations: 0.4952 MB / 0.742 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7626, allocations: 2.156 kB / 0.742 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.7629, allocations: 165.3 kB / 0.7421 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.001095/0.764, allocations: 202.5 kB / 0.7423 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.7649, allocations: 0.7862 MB / 0.7431 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.7651, allocations: 239.7 kB / 0.7433 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.7654, allocations: 107.2 kB / 0.7434 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.7655, allocations: 43.05 kB / 0.7435 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.7655, allocations: 0 / 0.7435 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01647/0.7819, allocations: 14.17 MB / 0.7573 GB, free: 158.1 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 -s cvode -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: 5.721900953998556]