Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 117.6 kB / 17.08 MB, free: 5.953 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.0016/0.0016, allocations: 198.5 kB / 18.01 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2192/0.2192, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 65.47 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1709, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5509/0.7219, allocations: 186.3 MB / 0.6704 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.7243, allocations: 0.9008 MB / 0.6713 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.7248, allocations: 11.94 kB / 0.6713 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009748/0.7258, allocations: 210.7 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.727, allocations: 274.3 kB / 0.6718 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008103/0.7351, allocations: 2.148 MB / 0.6739 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.7369, allocations: 0.9827 MB / 0.6749 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006885/0.7376, allocations: 338.7 kB / 0.6752 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004554/0.7422, allocations: 1.69 MB / 0.6768 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007985/0.743, allocations: 322.9 kB / 0.6771 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.7432, allocations: 47.94 kB / 0.6772 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005832/0.749, allocations: 2.933 MB / 0.68 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.7494, allocations: 199.5 kB / 0.6802 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.7499, allocations: 274.8 kB / 0.6805 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004975/0.7549, allocations: 2.112 MB / 0.6826 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7549, allocations: 0 / 0.6826 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7549, allocations: 0 / 0.6826 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.755, allocations: 4 kB / 0.6826 GB, free: 3.73 MB / 0.5137 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.002532/0.7575, allocations: 1.064 MB / 0.6836 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7576, allocations: 12.03 kB / 0.6836 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/0.7579, allocations: 55.44 kB / 0.6837 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.7585, allocations: 382 kB / 0.684 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.7586, allocations: 29 kB / 0.6841 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.7587, allocations: 36 kB / 0.6841 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009705/0.7597, allocations: 0.5283 MB / 0.6846 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.7597, allocations: 0 / 0.6846 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.7597, allocations: 20 kB / 0.6846 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.7598, allocations: 8 kB / 0.6846 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/0.7607, allocations: 492.9 kB / 0.6851 GB, free: 1 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.7635, allocations: 1.965 MB / 0.687 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.7643, allocations: 466.3 kB / 0.6875 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.7646, allocations: 182.4 kB / 0.6876 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008729/0.7655, allocations: 0.9455 MB / 0.6886 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.7655, allocations: 42.56 kB / 0.6886 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/0.7655, allocations: 0 / 0.6886 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001173/0.7667, allocations: 497.8 kB / 0.6891 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.7668, allocations: 110.8 kB / 0.6892 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.7673, allocations: 413.4 kB / 0.6896 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.7673, allocations: 33.7 kB / 0.6896 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.7675, allocations: 216.1 kB / 0.6898 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.7676, allocations: 102.6 kB / 0.6899 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.7677, allocations: 77.97 kB / 0.69 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7679, allocations: 346.8 kB / 0.6903 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.7682, allocations: 156.6 kB / 0.6905 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.7686, allocations: 258 kB / 0.6907 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/0.7694, allocations: 488.1 kB / 0.6912 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.7694, allocations: 7.938 kB / 0.6912 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001021/0.7704, allocations: 0.5469 MB / 0.6917 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.7705, allocations: 59.41 kB / 0.6918 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.7705, allocations: 4 kB / 0.6918 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.7705, allocations: 7.938 kB / 0.6918 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.7709, allocations: 87.88 kB / 0.6919 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.771, allocations: 4.375 kB / 0.6919 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.7713, allocations: 51.58 kB / 0.6919 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.7714, allocations: 16 kB / 0.6919 GB, free: 9.383 MB / 0.5294 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.0002592/0.7717, allocations: 201.6 kB / 0.6921 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.7718, allocations: 43.44 kB / 0.6922 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.7729, allocations: 486.9 kB / 0.6926 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.7729, allocations: 4 kB / 0.6926 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7729, allocations: 0 / 0.6926 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.7729, allocations: 0 / 0.6926 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.776, allocations: 2.446 MB / 0.695 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.776, allocations: 4 kB / 0.695 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.7763, allocations: 63.91 kB / 0.6951 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.7763, allocations: 0 / 0.6951 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.7764, allocations: 23.86 kB / 0.6951 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7764, allocations: 0 / 0.6951 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7764, allocations: 7.938 kB / 0.6951 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.7772, allocations: 0.6279 MB / 0.6957 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.7773, allocations: 132.5 kB / 0.6959 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.7774, allocations: 11.94 kB / 0.6959 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/0.7779, allocations: 23.97 kB / 0.6959 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.778, allocations: 27.91 kB / 0.6959 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.778, allocations: 19.98 kB / 0.696 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000416/0.7785, allocations: 363.1 kB / 0.6963 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7785, allocations: 0 / 0.6963 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001352/0.7798, allocations: 383.6 kB / 0.6967 GB, free: 4.129 MB / 0.5294 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.001662/0.7815, allocations: 0.5814 MB / 0.6972 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008908/0.7824, allocations: 470.4 kB / 0.6977 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7824, allocations: 0.75 kB / 0.6977 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.7828, allocations: 175.9 kB / 0.6978 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.7843, allocations: 273.6 kB / 0.6981 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.7857, allocations: 0.8216 MB / 0.6989 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.7862, allocations: 0.8351 MB / 0.6997 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.7863, allocations: 51.42 kB / 0.6998 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.7863, allocations: 0 / 0.6998 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of Templates: time 0.02085/0.8072, allocations: 12.05 MB / 0.7115 GB, free: 4.793 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches