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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 95.73 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.341/0.341, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3168, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4704/0.7873, allocations: 179.9 MB / 0.6821 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.7893, allocations: 0.9259 MB / 0.683 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.7897, allocations: 14.38 kB / 0.683 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.7905, allocations: 173.9 kB / 0.6832 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.7911, allocations: 273.1 kB / 0.6835 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004797/0.7959, allocations: 1.654 MB / 0.6851 GB, free: 1.844 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.7976, allocations: 1.305 MB / 0.6863 GB, free: 1.844 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.798, allocations: 273.5 kB / 0.6866 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.8013, allocations: 1.42 MB / 0.688 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.8019, allocations: 326 kB / 0.6883 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.541e-05/0.802, allocations: 21.84 kB / 0.6883 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004711/0.8067, allocations: 2.833 MB / 0.6911 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.807, allocations: 172.2 kB / 0.6913 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.8074, allocations: 248.9 kB / 0.6915 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003903/0.8113, allocations: 2.045 MB / 0.6935 GB, free: 1.641 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.8113, allocations: 0 / 0.6935 GB, free: 1.641 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.8113, allocations: 0 / 0.6935 GB, free: 1.641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.8114, allocations: 2.781 kB / 0.6935 GB, free: 1.641 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.002226/0.8136, allocations: 1.044 MB / 0.6945 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8136, allocations: 13.19 kB / 0.6945 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.8139, allocations: 59.52 kB / 0.6946 GB, free: 16.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.8145, allocations: 369.9 kB / 0.6949 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.8146, allocations: 31.81 kB / 0.695 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.8146, allocations: 38.06 kB / 0.695 GB, free: 16.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000827/0.8155, allocations: 0.5158 MB / 0.6955 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.8155, allocations: 0 / 0.6955 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.8156, allocations: 13.53 kB / 0.6955 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.8156, allocations: 9.875 kB / 0.6955 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008325/0.8164, allocations: 0.4971 MB / 0.696 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.8192, allocations: 1.981 MB / 0.6979 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.8199, allocations: 460.5 kB / 0.6984 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.8202, allocations: 184.6 kB / 0.6986 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008639/0.8211, allocations: 0.9468 MB / 0.6995 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.8211, allocations: 40.94 kB / 0.6995 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.527e-06/0.8211, allocations: 1.969 kB / 0.6995 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.001065/0.8222, allocations: 499.7 kB / 0.7 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.8223, allocations: 106.2 kB / 0.7001 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.8227, allocations: 406.7 kB / 0.7005 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.8228, allocations: 33.05 kB / 0.7005 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.8229, allocations: 219.4 kB / 0.7007 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.823, allocations: 102.7 kB / 0.7008 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.8231, allocations: 80.41 kB / 0.7009 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8233, allocations: 347.3 kB / 0.7012 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.8236, allocations: 152.1 kB / 0.7014 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.8241, allocations: 270.4 kB / 0.7016 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/0.8249, allocations: 488.7 kB / 0.7021 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.8249, allocations: 2.25 kB / 0.7021 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001231/0.8262, allocations: 0.5464 MB / 0.7026 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/0.8262, allocations: 66.19 kB / 0.7027 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8263, allocations: 4.922 kB / 0.7027 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/0.8263, allocations: 5.062 kB / 0.7027 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.8268, allocations: 83.78 kB / 0.7028 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.8268, allocations: 9.109 kB / 0.7028 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.8273, allocations: 62.06 kB / 0.7029 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/0.8274, allocations: 19.5 kB / 0.7029 GB, free: 12.71 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.0002697/0.8276, allocations: 181.2 kB / 0.7031 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.8278, allocations: 42.45 kB / 0.7031 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.829, allocations: 0.4885 MB / 0.7036 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.8291, allocations: 3.375 kB / 0.7036 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8291, allocations: 5.688 kB / 0.7036 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.8291, allocations: 2.438 kB / 0.7036 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/0.8325, allocations: 2.432 MB / 0.706 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8325, allocations: 2.875 kB / 0.706 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.8328, allocations: 62.62 kB / 0.706 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.8329, allocations: 4.312 kB / 0.706 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.8329, allocations: 7.875 kB / 0.706 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.8329, allocations: 15.83 kB / 0.706 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8329, allocations: 2.25 kB / 0.706 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.8344, allocations: 1.427 MB / 0.7074 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.8345, allocations: 122.3 kB / 0.7076 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.8346, allocations: 13.67 kB / 0.7076 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.835, allocations: 28.41 kB / 0.7076 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.8351, allocations: 29.56 kB / 0.7076 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.8352, allocations: 26.39 kB / 0.7077 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004408/0.8356, allocations: 360.6 kB / 0.708 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.02e-07/0.8357, allocations: 1.031 kB / 0.708 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001372/0.837, allocations: 348.5 kB / 0.7083 GB, free: 9.371 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.001221/0.8383, allocations: 496.2 kB / 0.7088 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000904/0.8392, allocations: 479.7 kB / 0.7093 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8392, allocations: 1.219 kB / 0.7093 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003308/0.8395, allocations: 163.8 kB / 0.7094 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.8411, allocations: 271.2 kB / 0.7097 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.8427, allocations: 1.146 MB / 0.7108 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.8432, allocations: 0.8546 MB / 0.7116 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000517/0.8438, allocations: 111.8 kB / 0.7117 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.8439, allocations: 46.36 kB / 0.7118 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/0.8439, allocations: 0.5938 kB / 0.7118 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.02673/0.8706, allocations: 14.68 MB / 0.7261 GB, free: 3.141 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@2/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