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.0008565/0.0008565, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007949/0.0007949, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9248/0.9248, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2636/0.2636, allocations: 34.24 MB / 294.9 MB, free: 0.6953 MB / 266.7 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 2.715e-06/2.715e-06, allocations: 4 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.448e-05, allocations: 6.219 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3304/0.3304, allocations: 160.3 MB / 0.5884 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3324, allocations: 0.8868 MB / 0.5892 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.3327, allocations: 11.88 kB / 0.5892 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.3334, allocations: 194.7 kB / 0.5894 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000716/0.3341, allocations: 309.9 kB / 0.5897 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006801/0.3409, allocations: 1.999 MB / 0.5917 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.3425, allocations: 0.986 MB / 0.5926 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.3432, allocations: 269.3 kB / 0.5929 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.3475, allocations: 1.741 MB / 0.5946 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.3481, allocations: 287.2 kB / 0.5949 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.3482, allocations: 48 kB / 0.5949 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004648/0.3529, allocations: 2.304 MB / 0.5972 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.3532, allocations: 211.4 kB / 0.5974 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.3537, allocations: 195.6 kB / 0.5976 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004632/0.3583, allocations: 2.221 MB / 0.5997 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3583, allocations: 4 kB / 0.5997 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3583, allocations: 0 / 0.5997 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.602e-05/0.3583, allocations: 0 / 0.5997 GB, free: 4.59 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.001909/0.3602, allocations: 0.995 MB / 0.6007 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3603, allocations: 12.03 kB / 0.6007 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.3603, allocations: 78.53 kB / 0.6008 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.3605, allocations: 59.7 kB / 0.6008 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.361, allocations: 316.4 kB / 0.6012 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.361, allocations: 33 kB / 0.6012 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.361, allocations: 39.94 kB / 0.6012 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.3617, allocations: 0.7713 MB / 0.602 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3617, allocations: 0 / 0.602 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.3618, allocations: 15.94 kB / 0.602 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3618, allocations: 15.98 kB / 0.602 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.3625, allocations: 0.4965 MB / 0.6025 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.3651, allocations: 1.544 MB / 0.604 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.3658, allocations: 367 kB / 0.6043 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.3661, allocations: 170.5 kB / 0.6045 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004235/0.3666, allocations: 127.9 kB / 0.6046 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.3666, allocations: 45.69 kB / 0.6047 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 3.065e-06/0.3666, allocations: 0 / 0.6047 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.001106/0.3677, allocations: 0.494 MB / 0.6052 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.3678, allocations: 106.8 kB / 0.6053 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.3682, allocations: 409.5 kB / 0.6056 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.3683, allocations: 33.7 kB / 0.6057 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3684, allocations: 216.6 kB / 0.6059 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.3685, allocations: 113.4 kB / 0.606 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.3687, allocations: 78.02 kB / 0.6061 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3688, allocations: 350.8 kB / 0.6064 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3692, allocations: 204 kB / 0.6066 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.3695, allocations: 317.6 kB / 0.6069 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.3702, allocations: 487.1 kB / 0.6074 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.3702, allocations: 3.938 kB / 0.6074 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001008/0.3712, allocations: 0.5939 MB / 0.608 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.3713, allocations: 67.41 kB / 0.608 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3713, allocations: 4 kB / 0.608 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.3713, allocations: 12.12 kB / 0.608 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.3717, allocations: 79.83 kB / 0.6081 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.3717, allocations: 11.98 kB / 0.6081 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.372, allocations: 51.62 kB / 0.6082 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.3721, allocations: 23.98 kB / 0.6082 GB, free: 11.43 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.0002649/0.3724, allocations: 186.8 kB / 0.6084 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3725, allocations: 47.66 kB / 0.6084 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009298/0.3734, allocations: 495.7 kB / 0.6089 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3734, allocations: 4 kB / 0.6089 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3734, allocations: 0 / 0.6089 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3735, allocations: 0 / 0.6089 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.3758, allocations: 1.252 MB / 0.6101 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.3758, allocations: 7.984 kB / 0.6101 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.3761, allocations: 63.91 kB / 0.6102 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.3761, allocations: 4 kB / 0.6102 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3761, allocations: 13.06 kB / 0.6102 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.3761, allocations: 11.94 kB / 0.6102 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3761, allocations: 96 / 0.6102 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.3769, allocations: 0.6362 MB / 0.6108 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.377, allocations: 51.64 kB / 0.6109 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.377, allocations: 19.88 kB / 0.6109 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3774, allocations: 19.98 kB / 0.6109 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.3775, allocations: 23.95 kB / 0.6109 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.3775, allocations: 27.92 kB / 0.611 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004154/0.3779, allocations: 363.1 kB / 0.6113 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3779, allocations: 2.062 kB / 0.6113 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001114/0.3791, allocations: 359 kB / 0.6117 GB, free: 7.766 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.001715/0.3808, allocations: 1.591 MB / 0.6132 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000634/0.3814, allocations: 0.5053 MB / 0.6137 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3814, allocations: 0 / 0.6137 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.3816, allocations: 160.7 kB / 0.6139 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.3825, allocations: 273.8 kB / 0.6141 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.3872, allocations: 4.814 MB / 0.6188 GB, free: 104 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.3874, allocations: 232.1 kB / 0.619 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.3877, allocations: 116.7 kB / 0.6192 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.3879, allocations: 148.5 kB / 0.6193 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/0.3879, allocations: 3.938 kB / 0.6193 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2268/0.6147, allocations: 21.63 MB / 0.6404 GB, free: 164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/8.15, allocations: 9.828 kB / 0.6404 GB, free: 164 MB / 0.5261 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.320701457560062]