Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001816/0.001816, 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.002218/0.002218, 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2186/0.2186, allocations: 44.92 MB / 358.8 MB, free: 6.277 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.003181/0.003181, allocations: 71.88 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3309, allocations: 65.46 MB / 0.5571 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003368/0.3343, allocations: 1.759 MB / 0.5588 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.3362, allocations: 1.053 MB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.353e-05/0.3362, allocations: 3.938 kB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.3366, allocations: 87.7 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.3369, allocations: 115.6 kB / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.3372, allocations: 83.66 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3374, allocations: 119.6 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.3375, allocations: 17.8 kB / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.3376, allocations: 55.77 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3377, allocations: 67.73 kB / 0.5604 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3377, allocations: 4 kB / 0.5604 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3378, allocations: 63.98 kB / 0.5604 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.3379, allocations: 27.84 kB / 0.5605 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.338, allocations: 51.61 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3382, allocations: 127.5 kB / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3382, allocations: 0 / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3382, allocations: 0 / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3382, allocations: 0 / 0.5606 GB, free: 4.121 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005657/0.3388, allocations: 377.3 kB / 0.561 GB, free: 3.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3388, allocations: 8.031 kB / 0.561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.3389, allocations: 46.75 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.3389, allocations: 12.84 kB / 0.5611 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3392, allocations: 162.8 kB / 0.5612 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3392, allocations: 384 / 0.5612 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3392, allocations: 7.938 kB / 0.5612 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3394, allocations: 57.67 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3394, allocations: 0 / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3394, allocations: 4 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3394, allocations: 0 / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.3395, allocations: 27.95 kB / 0.5613 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.3399, allocations: 275.8 kB / 0.5616 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3401, allocations: 54.55 kB / 0.5616 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.3402, allocations: 28.97 kB / 0.5616 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3402, allocations: 0 / 0.5616 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.3403, allocations: 75.33 kB / 0.5617 GB, free: 2.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.3403, allocations: 0 / 0.5617 GB, free: 2.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007447/0.3411, allocations: 245.2 kB / 0.562 GB, free: 2.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.3411, allocations: 55.34 kB / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3414, allocations: 227.5 kB / 0.5622 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3414, allocations: 29.7 kB / 0.5623 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.3415, allocations: 112.1 kB / 0.5624 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.3415, allocations: 31.73 kB / 0.5624 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.3416, allocations: 25.72 kB / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3417, allocations: 322.8 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.3418, allocations: 31.98 kB / 0.5628 GB, free: 1.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.3419, allocations: 45.7 kB / 0.5628 GB, free: 1.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.342, allocations: 85.69 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.342, allocations: 0 / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002278/0.3423, allocations: 129.5 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3423, allocations: 10.81 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3423, allocations: 0 / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3423, allocations: 0 / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.3424, allocations: 31.92 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3424, allocations: 0.7031 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.3424, allocations: 0 / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.3424, allocations: 7.969 kB / 0.563 GB, free: 1.43 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 (13): * Single equations (assignments): 13 * 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.0001179/0.3426, allocations: 145.7 kB / 0.5632 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.3426, allocations: 15.91 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.3429, allocations: 154.9 kB / 0.5633 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3429, allocations: 7.938 kB / 0.5634 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3429, allocations: 0 / 0.5634 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3429, allocations: 4 kB / 0.5634 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.3435, allocations: 423.1 kB / 0.5638 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3435, allocations: 4 kB / 0.5638 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.3435, allocations: 15.98 kB / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3435, allocations: 0 / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3435, allocations: 0 / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3435, allocations: 4 kB / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3435, allocations: 0 / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.3438, allocations: 241.1 kB / 0.564 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.3438, allocations: 19.84 kB / 0.564 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3439, allocations: 0 / 0.564 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.3439, allocations: 8 kB / 0.564 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.344, allocations: 7.984 kB / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.344, allocations: 7.984 kB / 0.5641 GB, free: 300 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.3441, allocations: 165.2 kB / 0.5642 GB, free: 136 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3441, allocations: 4 kB / 0.5642 GB, free: 132 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3444, allocations: 27.94 kB / 0.5642 GB, free: 104 kB / 398.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 (11): * Single equations (assignments): 9 * 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.002467/0.3469, allocations: 1.179 MB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3471, allocations: 71.92 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3471, allocations: 0 / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.3472, allocations: 35.92 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3475, allocations: 44.03 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3496, allocations: 1.818 MB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.35, allocations: 0.7158 MB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.557e-05/0.3501, allocations: 24.62 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.168e-05/0.3502, allocations: 39.42 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3502, allocations: 0 / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3801, allocations: 4.089 MB / 0.5721 GB, free: 8.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.36, allocations: 2.75 kB / 0.5721 GB, free: 8.219 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.549862550993566]