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.001502/0.001502, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002034/0.002035, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 71.89 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3388, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2012/0.54, allocations: 184.7 MB / 0.712 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.5423, allocations: 0.8977 MB / 0.7129 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.5427, allocations: 11.94 kB / 0.7129 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.5435, allocations: 206.7 kB / 0.7131 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008332/0.5444, allocations: 282.3 kB / 0.7134 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006362/0.5508, allocations: 1.928 MB / 0.7152 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.5522, allocations: 0.975 MB / 0.7162 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.5529, allocations: 321.1 kB / 0.7165 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.5569, allocations: 1.573 MB / 0.718 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006805/0.5576, allocations: 314.8 kB / 0.7183 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.5577, allocations: 51.94 kB / 0.7184 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3298/0.8875, allocations: 2.777 MB / 0.7211 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.8879, allocations: 196.3 kB / 0.7213 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004758/0.8884, allocations: 275.2 kB / 0.7216 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004901/0.8933, allocations: 2.047 MB / 0.7236 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.8933, allocations: 0.8125 kB / 0.7236 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8934, allocations: 0.5 kB / 0.7236 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.8934, allocations: 1.531 kB / 0.7236 GB, free: 5.004 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.002028/0.8954, allocations: 1.051 MB / 0.7246 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.8955, allocations: 11.78 kB / 0.7246 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.8957, allocations: 56 kB / 0.7246 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.8963, allocations: 381.7 kB / 0.725 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.8963, allocations: 33.3 kB / 0.725 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.8964, allocations: 37.38 kB / 0.7251 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/0.8974, allocations: 0.5179 MB / 0.7256 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.8974, allocations: 0 / 0.7256 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.8975, allocations: 19.22 kB / 0.7256 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.8975, allocations: 11.78 kB / 0.7256 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008877/0.8984, allocations: 496.2 kB / 0.7261 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.901, allocations: 1.975 MB / 0.728 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.9018, allocations: 453 kB / 0.7284 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.9021, allocations: 182.2 kB / 0.7286 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008555/0.903, allocations: 0.945 MB / 0.7295 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.903, allocations: 42.25 kB / 0.7296 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.903, allocations: 0 / 0.7296 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001154/0.9042, allocations: 0.4905 MB / 0.7301 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.9043, allocations: 113.9 kB / 0.7302 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.9047, allocations: 404.8 kB / 0.7306 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.9048, allocations: 36.61 kB / 0.7306 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.9049, allocations: 209.2 kB / 0.7308 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.905, allocations: 108 kB / 0.7309 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.9051, allocations: 79.66 kB / 0.731 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9053, allocations: 359.4 kB / 0.7313 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.9055, allocations: 147 kB / 0.7315 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.9058, allocations: 254.1 kB / 0.7317 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.9065, allocations: 483.7 kB / 0.7322 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9065, allocations: 0 / 0.7322 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008603/0.9073, allocations: 0.5472 MB / 0.7327 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/0.9074, allocations: 63.59 kB / 0.7327 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9074, allocations: 4.312 kB / 0.7328 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.9074, allocations: 7.688 kB / 0.7328 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.9078, allocations: 83.34 kB / 0.7328 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.9079, allocations: 7.031 kB / 0.7328 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.9082, allocations: 53.06 kB / 0.7329 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.9083, allocations: 19.77 kB / 0.7329 GB, free: 16.21 MB / 0.5762 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.0002149/0.9085, allocations: 189.2 kB / 0.7331 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.9086, allocations: 44.36 kB / 0.7331 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009015/0.9095, allocations: 490.1 kB / 0.7336 GB, free: 16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9096, allocations: 4.531 kB / 0.7336 GB, free: 16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9096, allocations: 1.969 kB / 0.7336 GB, free: 16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.9097, allocations: 121.1 kB / 0.7337 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.9097, allocations: 11.12 kB / 0.7337 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.9101, allocations: 28.39 kB / 0.7338 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.9102, allocations: 21.17 kB / 0.7338 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007463/0.9109, allocations: 0.5806 MB / 0.7344 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006839/0.9116, allocations: 0.6695 MB / 0.735 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002284/0.9119, allocations: 156.2 kB / 0.7352 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003306/0.9122, allocations: 355 kB / 0.7355 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of Backend: time 7.72e-07/0.9122, allocations: 0.875 kB / 0.7355 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003083/0.9153, allocations: 1.066 MB / 0.7365 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001691/0.917, allocations: 1.314 MB / 0.7378 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of Templates: time 0.02609/0.9431, allocations: 19.31 MB / 0.7567 GB, free: 12.23 MB / 0.5762 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches