Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002048/0.002048, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002655/0.002655, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 230.5 MB / 258.1 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 46.95 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 79.86 kB / 0.4974 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3523, allocations: 66.09 MB / 0.5619 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2155/0.5678, allocations: 160.4 MB / 0.7185 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.5698, allocations: 0.8814 MB / 0.7194 GB, free: 2.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.5701, allocations: 11.88 kB / 0.7194 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.5708, allocations: 202.7 kB / 0.7196 GB, free: 1.891 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006373/0.5714, allocations: 298.3 kB / 0.7199 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005277/0.5767, allocations: 1.959 MB / 0.7218 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.5781, allocations: 0.979 MB / 0.7228 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.5786, allocations: 289.2 kB / 0.723 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.5822, allocations: 1.593 MB / 0.7246 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.5829, allocations: 318.8 kB / 0.7249 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-05/0.583, allocations: 44 kB / 0.7249 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/0.5876, allocations: 2.301 MB / 0.7272 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.5879, allocations: 203.5 kB / 0.7274 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.5882, allocations: 227.2 kB / 0.7276 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.5921, allocations: 1.979 MB / 0.7295 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5921, allocations: 0 / 0.7295 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5921, allocations: 0 / 0.7295 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.5921, allocations: 0 / 0.7295 GB, free: 7.711 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.002077/0.5941, allocations: 1.001 MB / 0.7305 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5942, allocations: 8.031 kB / 0.7305 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.5945, allocations: 63.66 kB / 0.7306 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.5951, allocations: 315.9 kB / 0.7309 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.5951, allocations: 29 kB / 0.7309 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.5952, allocations: 39.94 kB / 0.7309 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5962, allocations: 0.7708 MB / 0.7317 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5963, allocations: 0 / 0.7317 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.5963, allocations: 16 kB / 0.7317 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.5963, allocations: 8 kB / 0.7317 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.5972, allocations: 495.5 kB / 0.7322 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.5998, allocations: 1.481 MB / 0.7336 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.6005, allocations: 355.6 kB / 0.734 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.6009, allocations: 174.4 kB / 0.7341 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000459/0.6013, allocations: 135.8 kB / 0.7343 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.6014, allocations: 38.72 kB / 0.7343 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.6014, allocations: 0 / 0.7343 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001152/0.6025, allocations: 0.4894 MB / 0.7348 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.6026, allocations: 110.8 kB / 0.7349 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.6029, allocations: 296.5 kB / 0.7352 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.603, allocations: 33.7 kB / 0.7352 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.6031, allocations: 232.2 kB / 0.7354 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/0.6032, allocations: 111 kB / 0.7355 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6034, allocations: 82.05 kB / 0.7356 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6035, allocations: 338.8 kB / 0.7359 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.6039, allocations: 208 kB / 0.7361 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.6043, allocations: 309.7 kB / 0.7364 GB, free: 240 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.261/0.8654, allocations: 476.7 kB / 0.7369 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.8654, allocations: 1.094 kB / 0.7369 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001404/0.8668, allocations: 0.5983 MB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.8668, allocations: 65.77 kB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.8668, allocations: 4.031 kB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.8669, allocations: 5.797 kB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.8673, allocations: 85.89 kB / 0.7376 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.8673, allocations: 12.33 kB / 0.7376 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.8676, allocations: 46.73 kB / 0.7377 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.8677, allocations: 20.91 kB / 0.7377 GB, free: 174.4 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.0002338/0.8679, allocations: 185.8 kB / 0.7379 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.8681, allocations: 36.67 kB / 0.7379 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.8692, allocations: 490.3 kB / 0.7384 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.8692, allocations: 5.797 kB / 0.7384 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.8692, allocations: 1.031 kB / 0.7384 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.8692, allocations: 6.938 kB / 0.7384 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.8716, allocations: 1.204 MB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.8716, allocations: 1.219 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.8719, allocations: 65.56 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.8719, allocations: 1.906 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.8719, allocations: 11.56 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.8719, allocations: 8.562 kB / 0.7397 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.872, allocations: 1.906 kB / 0.7397 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/0.8727, allocations: 0.6311 MB / 0.7403 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.8728, allocations: 37.62 kB / 0.7403 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.8728, allocations: 18.66 kB / 0.7403 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.8732, allocations: 20.14 kB / 0.7403 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.8733, allocations: 29.77 kB / 0.7404 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.8733, allocations: 22.44 kB / 0.7404 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002639/0.8736, allocations: 281.3 kB / 0.7407 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8736, allocations: 0 / 0.7407 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001115/0.8747, allocations: 369.8 kB / 0.741 GB, free: 172.7 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.001073/0.8758, allocations: 496 kB / 0.7415 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008216/0.8766, allocations: 0.5053 MB / 0.742 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8766, allocations: 3.75 kB / 0.742 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.8769, allocations: 159.4 kB / 0.7421 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.878, allocations: 197.5 kB / 0.7423 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.8794, allocations: 0.8231 MB / 0.7431 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.8796, allocations: 239.5 kB / 0.7434 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.8798, allocations: 43.09 kB / 0.7434 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.8798, allocations: 0 / 0.7434 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01175/0.8915, allocations: 10.68 MB / 0.7538 GB, free: 161.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.406726332847029]