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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 69.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 162.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 32.8 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.89 kB / 440.6 MB, free: 9.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2963, allocations: 65.44 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.1907/0.487, allocations: 160.4 MB / 0.6508 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.4889, allocations: 0.8776 MB / 0.6516 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.4891, allocations: 15.88 kB / 0.6517 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.4898, allocations: 202.7 kB / 0.6519 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.4904, allocations: 294.3 kB / 0.6521 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005079/0.4955, allocations: 1.966 MB / 0.6541 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.4967, allocations: 0.9907 MB / 0.655 GB, free: 3.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.4972, allocations: 277.3 kB / 0.6553 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.5007, allocations: 1.597 MB / 0.6568 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005369/0.5012, allocations: 322.8 kB / 0.6572 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.5013, allocations: 48 kB / 0.6572 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.5059, allocations: 2.292 MB / 0.6594 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.5062, allocations: 203.5 kB / 0.6596 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.5065, allocations: 235.2 kB / 0.6599 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.5105, allocations: 1.979 MB / 0.6618 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.5105, allocations: 0 / 0.6618 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5105, allocations: 0 / 0.6618 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.5105, allocations: 0 / 0.6618 GB, free: 12.79 MB / 0.5606 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.002028/0.5125, allocations: 1.001 MB / 0.6628 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5126, allocations: 8.031 kB / 0.6628 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.5128, allocations: 63.66 kB / 0.6628 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.5134, allocations: 312 kB / 0.6631 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.5135, allocations: 32.94 kB / 0.6632 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.088e-05/0.5136, allocations: 36 kB / 0.6632 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5147, allocations: 0.7708 MB / 0.6639 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5147, allocations: 0 / 0.6639 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.5148, allocations: 19.98 kB / 0.664 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.5148, allocations: 12 kB / 0.664 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.5158, allocations: 492.2 kB / 0.6644 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.5185, allocations: 1.477 MB / 0.6659 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/0.5192, allocations: 359.6 kB / 0.6662 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.5196, allocations: 178.5 kB / 0.6664 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004825/0.5201, allocations: 131.8 kB / 0.6665 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.5201, allocations: 42.5 kB / 0.6666 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.5201, allocations: 0 / 0.6666 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001155/0.5213, allocations: 498.8 kB / 0.667 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.5214, allocations: 114.8 kB / 0.6672 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.5217, allocations: 292.6 kB / 0.6674 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.5217, allocations: 33.7 kB / 0.6675 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5219, allocations: 228.2 kB / 0.6677 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.522, allocations: 119.1 kB / 0.6678 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.5222, allocations: 74.06 kB / 0.6679 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.5223, allocations: 338.8 kB / 0.6682 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.5227, allocations: 212 kB / 0.6684 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.5232, allocations: 309.7 kB / 0.6687 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.524, allocations: 487.3 kB / 0.6692 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.524, allocations: 0 / 0.6692 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001126/0.5251, allocations: 0.5977 MB / 0.6697 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/0.5252, allocations: 59.41 kB / 0.6698 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5252, allocations: 4 kB / 0.6698 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.5252, allocations: 4 kB / 0.6698 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.5256, allocations: 91.81 kB / 0.6699 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.5257, allocations: 4 kB / 0.6699 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.5259, allocations: 43.72 kB / 0.6699 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.526, allocations: 16 kB / 0.6699 GB, free: 3.934 MB / 0.5606 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.0002399/0.5262, allocations: 194.2 kB / 0.6701 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.5264, allocations: 39.84 kB / 0.6702 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.5274, allocations: 480.1 kB / 0.6706 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.5274, allocations: 4 kB / 0.6706 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.5274, allocations: 4 kB / 0.6706 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5274, allocations: 4 kB / 0.6706 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.53, allocations: 1.208 MB / 0.6718 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.53, allocations: 4 kB / 0.6718 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.5303, allocations: 63.91 kB / 0.6719 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5303, allocations: 4.188 kB / 0.6719 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.5303, allocations: 15.94 kB / 0.6719 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.5303, allocations: 4 kB / 0.6719 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5303, allocations: 0 / 0.6719 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.5312, allocations: 0.629 MB / 0.6725 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.5312, allocations: 39.7 kB / 0.6726 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.5313, allocations: 23.86 kB / 0.6726 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.5317, allocations: 16.08 kB / 0.6726 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.5318, allocations: 39.88 kB / 0.6726 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.5318, allocations: 19.98 kB / 0.6727 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003231/0.5322, allocations: 279 kB / 0.6729 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5322, allocations: 0 / 0.6729 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001115/0.5333, allocations: 362.9 kB / 0.6733 GB, free: 440 kB / 0.5606 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.001118/0.5344, allocations: 0.4911 MB / 0.6737 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000991/0.5354, allocations: 0.5017 MB / 0.6742 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5354, allocations: 0 / 0.6742 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.5357, allocations: 160.2 kB / 0.6744 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5369, allocations: 207 kB / 0.6746 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.5383, allocations: 0.7923 MB / 0.6754 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.5386, allocations: 240.1 kB / 0.6756 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003479/0.5389, allocations: 93.62 kB / 0.6757 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.539, allocations: 44.48 kB / 0.6757 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.539, allocations: 0 / 0.6757 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of Templates: time 0.02404/0.5631, allocations: 13.44 MB / 0.6888 GB, free: 0.5703 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.87570027296897]