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.001062/0.001062, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001953/0.001953, allocations: 164.5 kB / 24.82 MB, free: 9.281 MB / 18.57 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.027/1.027, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.2647/0.2647, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 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 1.583e-06/1.583e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.03e-05, allocations: 3.297 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3051/0.3051, allocations: 146.1 MB / 0.513 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3063, allocations: 0.8746 MB / 0.5138 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.3064, allocations: 12.69 kB / 0.5139 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.3068, allocations: 118.9 kB / 0.514 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.3072, allocations: 298.8 kB / 0.5143 GB, free: 15.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.3095, allocations: 1.331 MB / 0.5156 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.3101, allocations: 0.9665 MB / 0.5165 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3104, allocations: 295.8 kB / 0.5168 GB, free: 14.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.3111, allocations: 0.7136 MB / 0.5175 GB, free: 14.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.3113, allocations: 292 kB / 0.5178 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.3114, allocations: 46.09 kB / 0.5178 GB, free: 14.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.3127, allocations: 1.375 MB / 0.5191 GB, free: 13.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.3129, allocations: 210 kB / 0.5193 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.313, allocations: 198.1 kB / 0.5195 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3142, allocations: 1.401 MB / 0.5209 GB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3142, allocations: 4 kB / 0.5209 GB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3142, allocations: 0 / 0.5209 GB, free: 13.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3142, allocations: 2.875 kB / 0.5209 GB, free: 13.09 MB / 410.7 MB 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.0009538/0.3152, allocations: 0.9944 MB / 0.5219 GB, free: 12.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.3152, allocations: 8.469 kB / 0.5219 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.3155, allocations: 100.6 kB / 0.522 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.3158, allocations: 326.7 kB / 0.5223 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3158, allocations: 26.56 kB / 0.5223 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.3159, allocations: 46.25 kB / 0.5224 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.3163, allocations: 0.6158 MB / 0.523 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3163, allocations: 0 / 0.523 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.3164, allocations: 17.47 kB / 0.523 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3164, allocations: 11.25 kB / 0.523 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.3166, allocations: 197.4 kB / 0.5232 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3179, allocations: 1.738 MB / 0.5249 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.3181, allocations: 202.3 kB / 0.5251 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.3182, allocations: 85.67 kB / 0.5252 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.3184, allocations: 92.89 kB / 0.5252 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.3184, allocations: 40.33 kB / 0.5253 GB, free: 9.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.3184, allocations: 0 / 0.5253 GB, free: 9.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003529/0.3188, allocations: 242 kB / 0.5255 GB, free: 9.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.3188, allocations: 114.6 kB / 0.5256 GB, free: 9.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3189, allocations: 333.8 kB / 0.5259 GB, free: 9.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.319, allocations: 33.02 kB / 0.526 GB, free: 9.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.319, allocations: 277.3 kB / 0.5262 GB, free: 9.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.3191, allocations: 108.2 kB / 0.5263 GB, free: 9.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.3192, allocations: 85.39 kB / 0.5264 GB, free: 9.023 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.3192, allocations: 0.5207 MB / 0.5269 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.3193, allocations: 103.7 kB / 0.527 GB, free: 8.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3194, allocations: 254.6 kB / 0.5273 GB, free: 8.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.3196, allocations: 332.2 kB / 0.5276 GB, free: 7.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3196, allocations: 0 / 0.5276 GB, free: 7.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003274/0.3199, allocations: 418 kB / 0.528 GB, free: 7.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.32, allocations: 66.86 kB / 0.528 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.32, allocations: 5.344 kB / 0.5281 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.32, allocations: 5.25 kB / 0.5281 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3202, allocations: 80.95 kB / 0.5281 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3202, allocations: 9.594 kB / 0.5281 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3203, allocations: 36.31 kB / 0.5282 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.3203, allocations: 20.86 kB / 0.5282 GB, free: 7.547 MB / 410.7 MB 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 8.615e-05/0.3204, allocations: 180.1 kB / 0.5284 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.3205, allocations: 45.16 kB / 0.5284 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.3208, allocations: 328.6 kB / 0.5287 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3208, allocations: 2.969 kB / 0.5287 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3208, allocations: 4.516 kB / 0.5287 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3208, allocations: 0 / 0.5287 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/0.3217, allocations: 1.109 MB / 0.5298 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3217, allocations: 2.844 kB / 0.5298 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.3218, allocations: 57.08 kB / 0.5299 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3218, allocations: 2.594 kB / 0.5299 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3218, allocations: 13.78 kB / 0.5299 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3218, allocations: 10.5 kB / 0.5299 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3219, allocations: 5.641 kB / 0.5299 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.3221, allocations: 0.6384 MB / 0.5305 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.3221, allocations: 43.64 kB / 0.5306 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3221, allocations: 9.5 kB / 0.5306 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3223, allocations: 20.69 kB / 0.5306 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.3224, allocations: 24.67 kB / 0.5306 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.3224, allocations: 19.34 kB / 0.5306 GB, free: 5.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.827e-05/0.3225, allocations: 242.3 kB / 0.5309 GB, free: 5.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3225, allocations: 0 / 0.5309 GB, free: 5.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004582/0.3229, allocations: 282.2 kB / 0.5311 GB, free: 5.586 MB / 410.7 MB 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.0005284/0.3234, allocations: 400.3 kB / 0.5315 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.3237, allocations: 342 kB / 0.5318 GB, free: 5.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3237, allocations: 2.906 kB / 0.5319 GB, free: 5.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/0.3238, allocations: 94.25 kB / 0.5319 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.3244, allocations: 221.9 kB / 0.5322 GB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.3251, allocations: 0.7337 MB / 0.5329 GB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.502e-05/0.3252, allocations: 123.4 kB / 0.533 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.3254, allocations: 77.58 kB / 0.5331 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.3257, allocations: 300.1 kB / 0.5333 GB, free: 4.406 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3257, allocations: 0 / 0.5333 GB, free: 4.406 MB / 410.7 MB Notification: Performance of Templates: time 0.01225/0.338, allocations: 13.21 MB / 0.5462 GB, free: 12.87 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.601225754711777]