Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001623/0.001623, allocations: 111.1 kB / 20.44 MB, free: 1.348 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.001942/0.001942, allocations: 211.4 kB / 23.73 MB, free: 4.527 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.61/1.61, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2481/0.2481, allocations: 44.93 MB / 358.8 MB, free: 6.094 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.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.002042/0.002042, allocations: 59.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 65.47 MB / 0.557 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003309/0.3235, allocations: 1.738 MB / 0.5587 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3253, allocations: 0.9677 MB / 0.5597 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.264e-05/0.3254, allocations: 3.938 kB / 0.5597 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.3256, allocations: 51.75 kB / 0.5597 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.326, allocations: 103.6 kB / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.3261, allocations: 79.67 kB / 0.5599 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3263, allocations: 135.5 kB / 0.56 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.3264, allocations: 13.81 kB / 0.56 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.3265, allocations: 59.77 kB / 0.5601 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.986e-05/0.3266, allocations: 47.77 kB / 0.5602 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3266, allocations: 8 kB / 0.5602 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3268, allocations: 63.97 kB / 0.5602 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.3268, allocations: 27.92 kB / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.3269, allocations: 35.78 kB / 0.5603 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3271, allocations: 151.3 kB / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3271, allocations: 0 / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3271, allocations: 0 / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3271, allocations: 0 / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006253/0.3277, allocations: 369.3 kB / 0.5608 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3278, allocations: 12.03 kB / 0.5608 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.3278, allocations: 38.75 kB / 0.5608 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.3279, allocations: 16.84 kB / 0.5608 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.3282, allocations: 166.2 kB / 0.561 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3282, allocations: 4.375 kB / 0.561 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.3282, allocations: 11.94 kB / 0.561 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3284, allocations: 73.64 kB / 0.5611 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3284, allocations: 4 kB / 0.5611 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3284, allocations: 0 / 0.5611 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3284, allocations: 0 / 0.5611 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.3285, allocations: 55.89 kB / 0.5611 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.329, allocations: 291.9 kB / 0.5614 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.3293, allocations: 90.52 kB / 0.5615 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.3294, allocations: 28.84 kB / 0.5615 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3294, allocations: 4 kB / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3295, allocations: 83.41 kB / 0.5616 GB, free: 2.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.3295, allocations: 0 / 0.5616 GB, free: 2.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008579/0.3304, allocations: 325 kB / 0.5619 GB, free: 2.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3304, allocations: 59.34 kB / 0.562 GB, free: 2.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.3306, allocations: 214.7 kB / 0.5622 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3307, allocations: 29.7 kB / 0.5622 GB, free: 2.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.3307, allocations: 104.3 kB / 0.5623 GB, free: 1.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.3308, allocations: 47.64 kB / 0.5624 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3308, allocations: 37.64 kB / 0.5624 GB, free: 1.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.331, allocations: 322.8 kB / 0.5627 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-05/0.3311, allocations: 43.98 kB / 0.5627 GB, free: 1.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3312, allocations: 60.78 kB / 0.5628 GB, free: 1.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.3314, allocations: 109.6 kB / 0.5629 GB, free: 1.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3314, allocations: 4 kB / 0.5629 GB, free: 1.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002829/0.3317, allocations: 153.3 kB / 0.5631 GB, free: 1.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3317, allocations: 8 kB / 0.5631 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3317, allocations: 0 / 0.5631 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3317, allocations: 0 / 0.5631 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3318, allocations: 35.86 kB / 0.5631 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3318, allocations: 4 kB / 0.5631 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.3319, allocations: 3.984 kB / 0.5631 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3319, allocations: 4 kB / 0.5631 GB, free: 1.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001163/0.332, allocations: 137.9 kB / 0.5632 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.332, allocations: 15.91 kB / 0.5633 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.3324, allocations: 191 kB / 0.5634 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.3324, allocations: 7.938 kB / 0.5635 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3324, allocations: 0.8438 kB / 0.5635 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3324, allocations: 0 / 0.5635 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.3331, allocations: 487.2 kB / 0.5639 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3331, allocations: 0 / 0.5639 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.3332, allocations: 27.98 kB / 0.5639 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3332, allocations: 4 kB / 0.5639 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3332, allocations: 8 kB / 0.564 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3332, allocations: 3.938 kB / 0.564 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3332, allocations: 0 / 0.564 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.3336, allocations: 289 kB / 0.5642 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.3337, allocations: 11.91 kB / 0.5642 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.3337, allocations: 11.98 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.3338, allocations: 4 kB / 0.5643 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3338, allocations: 11.98 kB / 0.5643 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3338, allocations: 8 kB / 0.5643 GB, free: 15.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.334, allocations: 159.2 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.334, allocations: 0 / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.3343, allocations: 35.94 kB / 0.5645 GB, free: 15.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002632/0.3369, allocations: 1.266 MB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3372, allocations: 111.9 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3372, allocations: 0 / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3373, allocations: 55.98 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.3377, allocations: 34.62 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.34, allocations: 1.898 MB / 0.5677 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.3401, allocations: 106.2 kB / 0.5678 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.407e-05/0.3402, allocations: 29.53 kB / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.3403, allocations: 43.42 kB / 0.5679 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3403, allocations: 0 / 0.5679 GB, free: 12.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.3725, allocations: 4.863 MB / 0.5727 GB, free: 7.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.73, allocations: 8 kB / 0.5727 GB, free: 7.402 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[3] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[3] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.018076898064464]