Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009318/0.0009318, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003846/0.003846, allocations: 160.7 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.9059/0.9059, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2637/0.2637, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.42e-05, allocations: 6.844 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3567/0.3567, allocations: 160.3 MB / 0.5896 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3584, allocations: 0.8781 MB / 0.5905 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.3586, allocations: 19.81 kB / 0.5905 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.3592, allocations: 194.7 kB / 0.5907 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.3597, allocations: 313.9 kB / 0.591 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.3639, allocations: 1.998 MB / 0.5929 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009573/0.3648, allocations: 0.986 MB / 0.5939 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.3652, allocations: 277.2 kB / 0.5941 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.3685, allocations: 1.724 MB / 0.5958 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.3689, allocations: 295.2 kB / 0.5961 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.369, allocations: 48 kB / 0.5962 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.3721, allocations: 2.308 MB / 0.5984 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3722, allocations: 203.5 kB / 0.5986 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3724, allocations: 207.6 kB / 0.5988 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.3744, allocations: 2.209 MB / 0.601 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3744, allocations: 0 / 0.601 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3744, allocations: 4 kB / 0.601 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3744, allocations: 0 / 0.601 GB, free: 4.273 MB / 0.4948 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.001144/0.3756, allocations: 1.003 MB / 0.6019 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3756, allocations: 8.031 kB / 0.6019 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.3758, allocations: 63.7 kB / 0.602 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.3762, allocations: 324.3 kB / 0.6023 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3762, allocations: 29 kB / 0.6023 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.3762, allocations: 36 kB / 0.6024 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.3771, allocations: 0.7786 MB / 0.6031 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3771, allocations: 3.938 kB / 0.6031 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.3771, allocations: 16 kB / 0.6032 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.3771, allocations: 12 kB / 0.6032 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.3776, allocations: 491.3 kB / 0.6036 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.3791, allocations: 1.475 MB / 0.6051 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.3795, allocations: 363.1 kB / 0.6054 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.3797, allocations: 170.5 kB / 0.6056 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.38, allocations: 131.8 kB / 0.6057 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.38, allocations: 38.56 kB / 0.6057 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.38, allocations: 0 / 0.6057 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.0006568/0.3806, allocations: 490.2 kB / 0.6062 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3807, allocations: 110.8 kB / 0.6063 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3809, allocations: 296.5 kB / 0.6066 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.3809, allocations: 37.7 kB / 0.6066 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.381, allocations: 232.3 kB / 0.6069 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.3811, allocations: 107.1 kB / 0.607 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.3812, allocations: 82.02 kB / 0.607 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.3813, allocations: 346.7 kB / 0.6074 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3815, allocations: 204 kB / 0.6076 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.3817, allocations: 313.6 kB / 0.6079 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.3822, allocations: 479 kB / 0.6083 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3822, allocations: 4 kB / 0.6083 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006178/0.3828, allocations: 0.6007 MB / 0.6089 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.3828, allocations: 63.39 kB / 0.609 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3828, allocations: 384 / 0.609 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3828, allocations: 12 kB / 0.609 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.383, allocations: 79.89 kB / 0.6091 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.383, allocations: 11.94 kB / 0.6091 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3832, allocations: 39.72 kB / 0.6091 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.3832, allocations: 23.69 kB / 0.6091 GB, free: 11.42 MB / 0.5105 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.0001452/0.3834, allocations: 182.8 kB / 0.6093 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.3834, allocations: 37.16 kB / 0.6093 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008018/0.3842, allocations: 489.3 kB / 0.6098 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3842, allocations: 4 kB / 0.6098 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3842, allocations: 0 / 0.6098 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3842, allocations: 4 kB / 0.6098 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3855, allocations: 1.208 MB / 0.611 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3856, allocations: 4 kB / 0.611 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3857, allocations: 55.91 kB / 0.6111 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3857, allocations: 4 kB / 0.6111 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3857, allocations: 8 kB / 0.6111 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3857, allocations: 7.984 kB / 0.6111 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.3857, allocations: 8.125 kB / 0.6111 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.3862, allocations: 0.6284 MB / 0.6117 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.3862, allocations: 47.62 kB / 0.6117 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3863, allocations: 8 kB / 0.6117 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3864, allocations: 21.48 kB / 0.6118 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.3865, allocations: 27.89 kB / 0.6118 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.3865, allocations: 23.98 kB / 0.6118 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001829/0.3867, allocations: 275 kB / 0.6121 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3867, allocations: 4 kB / 0.6121 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000686/0.3874, allocations: 366.9 kB / 0.6124 GB, free: 7.941 MB / 0.5105 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.000842/0.3882, allocations: 0.5182 MB / 0.6129 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.3888, allocations: 0.5102 MB / 0.6134 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3888, allocations: 0 / 0.6134 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.3889, allocations: 159.7 kB / 0.6136 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.3896, allocations: 215.5 kB / 0.6138 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.3905, allocations: 0.7933 MB / 0.6146 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3907, allocations: 236.1 kB / 0.6148 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.177e-05/0.3908, allocations: 48.48 kB / 0.6148 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/0.3908, allocations: 0 / 0.6148 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of Templates: time 0.00947/0.4002, allocations: 10.75 MB / 0.6253 GB, free: 10.71 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.964801964350045]