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.001697/0.001697, allocations: 125.3 kB / 18.46 MB, free: 4.609 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.001955/0.001955, allocations: 206.5 kB / 21.41 MB, free: 1.664 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.541/1.541, allocations: 227.4 MB / 251.6 MB, free: 48 kB / 190.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.2563/0.2563, allocations: 46.16 MB / 351.1 MB, free: 14.27 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.00221/0.00221, allocations: 76.78 kB / 490.2 MB, free: 27.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1314, allocations: 62.45 MB / 0.5397 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5562/0.6877, allocations: 184.7 MB / 0.72 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.69, allocations: 0.9017 MB / 0.7209 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.6904, allocations: 7.938 kB / 0.7209 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009619/0.6914, allocations: 206.7 kB / 0.7211 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.6926, allocations: 278.3 kB / 0.7214 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00654/0.6991, allocations: 1.926 MB / 0.7233 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.7009, allocations: 0.9711 MB / 0.7242 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007419/0.7016, allocations: 332.2 kB / 0.7245 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.7064, allocations: 1.565 MB / 0.726 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/0.7072, allocations: 322.8 kB / 0.7264 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.7075, allocations: 48 kB / 0.7264 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006373/0.7138, allocations: 2.784 MB / 0.7291 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.7143, allocations: 199.5 kB / 0.7293 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000642/0.715, allocations: 266.9 kB / 0.7296 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005876/0.7209, allocations: 2.061 MB / 0.7316 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7209, allocations: 0 / 0.7316 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7209, allocations: 4 kB / 0.7316 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.253e-05/0.721, allocations: 0 / 0.7316 GB, free: 11.25 MB / 0.5294 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.002795/0.7238, allocations: 1.077 MB / 0.7326 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7239, allocations: 19.97 kB / 0.7327 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.7242, allocations: 55.67 kB / 0.7327 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.7249, allocations: 382.2 kB / 0.7331 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.7249, allocations: 25.88 kB / 0.7331 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.725, allocations: 47.94 kB / 0.7331 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.7261, allocations: 0.5159 MB / 0.7336 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.7261, allocations: 3.938 kB / 0.7336 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.7262, allocations: 12 kB / 0.7337 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.7262, allocations: 16 kB / 0.7337 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/0.7272, allocations: 491.6 kB / 0.7341 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.7304, allocations: 1.979 MB / 0.7361 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.7313, allocations: 458.2 kB / 0.7365 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.7317, allocations: 190.4 kB / 0.7367 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.7327, allocations: 0.9494 MB / 0.7376 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.7328, allocations: 38.56 kB / 0.7377 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.404e-06/0.7328, allocations: 0 / 0.7377 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.00135/0.7342, allocations: 0.4963 MB / 0.7381 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.7342, allocations: 106.8 kB / 0.7382 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.7349, allocations: 401.5 kB / 0.7386 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.7349, allocations: 33.7 kB / 0.7387 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.7352, allocations: 216.5 kB / 0.7389 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.7353, allocations: 107.1 kB / 0.739 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.7355, allocations: 86 kB / 0.739 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7357, allocations: 350.8 kB / 0.7394 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.736, allocations: 148.7 kB / 0.7395 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.7365, allocations: 258.8 kB / 0.7398 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.7373, allocations: 491.1 kB / 0.7402 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7373, allocations: 0 / 0.7402 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001205/0.7385, allocations: 0.5472 MB / 0.7408 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.7386, allocations: 65.8 kB / 0.7408 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7386, allocations: 8.188 kB / 0.7408 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.7387, allocations: 4 kB / 0.7408 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.7391, allocations: 83.89 kB / 0.7409 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.7391, allocations: 7.938 kB / 0.7409 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.7395, allocations: 59.59 kB / 0.741 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.7396, allocations: 19.98 kB / 0.741 GB, free: 0.8633 MB / 0.5294 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.0003041/0.7399, allocations: 185.7 kB / 0.7412 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.74, allocations: 47.64 kB / 0.7412 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.7411, allocations: 487.7 kB / 0.7417 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.7411, allocations: 4 kB / 0.7417 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7412, allocations: 4 kB / 0.7417 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7412, allocations: 11.92 kB / 0.7417 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.7448, allocations: 2.427 MB / 0.7441 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7449, allocations: 4 kB / 0.7441 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.7452, allocations: 59.91 kB / 0.7441 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.7452, allocations: 4.094 kB / 0.7442 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.7452, allocations: 8 kB / 0.7442 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.7452, allocations: 11.88 kB / 0.7442 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7452, allocations: 7.984 kB / 0.7442 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/0.7462, allocations: 0.6442 MB / 0.7448 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.7464, allocations: 128.8 kB / 0.7449 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/0.7464, allocations: 15.88 kB / 0.7449 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.7469, allocations: 19.98 kB / 0.745 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.747, allocations: 23.97 kB / 0.745 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.747, allocations: 19.98 kB / 0.745 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004436/0.7475, allocations: 363.1 kB / 0.7454 GB, free: 12 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7475, allocations: 4 kB / 0.7454 GB, free: 12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001131/0.7486, allocations: 355 kB / 0.7457 GB, free: 11.65 MB / 0.545 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.001448/0.7501, allocations: 0.504 MB / 0.7462 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009216/0.751, allocations: 474.3 kB / 0.7466 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.751, allocations: 0 / 0.7466 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.7514, allocations: 168.8 kB / 0.7468 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.7529, allocations: 289.7 kB / 0.7471 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.7544, allocations: 0.8028 MB / 0.7479 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.7551, allocations: 0.839 MB / 0.7487 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004339/0.7555, allocations: 110 kB / 0.7488 GB, free: 8.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.7557, allocations: 47.42 kB / 0.7488 GB, free: 8.355 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.7557, allocations: 0 / 0.7488 GB, free: 8.355 MB / 0.545 GB Notification: Performance of Templates: time 0.02946/0.7852, allocations: 15.09 MB / 0.7636 GB, free: 9.367 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/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: 6.504406979307532]