Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008519/0.0008519, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0007937/0.0007937, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9318/0.9318, allocations: 158.6 MB / 185 MB, free: 3.043 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.1404/0.1404, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.046e-05, allocations: 6.281 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00252/0.00254, allocations: 1.683 MB / 408.6 MB, free: 464 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003681, allocations: 0.7804 MB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.003785, allocations: 3.938 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.004199, allocations: 79.7 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.00449, allocations: 83.61 kB / 409.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.004763, allocations: 91.7 kB / 409.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.004971, allocations: 107.6 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.005103, allocations: 8.219 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.005217, allocations: 63.81 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.005333, allocations: 47.88 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.005357, allocations: 4 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.005454, allocations: 47.86 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.005526, allocations: 31.84 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.005574, allocations: 19.94 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.005759, allocations: 119.6 kB / 410.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005761, allocations: 0 / 410.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005763, allocations: 3.938 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005767, allocations: 0 / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004842/0.006252, allocations: 341.6 kB / 410.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.006296, allocations: 8.031 kB / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.479e-05/0.00633, allocations: 34.75 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.006369, allocations: 20.78 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.006564, allocations: 149.5 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.006578, allocations: 8.375 kB / 410.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.006596, allocations: 384 / 410.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.006738, allocations: 61.98 kB / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.006752, allocations: 0 / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.00676, allocations: 0 / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.006765, allocations: 0 / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.006825, allocations: 23.97 kB / 410.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.007216, allocations: 255.9 kB / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.007369, allocations: 66.61 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.007412, allocations: 24.84 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.007428, allocations: 0 / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.007572, allocations: 67.39 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.007574, allocations: 0 / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000582/0.008156, allocations: 193.3 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.008202, allocations: 55.41 kB / 411.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.008364, allocations: 210.8 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.008378, allocations: 25.7 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.008445, allocations: 108.1 kB / 411.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.008483, allocations: 31.78 kB / 411.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.008518, allocations: 21.72 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.008637, allocations: 330.8 kB / 412.1 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.008679, allocations: 27.92 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.008727, allocations: 37.7 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.008808, allocations: 53.7 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008809, allocations: 0 / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001529/0.008962, allocations: 109.6 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.00898, allocations: 16.02 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.008987, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.009002, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.00909, allocations: 12.19 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.009101, allocations: 4 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.009138, allocations: 7.922 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.009149, allocations: 8 kB / 412.3 MB, free: 12.49 MB / 394.7 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 (10): * Single equations (assignments): 10 * 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.0001015/0.00925, allocations: 133.7 kB / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.009264, allocations: 7.953 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.009477, allocations: 131 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.00948, allocations: 4 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.009486, allocations: 0 / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.009492, allocations: 0 / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.009896, allocations: 374.3 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.009899, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.009928, allocations: 8 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.009932, allocations: 4 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.009944, allocations: 384 / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.009945, allocations: 0 / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.009951, allocations: 15.92 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.01013, allocations: 216.3 kB / 413.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.01014, allocations: 7.953 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.01016, allocations: 4 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.0102, allocations: 3.984 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.01025, allocations: 11.94 kB / 413.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.01026, allocations: 7.984 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.01037, allocations: 163.2 kB / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.01057, allocations: 23.94 kB / 413.4 MB, free: 11.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001035/0.0116, allocations: 1.136 MB / 414.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.01174, allocations: 55.97 kB / 414.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01174, allocations: 0 / 414.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.01179, allocations: 39.97 kB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01205, allocations: 28.23 kB / 414.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.01337, allocations: 1.709 MB / 416.4 MB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.083e-05/0.01344, allocations: 96.8 kB / 416.5 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.069e-05/0.01348, allocations: 12.56 kB / 416.5 MB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.01353, allocations: 40.48 kB / 416.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01353, allocations: 0 / 416.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.03295, allocations: 4.288 MB / 420.8 MB, free: 3.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.312, allocations: 7.969 kB / 420.8 MB, free: 3.648 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.670672274194658]