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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 95.23 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2501/0.2501, allocations: 45.91 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002534/0.0002534, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 63.46 MB / 481.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4272/0.5444, allocations: 148.9 MB / 0.6155 GB, free: 476 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.548, allocations: 1.841 MB / 0.6173 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.5484, allocations: 7.938 kB / 0.6173 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.549, allocations: 163.2 kB / 0.6174 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000576/0.5496, allocations: 219.3 kB / 0.6176 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004764/0.5544, allocations: 1.386 MB / 0.619 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009593/0.5553, allocations: 0.5511 MB / 0.6195 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.5558, allocations: 260.4 kB / 0.6198 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.559, allocations: 1.251 MB / 0.621 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.5595, allocations: 227.2 kB / 0.6212 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.5596, allocations: 20 kB / 0.6212 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004772/0.5643, allocations: 2.368 MB / 0.6236 GB, free: 8.188 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.5646, allocations: 159.6 kB / 0.6237 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.5649, allocations: 117.5 kB / 0.6238 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.5682, allocations: 1.286 MB / 0.6251 GB, free: 6.629 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5682, allocations: 4 kB / 0.6251 GB, free: 6.625 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5682, allocations: 0 / 0.6251 GB, free: 6.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.5682, allocations: 0 / 0.6251 GB, free: 6.625 MB / 462.1 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.002034/0.5703, allocations: 0.9546 MB / 0.626 GB, free: 5.609 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5703, allocations: 12.03 kB / 0.626 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.5706, allocations: 59.39 kB / 0.6261 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.5712, allocations: 354.2 kB / 0.6264 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.5712, allocations: 29 kB / 0.6264 GB, free: 5.125 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.5713, allocations: 36 kB / 0.6265 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008761/0.5722, allocations: 0.5207 MB / 0.627 GB, free: 4.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5722, allocations: 0 / 0.627 GB, free: 4.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.5723, allocations: 12 kB / 0.627 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5723, allocations: 15.95 kB / 0.627 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.5731, allocations: 0.4993 MB / 0.6275 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.5758, allocations: 1.986 MB / 0.6294 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.5765, allocations: 453.3 kB / 0.6299 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009693/0.5775, allocations: 0.9538 MB / 0.6308 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.5776, allocations: 42.55 kB / 0.6308 GB, free: 192 kB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.5776, allocations: 0 / 0.6308 GB, free: 192 kB / 462.1 MB Notification: Performance of matching and sorting (n=30): time 0.001113/0.5787, allocations: 0.5009 MB / 0.6313 GB, free: 15.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.5788, allocations: 114.8 kB / 0.6314 GB, free: 15.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.5792, allocations: 397.5 kB / 0.6318 GB, free: 15.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.5793, allocations: 33.7 kB / 0.6319 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.5794, allocations: 216.1 kB / 0.6321 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.5795, allocations: 106.5 kB / 0.6322 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.5796, allocations: 8 kB / 0.6322 GB, free: 14.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5797, allocations: 354.8 kB / 0.6325 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.58, allocations: 156.6 kB / 0.6327 GB, free: 14.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.5804, allocations: 254.3 kB / 0.6329 GB, free: 13.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.5808, allocations: 250.8 kB / 0.6331 GB, free: 13.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5808, allocations: 0 / 0.6331 GB, free: 13.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009934/0.5818, allocations: 0.5551 MB / 0.6337 GB, free: 13.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.5819, allocations: 67.45 kB / 0.6337 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.5819, allocations: 4 kB / 0.6338 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.5819, allocations: 4 kB / 0.6338 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.5823, allocations: 91.83 kB / 0.6338 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.5823, allocations: 7.984 kB / 0.6339 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.5827, allocations: 71.36 kB / 0.6339 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.5828, allocations: 19.98 kB / 0.6339 GB, free: 12.88 MB / 478.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.583, allocations: 182.2 kB / 0.6341 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.5831, allocations: 43.53 kB / 0.6342 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009963/0.5841, allocations: 0.5002 MB / 0.6346 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5842, allocations: 12.03 kB / 0.6347 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.5842, allocations: 4 kB / 0.6347 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5842, allocations: 0 / 0.6347 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.5871, allocations: 2.437 MB / 0.637 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5871, allocations: 0 / 0.637 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.5874, allocations: 68.16 kB / 0.6371 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5874, allocations: 8 kB / 0.6371 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.5875, allocations: 8 kB / 0.6371 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5875, allocations: 4 kB / 0.6371 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.5875, allocations: 7.953 kB / 0.6371 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.5883, allocations: 0.7357 MB / 0.6378 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.5885, allocations: 148.3 kB / 0.638 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.5886, allocations: 11.98 kB / 0.638 GB, free: 8.254 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.589, allocations: 27.98 kB / 0.638 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.5891, allocations: 23.97 kB / 0.6381 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.5891, allocations: 19.98 kB / 0.6381 GB, free: 8.184 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003822/0.5895, allocations: 355.1 kB / 0.6384 GB, free: 7.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5895, allocations: 3.938 kB / 0.6384 GB, free: 7.836 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001105/0.5906, allocations: 351.6 kB / 0.6387 GB, free: 7.492 MB / 478.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.5917, allocations: 493.3 kB / 0.6392 GB, free: 7.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008001/0.5925, allocations: 481 kB / 0.6397 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5925, allocations: 4 kB / 0.6397 GB, free: 6.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.5928, allocations: 172.9 kB / 0.6398 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.594, allocations: 258.9 kB / 0.6401 GB, free: 6.105 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.5953, allocations: 0.933 MB / 0.641 GB, free: 5.121 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.5958, allocations: 0.8432 MB / 0.6418 GB, free: 4.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004212/0.5962, allocations: 107.8 kB / 0.6419 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.5963, allocations: 47.42 kB / 0.642 GB, free: 4.098 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5963, allocations: 0 / 0.642 GB, free: 4.098 MB / 478.1 MB Notification: Performance of Templates: time 0.0219/0.6182, allocations: 13.92 MB / 0.6556 GB, free: 6.285 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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) 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches