Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.0009329/0.0009329, allocations: 72.5 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.0009287/0.0009287, 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 1.01/1.01, 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.1483/0.1483, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.38e-05, allocations: 6.281 kB / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002595/0.002619, allocations: 1.648 MB / 408.6 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009149/0.003534, allocations: 0.7531 MB / 409.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.003611, allocations: 11.88 kB / 409.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.003938, allocations: 67.72 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.004151, allocations: 67.69 kB / 409.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.004425, allocations: 83.69 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004565, allocations: 99.64 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.004607, allocations: 4 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.00469, allocations: 55.81 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.00478, allocations: 47.88 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.004798, allocations: 4 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.004866, allocations: 27.94 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.004917, allocations: 23.92 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.004952, allocations: 19.86 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.0051, allocations: 91.7 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.005103, allocations: 3.938 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005104, allocations: 4 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.00511, allocations: 0 / 409.9 MB, free: 15.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003832/0.005493, allocations: 329.7 kB / 410.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.005529, allocations: 16.03 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.005556, allocations: 30.75 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.005587, allocations: 12.84 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.005784, allocations: 146.2 kB / 410.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.005794, allocations: 4.375 kB / 410.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.005805, allocations: 384 / 410.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.005911, allocations: 57.92 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.005918, allocations: 0 / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.005925, allocations: 0 / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.00593, allocations: 0 / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.005977, allocations: 19.98 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.00611, allocations: 148.8 kB / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.006214, allocations: 50.61 kB / 410.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.006246, allocations: 24.83 kB / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.006259, allocations: 0 / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.006368, allocations: 79.27 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.006369, allocations: 0 / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001839/0.006552, allocations: 93.62 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.006583, allocations: 55.41 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.006709, allocations: 198.1 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.006718, allocations: 25.7 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.006759, allocations: 108.1 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.006785, allocations: 7.891 kB / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.006814, allocations: 29.64 kB / 411.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.006893, allocations: 314.8 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.988e-05/0.006923, allocations: 15.98 kB / 411.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.006956, allocations: 33.7 kB / 411.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.007014, allocations: 49.7 kB / 411.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007016, allocations: 0 / 411.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.483e-05/0.007111, allocations: 89.47 kB / 411.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.007122, allocations: 4 kB / 411.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.007126, allocations: 0 / 411.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.00714, allocations: 0 / 411.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.007196, allocations: 15.98 kB / 411.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.0072, allocations: 3.938 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.007229, allocations: 8 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.007234, allocations: 32 / 411.8 MB, free: 13.02 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 (7): * Single equations (assignments): 7 * 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.661e-05/0.007311, allocations: 129.8 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.007322, allocations: 19.83 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.007452, allocations: 94.12 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.007455, allocations: 4 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.00746, allocations: 0 / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007463, allocations: 0 / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.48e-05/0.007558, allocations: 153 kB / 412.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007559, allocations: 0 / 412.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.007574, allocations: 8 kB / 412.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.007577, allocations: 3.938 kB / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.007585, allocations: 8 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.007586, allocations: 0 / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.007588, allocations: 3.984 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.007687, allocations: 113 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.007702, allocations: 19.89 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.007715, allocations: 0 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.007732, allocations: 4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.007757, allocations: 3.984 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.007768, allocations: 4 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.007844, allocations: 148.1 kB / 412.5 MB, free: 12.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007844, allocations: 4 kB / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.007985, allocations: 15.94 kB / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009926/0.008977, allocations: 0.9935 MB / 413.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.009086, allocations: 39.97 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.009087, allocations: 0 / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.009122, allocations: 23.94 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.00929, allocations: 23.97 kB / 413.6 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.01027, allocations: 1.498 MB / 415.1 MB, free: 9.551 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.01033, allocations: 87.25 kB / 415.2 MB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.857e-05/0.01037, allocations: 16.47 kB / 415.2 MB, free: 9.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.01041, allocations: 32.5 kB / 415.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01041, allocations: 0 / 415.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.02568, allocations: 3.873 MB / 419.1 MB, free: 5.387 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/6.706, allocations: 7.938 kB / 419.2 MB, free: 5.379 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_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_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.031674989499152]