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.001348/0.001348, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001475/0.001475, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 8.242 MB / 206.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.2141/0.2141, allocations: 44.92 MB / 359.6 MB, free: 6.34 MB / 286.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.002063/0.002063, allocations: 67.89 kB / 0.4943 GB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3151, allocations: 65.47 MB / 0.5582 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5383/0.8534, allocations: 185.6 MB / 0.7395 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.8553, allocations: 0.8982 MB / 0.7403 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.8556, allocations: 12.72 kB / 0.7403 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.8562, allocations: 213.9 kB / 0.7405 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.8568, allocations: 297.9 kB / 0.7408 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.8614, allocations: 1.971 MB / 0.7428 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.8624, allocations: 0.9927 MB / 0.7437 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.8629, allocations: 279.2 kB / 0.744 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.8662, allocations: 1.598 MB / 0.7456 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.8668, allocations: 341.2 kB / 0.7459 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.8669, allocations: 49.03 kB / 0.7459 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.8715, allocations: 2.897 MB / 0.7488 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.8717, allocations: 202.6 kB / 0.7489 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.8721, allocations: 272.5 kB / 0.7492 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.8756, allocations: 2.054 MB / 0.7512 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8756, allocations: 4.359 kB / 0.7512 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8756, allocations: 0 / 0.7512 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.8756, allocations: 1.094 kB / 0.7512 GB, free: 1.574 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.002203/0.8779, allocations: 1.008 MB / 0.7522 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.8779, allocations: 11.72 kB / 0.7522 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/0.8782, allocations: 59.27 kB / 0.7523 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.8787, allocations: 319 kB / 0.7526 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.8788, allocations: 29.44 kB / 0.7526 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.8788, allocations: 41.38 kB / 0.7526 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.8796, allocations: 0.5121 MB / 0.7531 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.8796, allocations: 0.9062 kB / 0.7531 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.8797, allocations: 19.88 kB / 0.7532 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.8797, allocations: 8.469 kB / 0.7532 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.8804, allocations: 0.4899 MB / 0.7536 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.883, allocations: 1.943 MB / 0.7555 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.8836, allocations: 359.9 kB / 0.7559 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.8839, allocations: 172.6 kB / 0.7561 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004016/0.8843, allocations: 135.6 kB / 0.7562 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.8843, allocations: 39.56 kB / 0.7562 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.8843, allocations: 1.219 kB / 0.7562 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.00102/0.8853, allocations: 0.5018 MB / 0.7567 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.8854, allocations: 106.3 kB / 0.7568 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.8858, allocations: 404 kB / 0.7572 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.8858, allocations: 34.92 kB / 0.7572 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.886, allocations: 214.1 kB / 0.7574 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.886, allocations: 111.5 kB / 0.7575 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.8861, allocations: 79.5 kB / 0.7576 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.8863, allocations: 354.2 kB / 0.758 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.8866, allocations: 149.7 kB / 0.7581 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.8869, allocations: 257.9 kB / 0.7583 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.8875, allocations: 486.2 kB / 0.7588 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8875, allocations: 3.094 kB / 0.7588 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008987/0.8884, allocations: 0.5449 MB / 0.7593 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.8885, allocations: 60.94 kB / 0.7594 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.8885, allocations: 6.828 kB / 0.7594 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.8885, allocations: 5.094 kB / 0.7594 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.8889, allocations: 91.09 kB / 0.7595 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.8889, allocations: 8.891 kB / 0.7595 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.8892, allocations: 55.95 kB / 0.7596 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.8893, allocations: 25.75 kB / 0.7596 GB, free: 13.96 MB / 0.5762 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.0002173/0.8895, allocations: 182.8 kB / 0.7598 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.8896, allocations: 42.69 kB / 0.7598 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008949/0.8905, allocations: 0.4888 MB / 0.7603 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8905, allocations: 5.531 kB / 0.7603 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.8905, allocations: 0.8438 kB / 0.7603 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.8905, allocations: 9.547 kB / 0.7603 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.8928, allocations: 1.356 MB / 0.7616 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8928, allocations: 2.094 kB / 0.7616 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.8931, allocations: 67.17 kB / 0.7617 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8931, allocations: 2.75 kB / 0.7617 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.8931, allocations: 6.906 kB / 0.7617 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8931, allocations: 5.25 kB / 0.7617 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8931, allocations: 6.5 kB / 0.7617 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.8939, allocations: 0.6423 MB / 0.7623 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-05/0.894, allocations: 51.2 kB / 0.7624 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.8941, allocations: 12.53 kB / 0.7624 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.8945, allocations: 20.55 kB / 0.7624 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.8946, allocations: 28.89 kB / 0.7624 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.8946, allocations: 23.31 kB / 0.7625 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003596/0.895, allocations: 368.7 kB / 0.7628 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.895, allocations: 1.031 kB / 0.7628 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001055/0.896, allocations: 353 kB / 0.7632 GB, free: 12.67 MB / 0.5762 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.001111/0.8971, allocations: 0.4899 MB / 0.7636 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007334/0.8979, allocations: 459.1 kB / 0.7641 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8979, allocations: 3.375 kB / 0.7641 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.8981, allocations: 156.6 kB / 0.7642 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.8995, allocations: 286.1 kB / 0.7645 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.9008, allocations: 0.8454 MB / 0.7653 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.9013, allocations: 0.8402 MB / 0.7661 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.9015, allocations: 50.8 kB / 0.7662 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.9015, allocations: 2.438 kB / 0.7662 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of Templates: time 0.01658/0.918, allocations: 11.56 MB / 0.7775 GB, free: 9.969 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 -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: 10.604689663043246]