Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001309/0.001309, allocations: 80.53 kB / 19.93 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.001628/0.001628, 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.9296/0.9296, 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.1417/0.1417, allocations: 32.37 MB / 269.6 MB, free: 14.98 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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.698e-05, allocations: 5.938 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002396/0.002423, allocations: 1.668 MB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003714, allocations: 0.7842 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.014e-05/0.003794, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.004125, allocations: 47.7 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.004362, allocations: 55.69 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.004613, allocations: 83.7 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.004779, allocations: 103.6 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.004877, allocations: 8.219 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.004964, allocations: 55.83 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.005037, allocations: 23.91 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.005055, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.005141, allocations: 43.92 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.005198, allocations: 19.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.005238, allocations: 19.92 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.005424, allocations: 119.5 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005428, allocations: 0 / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005429, allocations: 3.938 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005433, allocations: 4 kB / 410 MB, free: 15.1 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.0004265/0.00586, allocations: 329.7 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.005898, allocations: 12.03 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.969e-05/0.005928, allocations: 34.75 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.00596, allocations: 12.84 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.006163, allocations: 142.3 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.006175, allocations: 384 / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.006195, allocations: 12.36 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.00632, allocations: 61.92 kB / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.00633, allocations: 4 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.006337, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.006341, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.006398, allocations: 23.97 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.006711, allocations: 256 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.006838, allocations: 62.61 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.006874, allocations: 16.86 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.006888, allocations: 0 / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.007009, allocations: 75.31 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.00701, allocations: 4 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004446/0.007455, allocations: 185.3 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.007489, allocations: 51.41 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.007622, allocations: 194.2 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.007635, allocations: 33.7 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.007685, allocations: 100.1 kB / 411.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.007711, allocations: 23.8 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.007745, allocations: 21.72 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.007832, allocations: 326.8 kB / 411.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/0.007872, allocations: 19.98 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-05/0.007918, allocations: 45.64 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.827e-05/0.007996, allocations: 61.7 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.007998, allocations: 0 / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001309/0.008129, allocations: 113.5 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.008141, allocations: 4 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.008146, allocations: 160 / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.00816, allocations: 4 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.008228, allocations: 16.17 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.008234, allocations: 8.016 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.008266, allocations: 7.938 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.008272, allocations: 0 / 412.2 MB, free: 12.68 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.398e-05/0.008346, allocations: 133.7 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.00836, allocations: 11.94 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.008519, allocations: 114.4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.008522, allocations: 0 / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.008526, allocations: 4 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008529, allocations: 0 / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.008824, allocations: 374.3 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.008825, allocations: 0 / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.008849, allocations: 15.94 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008852, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.008862, allocations: 4.375 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.008864, allocations: 0 / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.008867, allocations: 11.94 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.009004, allocations: 208.3 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.009016, allocations: 15.84 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.009032, allocations: 4 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.009071, allocations: 4.031 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.009102, allocations: 15.92 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.009117, allocations: 4 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.009201, allocations: 144.1 kB / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009201, allocations: 0 / 413.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.009392, allocations: 27.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.001048/0.01044, allocations: 1.129 MB / 414.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01058, allocations: 63.91 kB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01059, allocations: 0 / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.01063, allocations: 27.92 kB / 414.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.01087, allocations: 28.23 kB / 414.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.01244, allocations: 1.658 MB / 416.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.09e-05/0.01251, allocations: 92.3 kB / 416.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.01255, allocations: 16.48 kB / 416.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.01261, allocations: 32.48 kB / 416.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01261, allocations: 4 kB / 416.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.02941, allocations: 4.2 MB / 420.5 MB, free: 4.027 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.077, allocations: 11.78 kB / 420.5 MB, free: 4.016 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_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_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.284409884363413]