Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009131/0.000913, allocations: 173.2 kB / 17.4 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.7 MB / 243.9 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007189/0.000719, allocations: 92.59 kB / 295 MB, free: 9.727 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3536/0.3536, allocations: 44.32 MB / 390.5 MB, free: 38.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003319, allocations: 8 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3593, allocations: 61.9 MB / 0.5127 GB, free: 38.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5105/0.8699, allocations: 183.4 MB / 0.6918 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.8717, allocations: 1.442 MB / 0.6932 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.8719, allocations: 13.44 kB / 0.6932 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.8726, allocations: 175.1 kB / 0.6934 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.8731, allocations: 272.7 kB / 0.6937 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.8781, allocations: 1.646 MB / 0.6953 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.8793, allocations: 1.3 MB / 0.6965 GB, free: 12.24 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.8797, allocations: 274.5 kB / 0.6968 GB, free: 12.21 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.8833, allocations: 1.423 MB / 0.6982 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005292/0.8838, allocations: 322.5 kB / 0.6985 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.8839, allocations: 23.91 kB / 0.6985 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.8888, allocations: 2.771 MB / 0.7012 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.889, allocations: 171 kB / 0.7014 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.8893, allocations: 261.8 kB / 0.7016 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.8922, allocations: 2.037 MB / 0.7036 GB, free: 12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8923, allocations: 3.438 kB / 0.7036 GB, free: 12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.8923, allocations: 0 / 0.7036 GB, free: 12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.8923, allocations: 1.859 kB / 0.7036 GB, free: 12 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.001709/0.894, allocations: 0.95 MB / 0.7046 GB, free: 11.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.894, allocations: 11.12 kB / 0.7046 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.8943, allocations: 58.27 kB / 0.7046 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.8948, allocations: 371 kB / 0.705 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.8949, allocations: 28.41 kB / 0.705 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.8949, allocations: 38.88 kB / 0.7051 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.8958, allocations: 0.5213 MB / 0.7056 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8959, allocations: 0 / 0.7056 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.8959, allocations: 17.03 kB / 0.7056 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.8959, allocations: 8.688 kB / 0.7056 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.8968, allocations: 0.5028 MB / 0.7061 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.8992, allocations: 1.974 MB / 0.708 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.8998, allocations: 464.8 kB / 0.7084 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.9002, allocations: 188.3 kB / 0.7086 GB, free: 9.539 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/0.9008, allocations: 0.9479 MB / 0.7096 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9009, allocations: 42.41 kB / 0.7096 GB, free: 8.465 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 1.764e-06/0.9009, allocations: 0.625 kB / 0.7096 GB, free: 8.465 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.001141/0.902, allocations: 0.5055 MB / 0.7101 GB, free: 8.402 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.9021, allocations: 113.7 kB / 0.7102 GB, free: 8.273 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.9026, allocations: 403.2 kB / 0.7106 GB, free: 8.156 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.9026, allocations: 32.58 kB / 0.7106 GB, free: 8.125 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.9027, allocations: 221.4 kB / 0.7108 GB, free: 7.996 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.9028, allocations: 101.2 kB / 0.7109 GB, free: 7.934 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.9029, allocations: 9.375 kB / 0.7109 GB, free: 7.934 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.903, allocations: 350 kB / 0.7113 GB, free: 7.621 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.9033, allocations: 153.2 kB / 0.7114 GB, free: 7.621 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.9037, allocations: 261.9 kB / 0.7117 GB, free: 7.496 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007488/0.9045, allocations: 0.49 MB / 0.7121 GB, free: 7.301 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9045, allocations: 1.5 kB / 0.7121 GB, free: 7.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009958/0.9055, allocations: 0.5643 MB / 0.7127 GB, free: 7.172 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.9056, allocations: 62.58 kB / 0.7127 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.9056, allocations: 2.625 kB / 0.7128 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.9056, allocations: 6.156 kB / 0.7128 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.906, allocations: 86.39 kB / 0.7128 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.9061, allocations: 11.89 kB / 0.7128 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.9064, allocations: 66.42 kB / 0.7129 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.9065, allocations: 20.89 kB / 0.7129 GB, free: 7.074 MB / 490.7 MB 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.0001981/0.9067, allocations: 185.7 kB / 0.7131 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.9068, allocations: 42.81 kB / 0.7132 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.9079, allocations: 494.5 kB / 0.7136 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.9079, allocations: 8.578 kB / 0.7136 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9079, allocations: 1.062 kB / 0.7136 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.9079, allocations: 3.484 kB / 0.7136 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.9105, allocations: 2.449 MB / 0.716 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9105, allocations: 2.562 kB / 0.716 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.9108, allocations: 63.55 kB / 0.7161 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.9109, allocations: 6.719 kB / 0.7161 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.9109, allocations: 12.34 kB / 0.7161 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.9109, allocations: 3.656 kB / 0.7161 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9109, allocations: 2.438 kB / 0.7161 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.9116, allocations: 0.6515 MB / 0.7167 GB, free: 4.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.9117, allocations: 141.5 kB / 0.7169 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.9118, allocations: 8.219 kB / 0.7169 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.9122, allocations: 35.14 kB / 0.7169 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.9123, allocations: 30.94 kB / 0.717 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.9124, allocations: 23.16 kB / 0.717 GB, free: 4.449 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003895/0.9128, allocations: 356.8 kB / 0.7173 GB, free: 4.363 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9128, allocations: 0 / 0.7173 GB, free: 4.363 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001191/0.914, allocations: 343.1 kB / 0.7176 GB, free: 4.309 MB / 490.7 MB 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.001133/0.9151, allocations: 0.4992 MB / 0.7181 GB, free: 4.133 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007945/0.9159, allocations: 476.3 kB / 0.7186 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9159, allocations: 4.125 kB / 0.7186 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.9163, allocations: 168 kB / 0.7188 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.9178, allocations: 274.1 kB / 0.719 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.919, allocations: 0.9614 MB / 0.72 GB, free: 3.441 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.9195, allocations: 0.8387 MB / 0.7208 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004532/0.9199, allocations: 118.1 kB / 0.7209 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.9201, allocations: 43.91 kB / 0.7209 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of SimCode: time 3.21e-07/0.9201, allocations: 0 / 0.7209 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.0217/0.9418, allocations: 14.4 MB / 0.735 GB, free: 13.21 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches