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.00155/0.00155, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001932/0.001932, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4533, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2318/0.6852, allocations: 184.7 MB / 0.7113 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.688, allocations: 0.8938 MB / 0.7122 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.6884, allocations: 11.94 kB / 0.7122 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009805/0.6894, allocations: 206.7 kB / 0.7124 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007141/0.6902, allocations: 294.3 kB / 0.7127 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006464/0.6967, allocations: 1.937 MB / 0.7146 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.6979, allocations: 0.9749 MB / 0.7156 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.6985, allocations: 325.1 kB / 0.7159 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003535/0.702, allocations: 1.577 MB / 0.7174 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.7025, allocations: 318.8 kB / 0.7177 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.7026, allocations: 44 kB / 0.7177 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3964/1.099, allocations: 2.778 MB / 0.7205 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005133/1.1, allocations: 195.1 kB / 0.7206 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005918/1.1, allocations: 269.8 kB / 0.7209 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006082/1.106, allocations: 2.05 MB / 0.7229 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/1.106, allocations: 4.031 kB / 0.7229 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.334e-06/1.106, allocations: 0 / 0.7229 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.106, allocations: 1.031 kB / 0.7229 GB, free: 5.078 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.002536/1.109, allocations: 1.053 MB / 0.7239 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.109, allocations: 10.03 kB / 0.7239 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/1.109, allocations: 59.12 kB / 0.724 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/1.11, allocations: 384.3 kB / 0.7244 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/1.11, allocations: 28.97 kB / 0.7244 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/1.11, allocations: 40.16 kB / 0.7244 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009406/1.111, allocations: 0.5121 MB / 0.7249 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/1.111, allocations: 1.719 kB / 0.7249 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/1.111, allocations: 15.47 kB / 0.725 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/1.111, allocations: 12.19 kB / 0.725 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/1.112, allocations: 0.489 MB / 0.7254 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/1.115, allocations: 1.97 MB / 0.7274 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/1.116, allocations: 462.8 kB / 0.7278 GB, free: 18.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/1.116, allocations: 182.2 kB / 0.728 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000936/1.117, allocations: 0.9463 MB / 0.7289 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/1.117, allocations: 44.97 kB / 0.7289 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.275e-06/1.117, allocations: 1.031 kB / 0.7289 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001252/1.119, allocations: 499.4 kB / 0.7294 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/1.119, allocations: 114.8 kB / 0.7295 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/1.119, allocations: 405.5 kB / 0.7299 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/1.119, allocations: 36.52 kB / 0.73 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/1.119, allocations: 214.9 kB / 0.7302 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/1.12, allocations: 103.8 kB / 0.7303 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.12, allocations: 80.48 kB / 0.7303 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.12, allocations: 352.8 kB / 0.7307 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/1.12, allocations: 151.9 kB / 0.7308 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/1.12, allocations: 252.9 kB / 0.7311 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/1.121, allocations: 480.5 kB / 0.7315 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.121, allocations: 1.891 kB / 0.7315 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008976/1.122, allocations: 0.543 MB / 0.732 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/1.122, allocations: 67.75 kB / 0.7321 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.122, allocations: 2.469 kB / 0.7321 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/1.122, allocations: 8.688 kB / 0.7321 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/1.122, allocations: 81.75 kB / 0.7322 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.122, allocations: 9.344 kB / 0.7322 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/1.123, allocations: 46.47 kB / 0.7323 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/1.123, allocations: 24.41 kB / 0.7323 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.0002234/1.123, allocations: 193.8 kB / 0.7325 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/1.123, allocations: 40.72 kB / 0.7325 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009621/1.124, allocations: 493.7 kB / 0.733 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.124, allocations: 4.719 kB / 0.733 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.124, allocations: 0 / 0.733 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.124, allocations: 5.797 kB / 0.733 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/1.127, allocations: 2.425 MB / 0.7354 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.127, allocations: 7.406 kB / 0.7354 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/1.127, allocations: 74.64 kB / 0.7354 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/1.127, allocations: 3.375 kB / 0.7354 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/1.127, allocations: 10.03 kB / 0.7354 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/1.127, allocations: 4.406 kB / 0.7354 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.127, allocations: 6.906 kB / 0.7355 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007246/1.128, allocations: 0.6313 MB / 0.7361 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.128, allocations: 133.2 kB / 0.7362 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/1.128, allocations: 9.969 kB / 0.7362 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/1.129, allocations: 21.2 kB / 0.7362 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/1.129, allocations: 30.25 kB / 0.7363 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/1.129, allocations: 20.42 kB / 0.7363 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003659/1.129, allocations: 360.6 kB / 0.7366 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.129, allocations: 2.688 kB / 0.7366 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001298/1.131, allocations: 357.2 kB / 0.737 GB, free: 13.55 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.001207/1.132, allocations: 0.5013 MB / 0.7375 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007966/1.133, allocations: 471.6 kB / 0.7379 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.133, allocations: 4.531 kB / 0.7379 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/1.133, allocations: 164.6 kB / 0.7381 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.134, allocations: 288.4 kB / 0.7383 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.136, allocations: 0.7788 MB / 0.7391 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/1.136, allocations: 0.8382 MB / 0.7399 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004159/1.136, allocations: 118.7 kB / 0.74 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/1.137, allocations: 45.78 kB / 0.7401 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/1.137, allocations: 4.344 kB / 0.7401 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.02676/1.163, allocations: 15.08 MB / 0.7548 GB, free: 11.05 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/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) Reference file matches