Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009261/0.0009262, allocations: 174 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.6 MB / 222.4 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007118/0.0007119, allocations: 90.8 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3132/0.3132, allocations: 43.67 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003038, allocations: 8 kB / 432.3 MB, free: 5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 58.85 MB / 491.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3508/0.4583, allocations: 188.8 MB / 0.6641 GB, free: 5.602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.4603, allocations: 1.448 MB / 0.6655 GB, free: 4.023 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.4606, allocations: 11.88 kB / 0.6655 GB, free: 4.012 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.4611, allocations: 175.1 kB / 0.6657 GB, free: 3.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.4617, allocations: 274.4 kB / 0.6659 GB, free: 3.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004626/0.4664, allocations: 1.84 MB / 0.6677 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.4676, allocations: 1.299 MB / 0.669 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.4681, allocations: 268.1 kB / 0.6692 GB, free: 172 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2303/0.6984, allocations: 1.571 MB / 0.6708 GB, free: 22.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006721/0.6991, allocations: 320.8 kB / 0.6711 GB, free: 22.32 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.6992, allocations: 20.91 kB / 0.6711 GB, free: 22.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005505/0.7047, allocations: 2.917 MB / 0.674 GB, free: 22.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.705, allocations: 170.4 kB / 0.6741 GB, free: 22.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.7053, allocations: 269.1 kB / 0.6744 GB, free: 22.29 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003526/0.7089, allocations: 2.139 MB / 0.6765 GB, free: 22.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7089, allocations: 4 kB / 0.6765 GB, free: 22.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7089, allocations: 0 / 0.6765 GB, free: 22.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.7089, allocations: 0 / 0.6765 GB, free: 22.25 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.001795/0.7107, allocations: 0.9712 MB / 0.6774 GB, free: 21.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.7108, allocations: 13.25 kB / 0.6774 GB, free: 21.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.711, allocations: 58.33 kB / 0.6775 GB, free: 21.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.7115, allocations: 364.5 kB / 0.6778 GB, free: 21.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.7115, allocations: 29.58 kB / 0.6779 GB, free: 21.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.7116, allocations: 38 kB / 0.6779 GB, free: 21.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/0.7125, allocations: 0.5194 MB / 0.6784 GB, free: 21.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7125, allocations: 0.9375 kB / 0.6784 GB, free: 21.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.7125, allocations: 15.5 kB / 0.6784 GB, free: 21.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.7125, allocations: 9.125 kB / 0.6784 GB, free: 21.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008321/0.7134, allocations: 0.4984 MB / 0.6789 GB, free: 21.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.7158, allocations: 1.994 MB / 0.6809 GB, free: 20.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.7165, allocations: 464 kB / 0.6813 GB, free: 19.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.7168, allocations: 189.4 kB / 0.6815 GB, free: 19.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/0.7174, allocations: 0.9449 MB / 0.6824 GB, free: 18.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.7175, allocations: 48.33 kB / 0.6825 GB, free: 18.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 5.38e-06/0.7175, allocations: 4 kB / 0.6825 GB, free: 18.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.0009914/0.7185, allocations: 0.4958 MB / 0.6829 GB, free: 18.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.7185, allocations: 110.5 kB / 0.683 GB, free: 18.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.7189, allocations: 398.5 kB / 0.6834 GB, free: 18.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.7189, allocations: 34.67 kB / 0.6835 GB, free: 18.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.7191, allocations: 219.6 kB / 0.6837 GB, free: 18.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.7191, allocations: 98.98 kB / 0.6838 GB, free: 18.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.7192, allocations: 8.781 kB / 0.6838 GB, free: 18.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.7192, allocations: 352 kB / 0.6841 GB, free: 17.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.7195, allocations: 159.3 kB / 0.6843 GB, free: 17.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.7199, allocations: 267.2 kB / 0.6845 GB, free: 17.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.7205, allocations: 493.1 kB / 0.685 GB, free: 17.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7205, allocations: 3.938 kB / 0.685 GB, free: 17.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009127/0.7215, allocations: 0.567 MB / 0.6855 GB, free: 17.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.7215, allocations: 58.75 kB / 0.6856 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7215, allocations: 6.484 kB / 0.6856 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.7216, allocations: 7.562 kB / 0.6856 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.722, allocations: 88.67 kB / 0.6857 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.722, allocations: 9.438 kB / 0.6857 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.7224, allocations: 55.52 kB / 0.6858 GB, free: 17.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.7225, allocations: 25.47 kB / 0.6858 GB, free: 17.37 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.0002297/0.7227, allocations: 181 kB / 0.686 GB, free: 17.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.7228, allocations: 45.53 kB / 0.686 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009917/0.7238, allocations: 499.6 kB / 0.6865 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7238, allocations: 2.562 kB / 0.6865 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7238, allocations: 1.531 kB / 0.6865 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.7238, allocations: 2.625 kB / 0.6865 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.7265, allocations: 2.444 MB / 0.6889 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7265, allocations: 2.5 kB / 0.6889 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.7268, allocations: 69.3 kB / 0.6889 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.7268, allocations: 2.312 kB / 0.6889 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.7269, allocations: 15.64 kB / 0.689 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.7269, allocations: 11.14 kB / 0.689 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7269, allocations: 2.906 kB / 0.689 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006406/0.7275, allocations: 0.6435 MB / 0.6896 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.7277, allocations: 146.7 kB / 0.6897 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.7277, allocations: 11.62 kB / 0.6897 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.7282, allocations: 32.97 kB / 0.6898 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.7282, allocations: 23.02 kB / 0.6898 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.7283, allocations: 21.75 kB / 0.6898 GB, free: 14.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003614/0.7287, allocations: 357.3 kB / 0.6902 GB, free: 14.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.944e-06/0.7287, allocations: 0 / 0.6902 GB, free: 14.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001269/0.7299, allocations: 383.9 kB / 0.6905 GB, free: 14.61 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.001248/0.7312, allocations: 0.5911 MB / 0.6911 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007513/0.732, allocations: 472 kB / 0.6916 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.732, allocations: 6.719 kB / 0.6916 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.7323, allocations: 167.3 kB / 0.6917 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7337, allocations: 276.7 kB / 0.692 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.7349, allocations: 0.9602 MB / 0.6929 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.7354, allocations: 0.8373 MB / 0.6937 GB, free: 29.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004591/0.7358, allocations: 114.7 kB / 0.6939 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.7359, allocations: 46.36 kB / 0.6939 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/0.7359, allocations: 0 / 0.6939 GB, free: 29.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.02424/0.7602, allocations: 15.48 MB / 0.709 GB, free: 25.12 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches