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.00139/0.00139, allocations: 106 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 217.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 83.86 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3912, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2137/0.605, allocations: 184.7 MB / 0.712 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.6072, allocations: 0.8938 MB / 0.7129 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.6077, allocations: 7.938 kB / 0.7129 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008928/0.6086, allocations: 218.6 kB / 0.7131 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000898/0.6096, allocations: 290.4 kB / 0.7134 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.6152, allocations: 1.932 MB / 0.7153 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.6165, allocations: 0.9749 MB / 0.7162 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.617, allocations: 333.1 kB / 0.7165 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.6204, allocations: 1.569 MB / 0.7181 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.6209, allocations: 322.8 kB / 0.7184 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.6209, allocations: 48 kB / 0.7184 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3912/1.012, allocations: 2.776 MB / 0.7211 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004398/1.013, allocations: 202.2 kB / 0.7213 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005293/1.013, allocations: 265.6 kB / 0.7216 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005411/1.019, allocations: 2.045 MB / 0.7236 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.019, allocations: 1.031 kB / 0.7236 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.597e-06/1.019, allocations: 0 / 0.7236 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.15e-05/1.019, allocations: 4 kB / 0.7236 GB, free: 5.082 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.002348/1.021, allocations: 1.054 MB / 0.7246 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.021, allocations: 10.81 kB / 0.7246 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/1.021, allocations: 59.33 kB / 0.7247 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/1.022, allocations: 384.1 kB / 0.725 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/1.022, allocations: 30.03 kB / 0.7251 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/1.022, allocations: 36.81 kB / 0.7251 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/1.023, allocations: 0.5125 MB / 0.7256 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/1.023, allocations: 1.031 kB / 0.7256 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/1.023, allocations: 23.27 kB / 0.7256 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/1.023, allocations: 15.03 kB / 0.7256 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009943/1.024, allocations: 492.8 kB / 0.7261 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/1.027, allocations: 1.968 MB / 0.728 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/1.028, allocations: 453.2 kB / 0.7285 GB, free: 18.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/1.028, allocations: 177.4 kB / 0.7286 GB, free: 18.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008527/1.029, allocations: 0.9546 MB / 0.7296 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/1.029, allocations: 41.52 kB / 0.7296 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.594e-06/1.029, allocations: 0 / 0.7296 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001184/1.03, allocations: 0.4925 MB / 0.7301 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/1.03, allocations: 113.8 kB / 0.7302 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/1.031, allocations: 405.1 kB / 0.7306 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/1.031, allocations: 36.8 kB / 0.7306 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/1.031, allocations: 216.1 kB / 0.7308 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/1.031, allocations: 99.64 kB / 0.7309 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/1.031, allocations: 87.19 kB / 0.731 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.031, allocations: 353 kB / 0.7313 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/1.032, allocations: 147.8 kB / 0.7315 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/1.032, allocations: 255.9 kB / 0.7317 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/1.032, allocations: 482 kB / 0.7322 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.033, allocations: 4.156 kB / 0.7322 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000888/1.033, allocations: 0.5448 MB / 0.7327 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/1.033, allocations: 66.59 kB / 0.7328 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.033, allocations: 3.156 kB / 0.7328 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.034, allocations: 4.125 kB / 0.7328 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/1.034, allocations: 85.56 kB / 0.7329 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.034, allocations: 5.844 kB / 0.7329 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/1.034, allocations: 51.48 kB / 0.7329 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/1.034, allocations: 24.91 kB / 0.7329 GB, free: 16.29 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.0002059/1.035, allocations: 187.9 kB / 0.7331 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.035, allocations: 46.23 kB / 0.7332 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009124/1.036, allocations: 485.7 kB / 0.7336 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.036, allocations: 5.656 kB / 0.7336 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.036, allocations: 0 / 0.7336 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.036, allocations: 7.125 kB / 0.7336 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/1.038, allocations: 2.433 MB / 0.736 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.038, allocations: 0.8438 kB / 0.736 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/1.039, allocations: 63.66 kB / 0.7361 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.039, allocations: 4.312 kB / 0.7361 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/1.039, allocations: 12.14 kB / 0.7361 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.039, allocations: 1.781 kB / 0.7361 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.039, allocations: 14.45 kB / 0.7361 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007298/1.039, allocations: 0.6313 MB / 0.7367 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.04, allocations: 131.5 kB / 0.7369 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/1.04, allocations: 10.88 kB / 0.7369 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/1.04, allocations: 26.78 kB / 0.7369 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/1.04, allocations: 24.88 kB / 0.7369 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/1.04, allocations: 20.7 kB / 0.7369 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003552/1.041, allocations: 362.1 kB / 0.7373 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0.8438 kB / 0.7373 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001255/1.042, allocations: 360.2 kB / 0.7376 GB, free: 13.56 MB / 0.5762 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.001158/1.043, allocations: 0.5053 MB / 0.7381 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007658/1.044, allocations: 473.7 kB / 0.7386 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.044, allocations: 3.188 kB / 0.7386 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/1.044, allocations: 164.3 kB / 0.7387 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.045, allocations: 288 kB / 0.739 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/1.047, allocations: 0.8156 MB / 0.7398 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/1.047, allocations: 0.8367 MB / 0.7406 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.047, allocations: 51.12 kB / 0.7407 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/1.047, allocations: 0 / 0.7407 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.01735/1.065, allocations: 11.54 MB / 0.7519 GB, free: 11.01 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