Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.007893/0.007893, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.002055/0.002055, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.432/1.432, allocations: 230.5 MB / 258.9 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2252/0.2252, allocations: 46.93 MB / 362.3 MB, free: 4.199 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 79.88 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3096, allocations: 66.08 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5473/0.8569, allocations: 185.6 MB / 0.7439 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.8586, allocations: 0.9036 MB / 0.7448 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.8588, allocations: 14.25 kB / 0.7448 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.8595, allocations: 211.9 kB / 0.745 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005421/0.8601, allocations: 293.7 kB / 0.7453 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.8644, allocations: 1.967 MB / 0.7472 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.8655, allocations: 0.9959 MB / 0.7482 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.8659, allocations: 279 kB / 0.7485 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.869, allocations: 1.6 MB / 0.75 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.8695, allocations: 344.2 kB / 0.7504 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.8696, allocations: 47.66 kB / 0.7504 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.8743, allocations: 2.898 MB / 0.7532 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.8745, allocations: 201.4 kB / 0.7534 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.875, allocations: 271.1 kB / 0.7537 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003432/0.8784, allocations: 2.055 MB / 0.7557 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.8784, allocations: 7.125 kB / 0.7557 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8784, allocations: 1.203 kB / 0.7557 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.8784, allocations: 0.9688 kB / 0.7557 GB, free: 1.527 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.00198/0.8804, allocations: 1.009 MB / 0.7567 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.8804, allocations: 10.81 kB / 0.7567 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.8807, allocations: 57.86 kB / 0.7568 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.8812, allocations: 324 kB / 0.7571 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.8812, allocations: 27.56 kB / 0.7571 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.8813, allocations: 39.58 kB / 0.7571 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007689/0.8821, allocations: 0.5139 MB / 0.7576 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.8821, allocations: 3.188 kB / 0.7576 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.8821, allocations: 18.5 kB / 0.7576 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.8821, allocations: 9.594 kB / 0.7577 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.8829, allocations: 494.7 kB / 0.7581 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.8855, allocations: 1.946 MB / 0.76 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.886, allocations: 365.9 kB / 0.7604 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.8863, allocations: 167.2 kB / 0.7605 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.8867, allocations: 133.5 kB / 0.7607 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.8867, allocations: 40.72 kB / 0.7607 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.8867, allocations: 4.75 kB / 0.7607 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009916/0.8877, allocations: 0.4958 MB / 0.7612 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.8878, allocations: 111.1 kB / 0.7613 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.8882, allocations: 404 kB / 0.7617 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.8882, allocations: 31.48 kB / 0.7617 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.8883, allocations: 219.3 kB / 0.7619 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.8884, allocations: 108.3 kB / 0.762 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.8885, allocations: 75.86 kB / 0.7621 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.8887, allocations: 354.4 kB / 0.7624 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.8889, allocations: 154 kB / 0.7626 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.8892, allocations: 254.9 kB / 0.7628 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.8899, allocations: 488.5 kB / 0.7633 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8899, allocations: 0 / 0.7633 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008585/0.8907, allocations: 0.5475 MB / 0.7638 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.8908, allocations: 59.34 kB / 0.7639 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8908, allocations: 3.094 kB / 0.7639 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.8908, allocations: 5.844 kB / 0.7639 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.8912, allocations: 87.81 kB / 0.764 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.8912, allocations: 7.562 kB / 0.764 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.8915, allocations: 61.56 kB / 0.764 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.8915, allocations: 20 kB / 0.7641 GB, free: 13.92 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.0002046/0.8917, allocations: 187.1 kB / 0.7642 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.8919, allocations: 44.42 kB / 0.7643 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/0.8928, allocations: 491.5 kB / 0.7648 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.8928, allocations: 4.75 kB / 0.7648 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8928, allocations: 0.7812 kB / 0.7648 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.8928, allocations: 7.156 kB / 0.7648 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.895, allocations: 1.364 MB / 0.7661 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.895, allocations: 3.031 kB / 0.7661 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.8953, allocations: 60.41 kB / 0.7662 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.8953, allocations: 6.281 kB / 0.7662 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.8953, allocations: 10.39 kB / 0.7662 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.8953, allocations: 5.781 kB / 0.7662 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8953, allocations: 5.594 kB / 0.7662 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/0.8961, allocations: 0.6413 MB / 0.7668 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.8962, allocations: 51.22 kB / 0.7669 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.8963, allocations: 11.66 kB / 0.7669 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.8967, allocations: 22.94 kB / 0.7669 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.8967, allocations: 27.77 kB / 0.7669 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.8968, allocations: 21.14 kB / 0.7669 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003431/0.8971, allocations: 366.8 kB / 0.7673 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8971, allocations: 1 kB / 0.7673 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001002/0.8981, allocations: 357.8 kB / 0.7676 GB, free: 12.6 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.0009987/0.8991, allocations: 0.504 MB / 0.7681 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007171/0.8998, allocations: 456.3 kB / 0.7686 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8998, allocations: 1.031 kB / 0.7686 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.9001, allocations: 158.7 kB / 0.7687 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.9013, allocations: 272.3 kB / 0.769 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.9025, allocations: 0.8387 MB / 0.7698 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.903, allocations: 0.8331 MB / 0.7706 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.9031, allocations: 49.94 kB / 0.7706 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.9031, allocations: 0 / 0.7706 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.01452/0.9176, allocations: 11.57 MB / 0.782 GB, free: 9.758 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.493201392004266]