Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.0009166/0.0009166, 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.0007898/0.0007898, allocations: 169.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.9147/0.9147, allocations: 158.6 MB / 185 MB, free: 3.039 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.1394/0.1394, allocations: 32.37 MB / 269.6 MB, free: 15.04 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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.531e-05, allocations: 6.078 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003299/0.003324, allocations: 1.68 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.005112, allocations: 0.7726 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.005185, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.005503, allocations: 51.69 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.005732, allocations: 55.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.005997, allocations: 83.69 kB / 409.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.006172, allocations: 99.69 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.006269, allocations: 16.11 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.006397, allocations: 47.89 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.006469, allocations: 27.91 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.006486, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.175e-05/0.006558, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.006609, allocations: 15.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.006648, allocations: 23.86 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.006821, allocations: 119.5 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.006825, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006826, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006831, allocations: 0 / 410 MB, free: 15.09 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.0003938/0.007224, allocations: 333.7 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.007262, allocations: 8.031 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.00729, allocations: 38.73 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.007321, allocations: 16.84 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.007546, allocations: 138.3 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.00756, allocations: 4.375 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.007577, allocations: 4.375 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.007702, allocations: 57.98 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.007713, allocations: 3.938 kB / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.007721, allocations: 8 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.007725, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/0.007777, allocations: 23.97 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.008059, allocations: 263.9 kB / 410.8 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.008176, allocations: 50.67 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.00821, allocations: 24.78 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.008224, allocations: 8 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.008339, allocations: 63.34 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.00834, allocations: 4 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003957/0.008736, allocations: 181.4 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.008773, allocations: 55.41 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.008896, allocations: 194.2 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.008908, allocations: 29.7 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.00895, allocations: 100.1 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.008974, allocations: 23.8 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.009004, allocations: 25.7 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.00908, allocations: 326.8 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.009117, allocations: 23.98 kB / 411.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-05/0.009162, allocations: 37.7 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.009236, allocations: 65.64 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.009236, allocations: 0 / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001144/0.009351, allocations: 109.5 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.009364, allocations: 7.281 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.009369, allocations: 4 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.009381, allocations: 0 / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.009443, allocations: 16.17 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.009447, allocations: 0 / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.009475, allocations: 11.97 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.009482, allocations: 4.156 kB / 412.2 MB, free: 12.67 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 7.464e-05/0.009556, allocations: 129.8 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.009567, allocations: 7.953 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.009729, allocations: 122.4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.009732, allocations: 4 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.009736, allocations: 0 / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.009739, allocations: 0 / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.01003, allocations: 374.3 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01003, allocations: 4 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.01006, allocations: 12.31 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01006, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01007, allocations: 19.92 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01007, allocations: 0 / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01008, allocations: 3.938 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.01021, allocations: 208.3 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.01022, allocations: 11.91 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.01024, allocations: 3.984 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.01028, allocations: 8.031 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.01031, allocations: 11.92 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.01032, allocations: 4 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.644e-05/0.0104, allocations: 140.1 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0104, allocations: 0 / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.01057, allocations: 31.92 kB / 413.2 MB, free: 11.52 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.0009601/0.01153, allocations: 1.128 MB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.01166, allocations: 59.92 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01166, allocations: 0 / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.0117, allocations: 35.86 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01193, allocations: 35.5 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.01311, allocations: 1.651 MB / 416.2 MB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.551e-05/0.01318, allocations: 92.31 kB / 416.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.278e-05/0.01322, allocations: 16.47 kB / 416.3 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.01327, allocations: 36.48 kB / 416.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01328, allocations: 0 / 416.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.03019, allocations: 4.202 MB / 420.5 MB, free: 4.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.148, allocations: 11.78 kB / 420.5 MB, free: 4.008 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.338043259456754]