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.001652/0.001652, allocations: 111.8 kB / 19.13 MB, free: 3.922 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.00186/0.00186, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.609/1.609, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.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.2364/0.2364, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.002257/0.002257, allocations: 81.3 kB / 490.9 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1416, allocations: 62.45 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5523/0.6939, allocations: 184.7 MB / 0.7207 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.6961, allocations: 0.8977 MB / 0.7216 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.6964, allocations: 11.94 kB / 0.7216 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.6972, allocations: 206.6 kB / 0.7218 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.6979, allocations: 278.3 kB / 0.722 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005577/0.7034, allocations: 1.911 MB / 0.7239 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.7049, allocations: 0.9827 MB / 0.7249 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005455/0.7055, allocations: 331.6 kB / 0.7252 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.7094, allocations: 1.565 MB / 0.7267 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.7101, allocations: 326.8 kB / 0.727 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.7102, allocations: 48 kB / 0.7271 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005551/0.7157, allocations: 2.779 MB / 0.7298 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.7161, allocations: 203.5 kB / 0.73 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.7166, allocations: 262.9 kB / 0.7302 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.7212, allocations: 2.061 MB / 0.7322 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7212, allocations: 7.938 kB / 0.7322 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7213, allocations: 4 kB / 0.7322 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.7213, allocations: 0 / 0.7322 GB, free: 11.13 MB / 0.5294 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.002175/0.7235, allocations: 1.075 MB / 0.7333 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.7235, allocations: 8.031 kB / 0.7333 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.7238, allocations: 67.66 kB / 0.7334 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.7244, allocations: 378.1 kB / 0.7337 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.7245, allocations: 29 kB / 0.7338 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.7245, allocations: 36 kB / 0.7338 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009636/0.7255, allocations: 0.5197 MB / 0.7343 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7255, allocations: 4 kB / 0.7343 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.7256, allocations: 16 kB / 0.7343 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.7256, allocations: 12 kB / 0.7343 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.7265, allocations: 495.6 kB / 0.7348 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.7294, allocations: 1.976 MB / 0.7367 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.7303, allocations: 464.9 kB / 0.7372 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.7306, allocations: 186.4 kB / 0.7374 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009556/0.7316, allocations: 0.9454 MB / 0.7383 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.7316, allocations: 39.25 kB / 0.7383 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.645e-06/0.7316, allocations: 4 kB / 0.7383 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001214/0.7329, allocations: 0.4885 MB / 0.7388 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.7329, allocations: 106.8 kB / 0.7389 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.7334, allocations: 405.5 kB / 0.7393 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.7335, allocations: 33.7 kB / 0.7393 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.7337, allocations: 228.5 kB / 0.7395 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/0.7338, allocations: 99.12 kB / 0.7396 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.7339, allocations: 78.02 kB / 0.7397 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.7341, allocations: 358.8 kB / 0.74 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.7345, allocations: 148.6 kB / 0.7402 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.7349, allocations: 258.7 kB / 0.7404 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/0.7357, allocations: 484 kB / 0.7409 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7357, allocations: 4 kB / 0.7409 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001068/0.7368, allocations: 0.55 MB / 0.7414 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.7369, allocations: 63.78 kB / 0.7415 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7369, allocations: 8 kB / 0.7415 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7369, allocations: 4 kB / 0.7415 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.7373, allocations: 87.81 kB / 0.7416 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7374, allocations: 7.938 kB / 0.7416 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.7377, allocations: 59.61 kB / 0.7417 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.7378, allocations: 20 kB / 0.7417 GB, free: 0.75 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.0002598/0.738, allocations: 177.7 kB / 0.7418 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.7382, allocations: 47.7 kB / 0.7419 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.7393, allocations: 496.1 kB / 0.7424 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7393, allocations: 4 kB / 0.7424 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.7393, allocations: 0 / 0.7424 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7393, allocations: 7.938 kB / 0.7424 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.7426, allocations: 2.436 MB / 0.7448 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.7426, allocations: 0 / 0.7448 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.7429, allocations: 63.91 kB / 0.7448 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.7429, allocations: 7.984 kB / 0.7448 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.7429, allocations: 8 kB / 0.7448 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.743, allocations: 8 kB / 0.7448 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.743, allocations: 4 kB / 0.7448 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.7439, allocations: 0.6442 MB / 0.7455 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.744, allocations: 124.8 kB / 0.7456 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.7441, allocations: 19.88 kB / 0.7456 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.7445, allocations: 19.97 kB / 0.7456 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.7446, allocations: 23.97 kB / 0.7457 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.7447, allocations: 23.98 kB / 0.7457 GB, free: 12.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000433/0.7451, allocations: 363 kB / 0.746 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7451, allocations: 4 kB / 0.746 GB, free: 11.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001121/0.7463, allocations: 359 kB / 0.7464 GB, free: 11.54 MB / 0.545 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.001286/0.7476, allocations: 0.49 MB / 0.7468 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009066/0.7485, allocations: 474.4 kB / 0.7473 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7485, allocations: 0 / 0.7473 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.7488, allocations: 171.9 kB / 0.7475 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.7503, allocations: 300.2 kB / 0.7477 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.7518, allocations: 0.828 MB / 0.7486 GB, free: 9.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.7523, allocations: 0.8429 MB / 0.7494 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.7524, allocations: 47.44 kB / 0.7494 GB, free: 8.309 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.7525, allocations: 0 / 0.7494 GB, free: 8.309 MB / 0.545 GB Notification: Performance of Templates: time 0.01858/0.771, allocations: 11.54 MB / 0.7607 GB, free: 12.83 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.220501257921569]