Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.0008549/0.0008549, 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.001008/0.001008, 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.9185/0.9185, 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.1368/0.1368, allocations: 32.38 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.873e-05, allocations: 6.078 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002133/0.002151, allocations: 1.672 MB / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003399, allocations: 0.7803 MB / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.00347, allocations: 0 / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.003785, allocations: 59.69 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.00398, allocations: 59.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.004168, allocations: 87.62 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.004315, allocations: 99.64 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.004404, allocations: 8.219 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.004483, allocations: 51.83 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.00455, allocations: 27.92 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.004566, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.345e-05/0.00464, allocations: 51.84 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.004696, allocations: 27.86 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.004736, allocations: 23.92 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.004913, allocations: 127.5 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.004917, allocations: 4 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004918, allocations: 3.938 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.004923, allocations: 0 / 410 MB, free: 15.06 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.0004726/0.005396, allocations: 357.5 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.005437, allocations: 12.03 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.005468, allocations: 30.75 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.005501, allocations: 16.84 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.005704, allocations: 165.2 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.005716, allocations: 4.375 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.005737, allocations: 8.297 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.005863, allocations: 57.98 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.005876, allocations: 4 kB / 410.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.005885, allocations: 0 / 410.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.00589, allocations: 0 / 410.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.005945, allocations: 23.98 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.00627, allocations: 264 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.006401, allocations: 66.61 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.006437, allocations: 20.84 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.006453, allocations: 0 / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.006581, allocations: 67.39 kB / 411.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.006582, allocations: 3.938 kB / 411.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004369/0.007019, allocations: 185.3 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.00706, allocations: 63.39 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.007222, allocations: 263.5 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.007233, allocations: 29.7 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.007283, allocations: 112.1 kB / 411.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.007309, allocations: 27.78 kB / 411.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.007338, allocations: 21.7 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.007424, allocations: 334.8 kB / 412.1 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.007459, allocations: 19.98 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.007499, allocations: 41.64 kB / 412.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.936e-05/0.007569, allocations: 61.72 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.007569, allocations: 0 / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001082/0.007677, allocations: 109.6 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.007689, allocations: 4 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.007695, allocations: 4 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.007704, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.007763, allocations: 16.17 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.007767, allocations: 0 / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.007796, allocations: 11.94 kB / 412.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.007802, allocations: 4 kB / 412.4 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 7.397e-05/0.007876, allocations: 145.7 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.00789, allocations: 15.86 kB / 412.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.008053, allocations: 127 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008055, allocations: 0 / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.00806, allocations: 4 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.008063, allocations: 0 / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.008345, allocations: 378.4 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008346, allocations: 0 / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.008367, allocations: 11.98 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.008369, allocations: 4.406 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.00838, allocations: 8 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008382, allocations: 4 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008384, allocations: 3.938 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.008514, allocations: 212.2 kB / 413.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.008527, allocations: 15.89 kB / 413.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.008542, allocations: 7.938 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.602e-05/0.008578, allocations: 0 / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.008609, allocations: 15.92 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.008621, allocations: 4 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.008729, allocations: 203.3 kB / 413.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008729, allocations: 0 / 413.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.008905, allocations: 31.92 kB / 413.5 MB, free: 11.23 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.0009651/0.00987, allocations: 1.136 MB / 414.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.01, allocations: 55.92 kB / 414.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01, allocations: 0 / 414.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.01005, allocations: 31.92 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.01027, allocations: 36 kB / 414.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.01176, allocations: 1.833 MB / 416.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.01183, allocations: 101.9 kB / 416.7 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.01186, allocations: 16.48 kB / 416.7 MB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.01192, allocations: 40.48 kB / 416.8 MB, free: 7.879 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01192, allocations: 3.938 kB / 416.8 MB, free: 7.875 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.02667, allocations: 4.534 MB / 421.3 MB, free: 3.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.141, allocations: 7.844 kB / 421.3 MB, free: 3.199 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.336613827385008]