Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009541/0.0009541, allocations: 204.3 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007082/0.0007082, allocations: 103.6 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3071/0.3071, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002471/0.0002475, allocations: 8 kB / 470.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2803, allocations: 63.09 MB / 0.5214 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4916/0.7719, allocations: 183.9 MB / 0.701 GB, free: 7.027 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.774, allocations: 1.435 MB / 0.7024 GB, free: 6.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.7743, allocations: 10.75 kB / 0.7024 GB, free: 6.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.775, allocations: 173.5 kB / 0.7025 GB, free: 6.336 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.7755, allocations: 267.6 kB / 0.7028 GB, free: 6.324 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005194/0.7807, allocations: 1.649 MB / 0.7044 GB, free: 6.242 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.7823, allocations: 1.299 MB / 0.7057 GB, free: 6.242 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004777/0.7828, allocations: 272.1 kB / 0.7059 GB, free: 6.207 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.7867, allocations: 1.447 MB / 0.7073 GB, free: 6.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.7873, allocations: 320.6 kB / 0.7077 GB, free: 6.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-05/0.7874, allocations: 20.94 kB / 0.7077 GB, free: 6.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007509/0.7949, allocations: 2.805 MB / 0.7104 GB, free: 6.129 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.7953, allocations: 164.3 kB / 0.7106 GB, free: 6.129 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.7959, allocations: 269.6 kB / 0.7108 GB, free: 6.098 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005017/0.8009, allocations: 2.06 MB / 0.7128 GB, free: 5.992 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.801, allocations: 1.25 kB / 0.7128 GB, free: 5.992 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.801, allocations: 0 / 0.7128 GB, free: 5.992 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.801, allocations: 4 kB / 0.7128 GB, free: 5.988 MB / 490.7 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.002076/0.8031, allocations: 0.9542 MB / 0.7138 GB, free: 5.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.8031, allocations: 9.281 kB / 0.7138 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.8035, allocations: 61.67 kB / 0.7138 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.804, allocations: 362 kB / 0.7142 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.8041, allocations: 28.75 kB / 0.7142 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.8042, allocations: 38.67 kB / 0.7143 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.8052, allocations: 0.5244 MB / 0.7148 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.8053, allocations: 0.75 kB / 0.7148 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.655e-05/0.8054, allocations: 17.25 kB / 0.7148 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.8054, allocations: 13.47 kB / 0.7148 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.8065, allocations: 0.504 MB / 0.7153 GB, free: 4.914 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.8089, allocations: 1.967 MB / 0.7172 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.8097, allocations: 465.6 kB / 0.7177 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.8101, allocations: 193.7 kB / 0.7178 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000738/0.8108, allocations: 0.9437 MB / 0.7188 GB, free: 2.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.8108, allocations: 39.28 kB / 0.7188 GB, free: 2.461 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 2.335e-06/0.8109, allocations: 0 / 0.7188 GB, free: 2.461 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.001258/0.8121, allocations: 0.5069 MB / 0.7193 GB, free: 2.398 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/0.8124, allocations: 105.7 kB / 0.7194 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.8129, allocations: 400.7 kB / 0.7198 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.813, allocations: 39.27 kB / 0.7198 GB, free: 18.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.8131, allocations: 217.9 kB / 0.72 GB, free: 17.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.8132, allocations: 101.5 kB / 0.7201 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.8133, allocations: 7.531 kB / 0.7201 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.8134, allocations: 348.8 kB / 0.7205 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.8138, allocations: 152.8 kB / 0.7206 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.8142, allocations: 263.5 kB / 0.7209 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.815, allocations: 0.4942 MB / 0.7213 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.815, allocations: 1.688 kB / 0.7213 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00117/0.8162, allocations: 0.5584 MB / 0.7219 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/0.8163, allocations: 65.94 kB / 0.7219 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8163, allocations: 8.281 kB / 0.722 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.8163, allocations: 5 kB / 0.722 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.8168, allocations: 87.2 kB / 0.722 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.8168, allocations: 6.031 kB / 0.722 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.8172, allocations: 66.97 kB / 0.7221 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.8173, allocations: 17.38 kB / 0.7221 GB, free: 17.07 MB / 0.4948 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.0002574/0.8175, allocations: 187.9 kB / 0.7223 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.8177, allocations: 40.81 kB / 0.7223 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.8188, allocations: 498.9 kB / 0.7228 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.8188, allocations: 4.062 kB / 0.7228 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8188, allocations: 1.688 kB / 0.7228 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.8188, allocations: 4.141 kB / 0.7228 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.8218, allocations: 2.443 MB / 0.7252 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.8218, allocations: 6.438 kB / 0.7252 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.8221, allocations: 65.42 kB / 0.7253 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.8221, allocations: 3.312 kB / 0.7253 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.8221, allocations: 8.094 kB / 0.7253 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.8222, allocations: 5.875 kB / 0.7253 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8222, allocations: 2.844 kB / 0.7253 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.8229, allocations: 0.6602 MB / 0.7259 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.823, allocations: 147.1 kB / 0.7261 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/0.8231, allocations: 6.125 kB / 0.7261 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.8235, allocations: 29.36 kB / 0.7261 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.8236, allocations: 31.16 kB / 0.7262 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.8237, allocations: 21.48 kB / 0.7262 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003717/0.824, allocations: 357.1 kB / 0.7265 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.824, allocations: 0 / 0.7265 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001498/0.8255, allocations: 350 kB / 0.7268 GB, free: 14.31 MB / 0.4948 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.00118/0.8267, allocations: 0.5189 MB / 0.7274 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008472/0.8276, allocations: 475.2 kB / 0.7278 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8276, allocations: 3.25 kB / 0.7278 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.8279, allocations: 169.4 kB / 0.728 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.8294, allocations: 270.2 kB / 0.7282 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.8309, allocations: 0.9643 MB / 0.7292 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.8314, allocations: 0.8404 MB / 0.73 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004414/0.8319, allocations: 113.6 kB / 0.7301 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.832, allocations: 45.62 kB / 0.7301 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.832, allocations: 0 / 0.7301 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.0228/0.8548, allocations: 14.52 MB / 0.7443 GB, free: 6.758 MB / 0.4948 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches