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.001333/0.001333, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001514/0.001514, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 8 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.2182/0.2182, allocations: 46.93 MB / 360.9 MB, free: 4.273 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 75.88 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3069, allocations: 66.03 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5011/0.808, allocations: 185.6 MB / 0.7419 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.8095, allocations: 0.8906 MB / 0.7427 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.8097, allocations: 15.22 kB / 0.7427 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.8103, allocations: 217.3 kB / 0.7429 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.8108, allocations: 290.2 kB / 0.7432 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/0.8148, allocations: 1.965 MB / 0.7451 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009221/0.8158, allocations: 0.9927 MB / 0.7461 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.8161, allocations: 282.2 kB / 0.7464 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.8188, allocations: 1.604 MB / 0.7479 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.8192, allocations: 341 kB / 0.7483 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.8193, allocations: 46.81 kB / 0.7483 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/0.8233, allocations: 2.896 MB / 0.7511 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.8235, allocations: 204.8 kB / 0.7513 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.8239, allocations: 266.2 kB / 0.7516 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.8267, allocations: 2.066 MB / 0.7536 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8267, allocations: 1.062 kB / 0.7536 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8267, allocations: 0 / 0.7536 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.8267, allocations: 1.203 kB / 0.7536 GB, free: 1.551 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.001727/0.8284, allocations: 1.006 MB / 0.7546 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8285, allocations: 11.86 kB / 0.7546 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.948e-05/0.8285, allocations: 79.34 kB / 0.7547 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.8288, allocations: 58.89 kB / 0.7547 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.8293, allocations: 318.2 kB / 0.755 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.8293, allocations: 27.7 kB / 0.7551 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.8294, allocations: 39.06 kB / 0.7551 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.8301, allocations: 0.5176 MB / 0.7556 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.8301, allocations: 4.297 kB / 0.7556 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.8302, allocations: 17.69 kB / 0.7556 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.8302, allocations: 6.938 kB / 0.7556 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.8309, allocations: 0.4923 MB / 0.7561 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.8334, allocations: 1.945 MB / 0.758 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.834, allocations: 360.3 kB / 0.7584 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.8342, allocations: 173.8 kB / 0.7585 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/0.8346, allocations: 128.7 kB / 0.7587 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.8347, allocations: 46.25 kB / 0.7587 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.8347, allocations: 1.125 kB / 0.7587 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009362/0.8356, allocations: 0.4909 MB / 0.7592 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.8357, allocations: 107.3 kB / 0.7593 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.836, allocations: 406.5 kB / 0.7597 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.8361, allocations: 37.27 kB / 0.7597 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.8362, allocations: 213.3 kB / 0.7599 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.8362, allocations: 110.5 kB / 0.76 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.8363, allocations: 75.97 kB / 0.7601 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8365, allocations: 352.5 kB / 0.7604 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.8368, allocations: 150.2 kB / 0.7606 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.8371, allocations: 264.1 kB / 0.7608 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.8377, allocations: 483.9 kB / 0.7613 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8377, allocations: 4.594 kB / 0.7613 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008432/0.8385, allocations: 0.5462 MB / 0.7618 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.8386, allocations: 63.53 kB / 0.7619 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.8386, allocations: 5.812 kB / 0.7619 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8386, allocations: 6.188 kB / 0.7619 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.839, allocations: 86.56 kB / 0.762 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.839, allocations: 11.83 kB / 0.762 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.8393, allocations: 53.73 kB / 0.762 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.8393, allocations: 23.23 kB / 0.7621 GB, free: 13.9 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.0002074/0.8396, allocations: 182.5 kB / 0.7622 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.8397, allocations: 41.73 kB / 0.7623 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008606/0.8406, allocations: 493.6 kB / 0.7627 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.8406, allocations: 11.12 kB / 0.7627 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8406, allocations: 0 / 0.7627 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8406, allocations: 3.094 kB / 0.7628 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.8428, allocations: 1.369 MB / 0.7641 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8428, allocations: 3.094 kB / 0.7641 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.8431, allocations: 57.89 kB / 0.7641 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.8431, allocations: 2.75 kB / 0.7642 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.8431, allocations: 11.92 kB / 0.7642 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8431, allocations: 10.73 kB / 0.7642 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8431, allocations: 1 kB / 0.7642 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.8439, allocations: 0.6425 MB / 0.7648 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.844, allocations: 54.39 kB / 0.7649 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.844, allocations: 6.812 kB / 0.7649 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.8444, allocations: 27.31 kB / 0.7649 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.8445, allocations: 32.34 kB / 0.7649 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.8446, allocations: 18.95 kB / 0.7649 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003692/0.8449, allocations: 366.3 kB / 0.7653 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8449, allocations: 0 / 0.7653 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001017/0.8459, allocations: 357.7 kB / 0.7656 GB, free: 12.59 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.002167/0.8481, allocations: 1.576 MB / 0.7672 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007312/0.8488, allocations: 455.2 kB / 0.7676 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8488, allocations: 4.531 kB / 0.7676 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.8491, allocations: 152.5 kB / 0.7677 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.8505, allocations: 284.4 kB / 0.768 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/0.8565, allocations: 4.608 MB / 0.7725 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.857, allocations: 0.8385 MB / 0.7733 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004462/0.8575, allocations: 114.7 kB / 0.7734 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.8577, allocations: 146.5 kB / 0.7736 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of SimCode: time 8.61e-07/0.8577, allocations: 0.8125 kB / 0.7736 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05373/0.9114, allocations: 20.13 MB / 0.7932 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.97, allocations: 2.969 kB / 0.7932 GB, free: 2.703 MB / 0.5762 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 15.921499480027705]