Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.0006748/0.0006748, allocations: 76.53 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.0008395/0.0008395, allocations: 169.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.9519/0.9519, allocations: 158.6 MB / 185 MB, free: 3.031 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.1302/0.1302, 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 3.938 kB / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.939e-06/1.095e-05, allocations: 10.02 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001741/0.001752, allocations: 1.676 MB / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008227/0.002575, allocations: 0.7842 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.002617, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.002794, allocations: 87.69 kB / 409.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.002934, allocations: 71.61 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.00309, allocations: 91.7 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.003199, allocations: 111.7 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.775e-05/0.003257, allocations: 4.234 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.003329, allocations: 67.75 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.003398, allocations: 59.86 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.00341, allocations: 4 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.003468, allocations: 39.92 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.003501, allocations: 23.92 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.003528, allocations: 23.86 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.003657, allocations: 115.6 kB / 410.1 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.003659, allocations: 4 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003659, allocations: 3.938 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.806e-06/0.003662, allocations: 3.938 kB / 410.1 MB, free: 14.98 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.0002891/0.003951, allocations: 345.6 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.003978, allocations: 12.03 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.056e-05/0.003998, allocations: 30.75 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.00402, allocations: 12.84 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004155, allocations: 149.5 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.004162, allocations: 384 / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.004173, allocations: 8.375 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/0.004255, allocations: 57.98 kB / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.004262, allocations: 0 / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.004268, allocations: 0 / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.004271, allocations: 4 kB / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.004314, allocations: 23.92 kB / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.00456, allocations: 263.9 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.004657, allocations: 58.69 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.00469, allocations: 20.84 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.004699, allocations: 7.938 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.303e-05/0.004792, allocations: 71.38 kB / 411.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 7.42e-07/0.004793, allocations: 0 / 411.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003497/0.005143, allocations: 193.3 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.005168, allocations: 51.41 kB / 411.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.005297, allocations: 210.8 kB / 411.6 MB, free: 13.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.00531, allocations: 29.7 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.005352, allocations: 104.1 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/0.005746, allocations: 27.78 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.005779, allocations: 25.72 kB / 411.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.005876, allocations: 330.8 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.00591, allocations: 23.98 kB / 412.1 MB, free: 12.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.005955, allocations: 33.7 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/0.006036, allocations: 69.62 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.006038, allocations: 0 / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001196/0.006157, allocations: 101.5 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.006168, allocations: 4 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.006172, allocations: 4.141 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.006183, allocations: 8.031 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.006236, allocations: 12.19 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.00624, allocations: 3.984 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.006267, allocations: 11.94 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.006272, allocations: 3.984 kB / 412.3 MB, free: 12.51 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 8.144e-05/0.006353, allocations: 129.8 kB / 412.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.006367, allocations: 15.89 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.006517, allocations: 123 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.006518, allocations: 0 / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.006521, allocations: 8 kB / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.006525, allocations: 0 / 412.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.006813, allocations: 374.3 kB / 413 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006813, allocations: 0 / 413 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.006833, allocations: 11.94 kB / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006835, allocations: 0 / 413 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.006844, allocations: 8.375 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.006845, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.006849, allocations: 11.92 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.006984, allocations: 212.2 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.006995, allocations: 11.98 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.007009, allocations: 4 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.007046, allocations: 7.984 kB / 413.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.007066, allocations: 7.938 kB / 413.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.007078, allocations: 7.984 kB / 413.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.007174, allocations: 163.2 kB / 413.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007174, allocations: 0 / 413.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000184/0.007358, allocations: 27.94 kB / 413.4 MB, free: 11.32 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.0009519/0.00831, allocations: 1.128 MB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.008417, allocations: 59.91 kB / 414.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.008419, allocations: 4 kB / 414.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.008458, allocations: 27.92 kB / 414.7 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.008661, allocations: 36.36 kB / 414.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.009798, allocations: 1.713 MB / 416.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.054e-05/0.009859, allocations: 92.8 kB / 416.5 MB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.009895, allocations: 12.5 kB / 416.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.00994, allocations: 36.48 kB / 416.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.00994, allocations: 0 / 416.5 MB, free: 8.109 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.02487, allocations: 4.322 MB / 420.9 MB, free: 3.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.825, allocations: 7.844 kB / 420.9 MB, free: 3.648 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.064352155663073]