Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001009/0.001009, allocations: 76.5 kB / 19.92 MB, free: 4.637 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.001307/0.001307, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9014/0.9014, allocations: 158.6 MB / 185 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1385/0.1385, allocations: 32.37 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.17e-05, allocations: 10.02 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3267/0.3268, allocations: 161.4 MB / 0.5549 GB, free: 3.949 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3286, allocations: 0.8818 MB / 0.5558 GB, free: 3.344 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.3289, allocations: 17 kB / 0.5558 GB, free: 3.332 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.3295, allocations: 201.3 kB / 0.556 GB, free: 3.219 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.33, allocations: 297.9 kB / 0.5563 GB, free: 3.031 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.335, allocations: 2.223 MB / 0.5585 GB, free: 1.984 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.336, allocations: 0.9798 MB / 0.5594 GB, free: 1.418 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.3364, allocations: 269.3 kB / 0.5597 GB, free: 1.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.3392, allocations: 1.861 MB / 0.5615 GB, free: 92 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.3396, allocations: 305 kB / 0.5618 GB, free: 15.92 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.3397, allocations: 45.22 kB / 0.5618 GB, free: 15.92 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.3432, allocations: 2.46 MB / 0.5642 GB, free: 14.7 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.3434, allocations: 207.7 kB / 0.5644 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.3437, allocations: 194.1 kB / 0.5646 GB, free: 14.47 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.3473, allocations: 2.315 MB / 0.5669 GB, free: 13.06 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3473, allocations: 0 / 0.5669 GB, free: 13.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3473, allocations: 0.9375 kB / 0.5669 GB, free: 13.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3473, allocations: 4 kB / 0.5669 GB, free: 13.05 MB / 458.7 MB 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.001488/0.3488, allocations: 1.001 MB / 0.5679 GB, free: 12.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3489, allocations: 10.38 kB / 0.5679 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.186e-05/0.3489, allocations: 75.62 kB / 0.5679 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.3491, allocations: 70.84 kB / 0.568 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.3495, allocations: 315.9 kB / 0.5683 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3495, allocations: 29.22 kB / 0.5683 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.3496, allocations: 36.47 kB / 0.5684 GB, free: 11.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.3502, allocations: 0.7737 MB / 0.5691 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3502, allocations: 7.922 kB / 0.5691 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3503, allocations: 14.88 kB / 0.5691 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3503, allocations: 10.44 kB / 0.5692 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.3508, allocations: 490.8 kB / 0.5696 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.3523, allocations: 1.569 MB / 0.5712 GB, free: 9.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.3528, allocations: 366 kB / 0.5715 GB, free: 9.453 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.353, allocations: 167.8 kB / 0.5717 GB, free: 9.355 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.3533, allocations: 130.4 kB / 0.5718 GB, free: 9.301 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3533, allocations: 41.31 kB / 0.5718 GB, free: 9.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=30): time 2.444e-06/0.3533, allocations: 2.625 kB / 0.5718 GB, free: 9.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007028/0.354, allocations: 0.4951 MB / 0.5723 GB, free: 8.996 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3541, allocations: 109.4 kB / 0.5724 GB, free: 8.867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.3544, allocations: 406.6 kB / 0.5728 GB, free: 8.617 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.3544, allocations: 36.39 kB / 0.5728 GB, free: 8.578 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.3547, allocations: 214.1 kB / 0.573 GB, free: 8.387 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.3547, allocations: 112.6 kB / 0.5732 GB, free: 8.289 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.3548, allocations: 76.56 kB / 0.5732 GB, free: 8.242 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.3549, allocations: 350.7 kB / 0.5736 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.3551, allocations: 207.9 kB / 0.5738 GB, free: 7.762 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3553, allocations: 318.1 kB / 0.5741 GB, free: 7.484 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.3558, allocations: 484.8 kB / 0.5745 GB, free: 7.129 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3558, allocations: 0 / 0.5745 GB, free: 7.129 MB / 458.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006256/0.3564, allocations: 0.6134 MB / 0.5751 GB, free: 6.574 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.3564, allocations: 63.41 kB / 0.5752 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3565, allocations: 4 kB / 0.5752 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3565, allocations: 10 kB / 0.5752 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3567, allocations: 79.89 kB / 0.5753 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3567, allocations: 11.92 kB / 0.5753 GB, free: 6.398 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.3569, allocations: 49.19 kB / 0.5753 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.3569, allocations: 23.98 kB / 0.5754 GB, free: 6.328 MB / 458.7 MB 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.0001746/0.3571, allocations: 181.7 kB / 0.5755 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.3572, allocations: 43.7 kB / 0.5756 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/0.3578, allocations: 497.2 kB / 0.576 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3578, allocations: 4 kB / 0.576 GB, free: 5.602 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3578, allocations: 0 / 0.576 GB, free: 5.602 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3578, allocations: 7.859 kB / 0.5761 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.3593, allocations: 1.251 MB / 0.5773 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3593, allocations: 0 / 0.5773 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3594, allocations: 63.91 kB / 0.5773 GB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.3594, allocations: 4 kB / 0.5773 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3595, allocations: 8 kB / 0.5773 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3595, allocations: 7.938 kB / 0.5774 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.3595, allocations: 8.125 kB / 0.5774 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.36, allocations: 0.6448 MB / 0.578 GB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.36, allocations: 49.19 kB / 0.578 GB, free: 3.461 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.3601, allocations: 11.95 kB / 0.5781 GB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.3603, allocations: 19.98 kB / 0.5781 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.3603, allocations: 27.89 kB / 0.5781 GB, free: 3.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.3604, allocations: 23.98 kB / 0.5781 GB, free: 3.379 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002609/0.3606, allocations: 363.1 kB / 0.5785 GB, free: 3.027 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3606, allocations: 4 kB / 0.5785 GB, free: 3.023 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009097/0.3615, allocations: 379 kB / 0.5788 GB, free: 2.652 MB / 458.7 MB 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.001833/0.3634, allocations: 1.695 MB / 0.5805 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.364, allocations: 0.507 MB / 0.581 GB, free: 392 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.364, allocations: 4 kB / 0.581 GB, free: 388 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3642, allocations: 155.7 kB / 0.5811 GB, free: 232 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009059/0.3651, allocations: 287.4 kB / 0.5814 GB, free: 15.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.3698, allocations: 4.818 MB / 0.5861 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.37, allocations: 232.1 kB / 0.5863 GB, free: 10.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.3704, allocations: 112.4 kB / 0.5864 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.3706, allocations: 152.4 kB / 0.5866 GB, free: 10.39 MB / 474.7 MB Notification: Performance of SimCode: time 2.254e-06/0.3706, allocations: 0 / 0.5866 GB, free: 10.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.4055, allocations: 22.58 MB / 0.6086 GB, free: 3.766 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.93, allocations: 4 kB / 0.6086 GB, free: 3.762 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.141823595389724]