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.001809/0.001809, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002222/0.002222, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.591/1.591, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2307/0.2307, allocations: 46.95 MB / 360.9 MB, free: 4.055 MB / 286.1 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 0.002076/0.002076, allocations: 67.91 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2958, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2028/0.4985, allocations: 160.4 MB / 0.7177 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.5005, allocations: 0.8737 MB / 0.7186 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.5007, allocations: 11.88 kB / 0.7186 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.5013, allocations: 214.6 kB / 0.7188 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005767/0.5019, allocations: 294.3 kB / 0.7191 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.5069, allocations: 1.949 MB / 0.721 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.508, allocations: 0.9867 MB / 0.7219 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.5085, allocations: 281.3 kB / 0.7222 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.5118, allocations: 1.589 MB / 0.7238 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.5123, allocations: 322.8 kB / 0.7241 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.5124, allocations: 44 kB / 0.7241 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.5165, allocations: 2.293 MB / 0.7263 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.5167, allocations: 207.4 kB / 0.7265 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.517, allocations: 227.2 kB / 0.7268 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.5199, allocations: 1.975 MB / 0.7287 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5199, allocations: 0 / 0.7287 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5199, allocations: 0 / 0.7287 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.5199, allocations: 3.938 kB / 0.7287 GB, free: 7.926 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.0019/0.5218, allocations: 1.005 MB / 0.7297 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5218, allocations: 8.031 kB / 0.7297 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.5221, allocations: 59.67 kB / 0.7297 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.5227, allocations: 323.9 kB / 0.73 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.5227, allocations: 32.94 kB / 0.7301 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.5228, allocations: 36 kB / 0.7301 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.5239, allocations: 0.7669 MB / 0.7309 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.5239, allocations: 7.875 kB / 0.7309 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.524, allocations: 16 kB / 0.7309 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.524, allocations: 8 kB / 0.7309 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.5249, allocations: 491.6 kB / 0.7314 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.5274, allocations: 1.481 MB / 0.7328 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.5281, allocations: 367.7 kB / 0.7332 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.5285, allocations: 170.5 kB / 0.7333 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/0.5289, allocations: 131.9 kB / 0.7334 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.529, allocations: 42.55 kB / 0.7335 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.529, allocations: 0 / 0.7335 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001141/0.5301, allocations: 0.493 MB / 0.734 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.5302, allocations: 110.8 kB / 0.7341 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.5305, allocations: 288.6 kB / 0.7343 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.5305, allocations: 33.7 kB / 0.7344 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.5307, allocations: 228.2 kB / 0.7346 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.5308, allocations: 115.1 kB / 0.7347 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.5309, allocations: 78.06 kB / 0.7348 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5311, allocations: 338.8 kB / 0.7351 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.5315, allocations: 208 kB / 0.7353 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.5319, allocations: 317.6 kB / 0.7356 GB, free: 452 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2278/0.7597, allocations: 471.1 kB / 0.7361 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.7597, allocations: 1.094 kB / 0.7361 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001283/0.761, allocations: 0.5922 MB / 0.7366 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.761, allocations: 60.97 kB / 0.7367 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.761, allocations: 10.52 kB / 0.7367 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.761, allocations: 5.281 kB / 0.7367 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.7615, allocations: 87.86 kB / 0.7368 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.7615, allocations: 8.312 kB / 0.7368 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.7618, allocations: 42.28 kB / 0.7368 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.7618, allocations: 22.83 kB / 0.7369 GB, free: 174.7 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.0002344/0.7621, allocations: 192.9 kB / 0.737 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.7622, allocations: 35.64 kB / 0.7371 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.7633, allocations: 484.9 kB / 0.7375 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.7633, allocations: 8.484 kB / 0.7375 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7633, allocations: 0.7188 kB / 0.7375 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.7633, allocations: 6.422 kB / 0.7376 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.7656, allocations: 1.206 MB / 0.7387 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7656, allocations: 2.531 kB / 0.7387 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.7659, allocations: 60.44 kB / 0.7388 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.7659, allocations: 2.938 kB / 0.7388 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.7659, allocations: 10.77 kB / 0.7388 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.7659, allocations: 2.75 kB / 0.7388 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7659, allocations: 4.25 kB / 0.7388 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.7666, allocations: 0.632 MB / 0.7394 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.7666, allocations: 38.39 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.7667, allocations: 17.28 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.7671, allocations: 20.77 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.7672, allocations: 29.52 kB / 0.7395 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.7672, allocations: 25.08 kB / 0.7396 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002263/0.7675, allocations: 280.2 kB / 0.7398 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7675, allocations: 0 / 0.7398 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000923/0.7684, allocations: 366.5 kB / 0.7402 GB, free: 173.1 MB / 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.0009144/0.7693, allocations: 0.4982 MB / 0.7407 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006946/0.77, allocations: 0.5096 MB / 0.7412 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.77, allocations: 3.875 kB / 0.7412 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.7703, allocations: 156.8 kB / 0.7413 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.7714, allocations: 197 kB / 0.7415 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009953/0.7724, allocations: 0.7797 MB / 0.7423 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.7726, allocations: 246 kB / 0.7425 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003072/0.7729, allocations: 102 kB / 0.7426 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.773, allocations: 39.44 kB / 0.7426 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.773, allocations: 0 / 0.7426 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01705/0.79, allocations: 14.06 MB / 0.7564 GB, free: 158.4 MB / 0.5606 GB " [Timeout remaining time 659] 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.133482174947858]