Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 108.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.1 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3746, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2049/0.5794, allocations: 181.3 MB / 0.6966 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.5818, allocations: 0.8891 MB / 0.6975 GB, free: 5.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.5821, allocations: 11.94 kB / 0.6975 GB, free: 5.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007477/0.5828, allocations: 210.7 kB / 0.6977 GB, free: 5.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.5835, allocations: 278.3 kB / 0.698 GB, free: 4.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005873/0.5893, allocations: 1.905 MB / 0.6998 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.5905, allocations: 0.9788 MB / 0.7008 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.591, allocations: 335.8 kB / 0.7011 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.5943, allocations: 1.53 MB / 0.7026 GB, free: 112 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.5948, allocations: 322.9 kB / 0.7029 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.352e-05/0.5949, allocations: 44 kB / 0.7029 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005078/0.6, allocations: 2.734 MB / 0.7056 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.6003, allocations: 195.5 kB / 0.7058 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.6006, allocations: 266.9 kB / 0.7061 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.6042, allocations: 2.023 MB / 0.708 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6042, allocations: 7.984 kB / 0.708 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6042, allocations: 0 / 0.708 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.6042, allocations: 3.938 kB / 0.708 GB, free: 10.52 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.001873/0.6061, allocations: 1.032 MB / 0.7091 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6062, allocations: 12.03 kB / 0.7091 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.6064, allocations: 63.42 kB / 0.7091 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.607, allocations: 377.9 kB / 0.7095 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.607, allocations: 36.94 kB / 0.7095 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.6071, allocations: 32 kB / 0.7096 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008188/0.6079, allocations: 0.5198 MB / 0.7101 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6079, allocations: 0 / 0.7101 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.608, allocations: 16 kB / 0.7101 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.608, allocations: 12 kB / 0.7101 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.6088, allocations: 0.4915 MB / 0.7106 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.6114, allocations: 1.97 MB / 0.7125 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.6121, allocations: 456.6 kB / 0.7129 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.6124, allocations: 186.5 kB / 0.7131 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007623/0.6132, allocations: 0.9494 MB / 0.714 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.6132, allocations: 38.56 kB / 0.7141 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.6132, allocations: 0 / 0.7141 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001061/0.6143, allocations: 0.4969 MB / 0.7146 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.6144, allocations: 106.8 kB / 0.7147 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.6148, allocations: 405.5 kB / 0.715 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.6148, allocations: 29.7 kB / 0.7151 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.615, allocations: 220.1 kB / 0.7153 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.6151, allocations: 98.55 kB / 0.7154 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.6152, allocations: 74.06 kB / 0.7154 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6153, allocations: 358.7 kB / 0.7158 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.6156, allocations: 152.6 kB / 0.7159 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.616, allocations: 262 kB / 0.7162 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.6167, allocations: 487.6 kB / 0.7166 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6167, allocations: 0 / 0.7166 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009553/0.6177, allocations: 0.5392 MB / 0.7172 GB, free: 448 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.6177, allocations: 63.78 kB / 0.7172 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6178, allocations: 8 kB / 0.7172 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.6178, allocations: 11.98 kB / 0.7173 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.6182, allocations: 79.88 kB / 0.7173 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.6182, allocations: 11.94 kB / 0.7173 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.6186, allocations: 55.42 kB / 0.7174 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.6186, allocations: 23.94 kB / 0.7174 GB, free: 180 kB / 0.5606 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.2956/0.9143, allocations: 183.1 kB / 0.7176 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.9145, allocations: 39.16 kB / 0.7176 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.9159, allocations: 484.3 kB / 0.7181 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.9159, allocations: 4 kB / 0.7181 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.9159, allocations: 1.844 kB / 0.7181 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.9159, allocations: 4.5 kB / 0.7181 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.919, allocations: 2.44 MB / 0.7205 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.9191, allocations: 3 kB / 0.7205 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.9194, allocations: 65.97 kB / 0.7205 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.9194, allocations: 4.172 kB / 0.7206 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.9194, allocations: 9.188 kB / 0.7206 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.9194, allocations: 11.52 kB / 0.7206 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.9194, allocations: 2.125 kB / 0.7206 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.9202, allocations: 0.6438 MB / 0.7212 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.9203, allocations: 120.2 kB / 0.7213 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.9204, allocations: 15.83 kB / 0.7213 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.9208, allocations: 25.56 kB / 0.7214 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.9209, allocations: 26.94 kB / 0.7214 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.921, allocations: 21.73 kB / 0.7214 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000434/0.9214, allocations: 362.7 kB / 0.7217 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9214, allocations: 0 / 0.7217 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001196/0.9226, allocations: 341.9 kB / 0.7221 GB, free: 187.5 MB / 0.5606 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.001148/0.9238, allocations: 493.1 kB / 0.7225 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008444/0.9246, allocations: 480.5 kB / 0.723 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.9246, allocations: 1.438 kB / 0.723 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.925, allocations: 167.4 kB / 0.7232 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.9264, allocations: 271.9 kB / 0.7234 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.9276, allocations: 0.8286 MB / 0.7242 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.928, allocations: 0.8357 MB / 0.725 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.9281, allocations: 50.56 kB / 0.7251 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.9281, allocations: 3.938 kB / 0.7251 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01683/0.9449, allocations: 11.4 MB / 0.7362 GB, free: 180.4 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches