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.0008979/0.0008979, allocations: 92.27 kB / 20.77 MB, free: 3.754 MB / 18.57 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.0007708/0.0007708, allocations: 160.9 kB / 24.06 MB, free: 472 kB / 18.57 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 0.9096/0.9096, allocations: 177 MB / 204.2 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2764/0.2764, allocations: 34.24 MB / 295 MB, free: 0.7031 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 442.4 MB, free: 1.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.386e-05, allocations: 4.391 kB / 442.4 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3137/0.3138, allocations: 160.3 MB / 0.5886 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.315, allocations: 0.8906 MB / 0.5894 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.3152, allocations: 11.88 kB / 0.5894 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.3157, allocations: 198.7 kB / 0.5896 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.316, allocations: 313.9 kB / 0.5899 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.3191, allocations: 1.988 MB / 0.5919 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006234/0.3197, allocations: 0.9938 MB / 0.5928 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.32, allocations: 272.1 kB / 0.5931 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.3221, allocations: 1.729 MB / 0.5948 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.3224, allocations: 299.2 kB / 0.5951 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.3224, allocations: 48 kB / 0.5951 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.3245, allocations: 2.3 MB / 0.5974 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3246, allocations: 207.5 kB / 0.5976 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.3247, allocations: 199.6 kB / 0.5978 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.3264, allocations: 2.217 MB / 0.5999 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3264, allocations: 4 kB / 0.5999 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3264, allocations: 0 / 0.5999 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3264, allocations: 0 / 0.5999 GB, free: 4.426 MB / 0.4948 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.001161/0.3276, allocations: 1.002 MB / 0.6009 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3276, allocations: 8.031 kB / 0.6009 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.3277, allocations: 74.53 kB / 0.601 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.3279, allocations: 63.64 kB / 0.601 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.3283, allocations: 319.9 kB / 0.6013 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3283, allocations: 29 kB / 0.6014 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.3283, allocations: 40 kB / 0.6014 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.329, allocations: 0.7668 MB / 0.6022 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.329, allocations: 5.969 kB / 0.6022 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.329, allocations: 20 kB / 0.6022 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.329, allocations: 8 kB / 0.6022 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.3296, allocations: 0.4943 MB / 0.6027 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.331, allocations: 1.542 MB / 0.6042 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.3315, allocations: 377.5 kB / 0.6045 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.3317, allocations: 170.4 kB / 0.6047 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.3319, allocations: 135.8 kB / 0.6048 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3319, allocations: 38.56 kB / 0.6049 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.3319, allocations: 0 / 0.6049 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.0006763/0.3326, allocations: 498.2 kB / 0.6053 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.3327, allocations: 114.8 kB / 0.6055 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.333, allocations: 405.5 kB / 0.6058 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.333, allocations: 33.7 kB / 0.6059 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3331, allocations: 216.5 kB / 0.6061 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.3331, allocations: 119.1 kB / 0.6062 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.3332, allocations: 78.02 kB / 0.6063 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.3333, allocations: 355.8 kB / 0.6066 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3335, allocations: 200.1 kB / 0.6068 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.3338, allocations: 313.7 kB / 0.6071 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.3342, allocations: 483.3 kB / 0.6076 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3342, allocations: 3.938 kB / 0.6076 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008433/0.335, allocations: 0.6082 MB / 0.6082 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.3351, allocations: 65.91 kB / 0.6082 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3351, allocations: 4 kB / 0.6082 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3351, allocations: 4 kB / 0.6082 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.3353, allocations: 84.25 kB / 0.6083 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3353, allocations: 8 kB / 0.6083 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.3355, allocations: 59.55 kB / 0.6084 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.3355, allocations: 20 kB / 0.6084 GB, free: 11.27 MB / 0.5105 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.0001403/0.3357, allocations: 183 kB / 0.6086 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.3357, allocations: 47.66 kB / 0.6086 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.3363, allocations: 0.4914 MB / 0.6091 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3363, allocations: 4 kB / 0.6091 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3363, allocations: 0 / 0.6091 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3363, allocations: 0 / 0.6091 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3377, allocations: 1.257 MB / 0.6103 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3377, allocations: 0 / 0.6103 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3378, allocations: 63.91 kB / 0.6104 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3378, allocations: 4 kB / 0.6104 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3378, allocations: 8 kB / 0.6104 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3378, allocations: 4 kB / 0.6104 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3378, allocations: 9.797 kB / 0.6104 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.3383, allocations: 0.6369 MB / 0.611 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.3384, allocations: 51.64 kB / 0.6111 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.3384, allocations: 15.94 kB / 0.6111 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3386, allocations: 19.92 kB / 0.6111 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.3386, allocations: 31.89 kB / 0.6111 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.3387, allocations: 23.98 kB / 0.6112 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000253/0.3389, allocations: 363.1 kB / 0.6115 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3389, allocations: 0 / 0.6115 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006362/0.3396, allocations: 355 kB / 0.6119 GB, free: 7.605 MB / 0.5105 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.001375/0.3409, allocations: 1.597 MB / 0.6134 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.3415, allocations: 0.4945 MB / 0.6139 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3415, allocations: 3.938 kB / 0.6139 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3417, allocations: 167.7 kB / 0.6141 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.3425, allocations: 275.8 kB / 0.6143 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.3465, allocations: 4.811 MB / 0.619 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.3467, allocations: 240.1 kB / 0.6192 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002512/0.3469, allocations: 114.1 kB / 0.6194 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3471, allocations: 148.4 kB / 0.6195 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.3471, allocations: 0 / 0.6195 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/0.5309, allocations: 21.54 MB / 0.6405 GB, free: 164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.568, allocations: 0 / 0.6405 GB, free: 164 MB / 0.5261 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/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] "Error: Could not read variable traceSubstance.C in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.734355960041285]