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.001569/0.001569, allocations: 115.6 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.001522/0.001522, 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2254/0.2254, allocations: 44.92 MB / 358.8 MB, free: 6.25 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [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.001966/0.001966, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3433, allocations: 65.48 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5637/0.907, allocations: 185.5 MB / 0.7382 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.9093, allocations: 0.9008 MB / 0.7391 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.9096, allocations: 12.91 kB / 0.7391 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.9104, allocations: 210.6 kB / 0.7393 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007599/0.9112, allocations: 296.8 kB / 0.7396 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00563/0.9168, allocations: 1.972 MB / 0.7415 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.9182, allocations: 0.9947 MB / 0.7425 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.9187, allocations: 282.7 kB / 0.7428 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.9218, allocations: 1.594 MB / 0.7443 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.9224, allocations: 345.7 kB / 0.7447 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/0.9224, allocations: 48.94 kB / 0.7447 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/0.927, allocations: 2.894 MB / 0.7475 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.9272, allocations: 200.4 kB / 0.7477 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.9276, allocations: 268 kB / 0.748 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.9314, allocations: 2.065 MB / 0.75 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.9314, allocations: 1.062 kB / 0.75 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9314, allocations: 0 / 0.75 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.9314, allocations: 3.188 kB / 0.75 GB, free: 1.582 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.002493/0.9339, allocations: 1.005 MB / 0.751 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9339, allocations: 9.219 kB / 0.751 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.934, allocations: 79.61 kB / 0.7511 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.9343, allocations: 64.52 kB / 0.7511 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006152/0.9349, allocations: 319.3 kB / 0.7514 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.935, allocations: 28.84 kB / 0.7515 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.935, allocations: 34.41 kB / 0.7515 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.9358, allocations: 0.5216 MB / 0.752 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.9358, allocations: 0 / 0.752 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.9359, allocations: 18.25 kB / 0.752 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.9359, allocations: 8 kB / 0.752 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.9366, allocations: 0.4932 MB / 0.7525 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.9393, allocations: 1.936 MB / 0.7544 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.9399, allocations: 364.9 kB / 0.7547 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.9402, allocations: 168.7 kB / 0.7549 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004624/0.9406, allocations: 130 kB / 0.755 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.9407, allocations: 47.77 kB / 0.7551 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.9407, allocations: 0 / 0.7551 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001026/0.9417, allocations: 0.4938 MB / 0.7556 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.9418, allocations: 113.1 kB / 0.7557 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.9422, allocations: 401.3 kB / 0.756 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.9422, allocations: 30.77 kB / 0.7561 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.9424, allocations: 220.4 kB / 0.7563 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.9424, allocations: 111 kB / 0.7564 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.9425, allocations: 76.23 kB / 0.7565 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.9427, allocations: 355.7 kB / 0.7568 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.943, allocations: 152.1 kB / 0.7569 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.9433, allocations: 254.5 kB / 0.7572 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.9439, allocations: 490.4 kB / 0.7577 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9439, allocations: 0 / 0.7577 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009405/0.9449, allocations: 0.5549 MB / 0.7582 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.9449, allocations: 62 kB / 0.7583 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.9449, allocations: 4.281 kB / 0.7583 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.945, allocations: 6.234 kB / 0.7583 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.9453, allocations: 89.28 kB / 0.7584 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9453, allocations: 5.562 kB / 0.7584 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.9457, allocations: 50.81 kB / 0.7584 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.9457, allocations: 23.67 kB / 0.7584 GB, free: 13.94 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.0002168/0.9459, allocations: 189.5 kB / 0.7586 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.946, allocations: 41.8 kB / 0.7587 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008907/0.9469, allocations: 494.8 kB / 0.7591 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.9469, allocations: 2.656 kB / 0.7591 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.9469, allocations: 9.797 kB / 0.7591 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.947, allocations: 0.7812 kB / 0.7591 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.9493, allocations: 1.357 MB / 0.7605 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9494, allocations: 3.828 kB / 0.7605 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.9496, allocations: 61.06 kB / 0.7605 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.9496, allocations: 5.812 kB / 0.7605 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.9497, allocations: 11.88 kB / 0.7605 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.9497, allocations: 7.938 kB / 0.7605 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9497, allocations: 2.125 kB / 0.7605 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.9504, allocations: 0.6465 MB / 0.7612 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.9505, allocations: 57.34 kB / 0.7612 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.9506, allocations: 9.406 kB / 0.7612 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.951, allocations: 27.67 kB / 0.7613 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.9511, allocations: 28.06 kB / 0.7613 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.9511, allocations: 20.83 kB / 0.7613 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003505/0.9515, allocations: 363.9 kB / 0.7617 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.9515, allocations: 0.7812 kB / 0.7617 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001131/0.9526, allocations: 359.1 kB / 0.762 GB, free: 12.63 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.002086/0.9547, allocations: 1.575 MB / 0.7635 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007482/0.9554, allocations: 453.2 kB / 0.764 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9554, allocations: 0 / 0.764 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.9557, allocations: 158.9 kB / 0.7641 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.9571, allocations: 292.7 kB / 0.7644 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.9629, allocations: 4.589 MB / 0.7689 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.9633, allocations: 0.8391 MB / 0.7697 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004546/0.9638, allocations: 118.8 kB / 0.7698 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.964, allocations: 147.4 kB / 0.77 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.964, allocations: 5 kB / 0.77 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/1.016, allocations: 20.13 MB / 0.7896 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.09, allocations: 14.73 kB / 0.7896 GB, free: 3.145 MB / 0.5762 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/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] "Error: Could not read variable traceSubstance.C in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.161549680000462]