Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002476/0.002476, allocations: 214.7 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.737/1.737, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003876/0.003876, allocations: 79.86 kB / 0.4966 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3787, allocations: 66.09 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2227/0.6014, allocations: 160.4 MB / 0.7178 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.6035, allocations: 0.8814 MB / 0.7187 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.6038, allocations: 11.88 kB / 0.7187 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.6046, allocations: 202.7 kB / 0.7189 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000828/0.6054, allocations: 298.3 kB / 0.7192 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00559/0.611, allocations: 1.956 MB / 0.7211 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.6125, allocations: 0.9867 MB / 0.722 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.6131, allocations: 289.2 kB / 0.7223 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.617, allocations: 1.585 MB / 0.7238 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.6177, allocations: 326.7 kB / 0.7242 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.6178, allocations: 48 kB / 0.7242 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004684/0.6225, allocations: 2.285 MB / 0.7264 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.6229, allocations: 207.4 kB / 0.7266 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.6233, allocations: 227.2 kB / 0.7269 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.6274, allocations: 1.979 MB / 0.7288 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6274, allocations: 0 / 0.7288 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6274, allocations: 0 / 0.7288 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.6275, allocations: 0 / 0.7288 GB, free: 7.719 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.002357/0.6298, allocations: 1.001 MB / 0.7298 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6299, allocations: 8.031 kB / 0.7298 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.6302, allocations: 63.66 kB / 0.7298 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/0.631, allocations: 315.9 kB / 0.7301 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.631, allocations: 29 kB / 0.7302 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.6311, allocations: 43.92 kB / 0.7302 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.6323, allocations: 0.7708 MB / 0.731 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6323, allocations: 0 / 0.731 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.6324, allocations: 16 kB / 0.731 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.6324, allocations: 8 kB / 0.731 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.6334, allocations: 495.6 kB / 0.7314 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.6364, allocations: 1.485 MB / 0.7329 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/0.6372, allocations: 355.6 kB / 0.7332 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.6376, allocations: 174.4 kB / 0.7334 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004896/0.6381, allocations: 131.9 kB / 0.7335 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.6381, allocations: 38.56 kB / 0.7336 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.6381, allocations: 0 / 0.7336 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001232/0.6394, allocations: 0.4925 MB / 0.734 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.6394, allocations: 114.8 kB / 0.7342 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.6398, allocations: 296.6 kB / 0.7344 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.6399, allocations: 29.7 kB / 0.7345 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.6401, allocations: 228.4 kB / 0.7347 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.6402, allocations: 115 kB / 0.7348 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.6404, allocations: 78.06 kB / 0.7349 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.6406, allocations: 338.8 kB / 0.7352 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.641, allocations: 208 kB / 0.7354 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.6415, allocations: 313.6 kB / 0.7357 GB, free: 244 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2673/0.9087, allocations: 473.1 kB / 0.7361 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.9087, allocations: 1.156 kB / 0.7361 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001204/0.91, allocations: 0.5955 MB / 0.7367 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.91, allocations: 65.25 kB / 0.7368 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.91, allocations: 3.75 kB / 0.7368 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.91, allocations: 5.594 kB / 0.7368 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.9105, allocations: 86.64 kB / 0.7369 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.9105, allocations: 6.359 kB / 0.7369 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.9108, allocations: 41.81 kB / 0.7369 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.9108, allocations: 22.5 kB / 0.7369 GB, free: 174.4 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.0002283/0.9111, allocations: 186.7 kB / 0.7371 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.9112, allocations: 38.75 kB / 0.7372 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.9123, allocations: 490.4 kB / 0.7376 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.9123, allocations: 4.156 kB / 0.7376 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9123, allocations: 1 kB / 0.7376 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.9123, allocations: 6.469 kB / 0.7376 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.9145, allocations: 1.213 MB / 0.7388 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9145, allocations: 2.219 kB / 0.7388 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.9148, allocations: 64.53 kB / 0.7389 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.9148, allocations: 3.281 kB / 0.7389 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.9148, allocations: 9.375 kB / 0.7389 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.9148, allocations: 5.359 kB / 0.7389 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9148, allocations: 3.688 kB / 0.7389 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.9155, allocations: 0.6277 MB / 0.7395 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.9155, allocations: 41.34 kB / 0.7396 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.9156, allocations: 15.53 kB / 0.7396 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.916, allocations: 21.41 kB / 0.7396 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.916, allocations: 22.58 kB / 0.7396 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.9161, allocations: 22.66 kB / 0.7396 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002329/0.9163, allocations: 280.9 kB / 0.7399 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9163, allocations: 0 / 0.7399 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009297/0.9172, allocations: 371.2 kB / 0.7403 GB, free: 172.7 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.0009252/0.9182, allocations: 0.4999 MB / 0.7408 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006861/0.9189, allocations: 0.5007 MB / 0.7412 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9189, allocations: 0 / 0.7412 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.9191, allocations: 155.3 kB / 0.7414 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.9202, allocations: 215.6 kB / 0.7416 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009742/0.9212, allocations: 0.7802 MB / 0.7424 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.9214, allocations: 239.7 kB / 0.7426 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.9217, allocations: 100 kB / 0.7427 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.475e-05/0.9218, allocations: 47.03 kB / 0.7427 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.9218, allocations: 0 / 0.7427 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01767/0.9395, allocations: 14.05 MB / 0.7564 GB, free: 157.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.471973400563002]