Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001153/0.001153, allocations: 75.7 kB / 20.01 MB, free: 4.5 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.0008397/0.0008397, allocations: 169.9 kB / 23.31 MB, free: 1.203 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.9582/0.9582, allocations: 158.6 MB / 185.1 MB, free: 3.008 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.1378/0.1378, allocations: 32.37 MB / 269.7 MB, free: 14.91 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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 407.1 MB, free: 2.066 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.467e-05, allocations: 5.938 kB / 407.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002084/0.002099, allocations: 1.688 MB / 408.8 MB, free: 368 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003346, allocations: 1.478 MB / 410.3 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.003408, allocations: 0 / 410.3 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.003684, allocations: 35.77 kB / 410.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.003894, allocations: 71.55 kB / 410.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.004057, allocations: 87.72 kB / 410.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.004186, allocations: 103.6 kB / 410.6 MB, free: 14.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.004264, allocations: 4.234 kB / 410.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.503e-05/0.004339, allocations: 55.83 kB / 410.7 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.004428, allocations: 27.91 kB / 410.7 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.004448, allocations: 4 kB / 410.7 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.004537, allocations: 63.89 kB / 410.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.004583, allocations: 11.94 kB / 410.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.004631, allocations: 27.91 kB / 410.8 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.004812, allocations: 123.5 kB / 410.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004814, allocations: 4 kB / 410.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004815, allocations: 0 / 410.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.004819, allocations: 4 kB / 410.9 MB, free: 14.26 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.000687/0.005506, allocations: 325.7 kB / 411.2 MB, free: 13.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.005549, allocations: 12.03 kB / 411.2 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.005582, allocations: 34.69 kB / 411.3 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.005621, allocations: 8.891 kB / 411.3 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.00582, allocations: 149.6 kB / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.005833, allocations: 384 / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.005857, allocations: 4.375 kB / 411.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.006039, allocations: 105.3 kB / 411.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.006054, allocations: 7.984 kB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.006064, allocations: 0 / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.006072, allocations: 0 / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.578e-05/0.006128, allocations: 19.98 kB / 411.6 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.006456, allocations: 251.9 kB / 411.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.006605, allocations: 54.62 kB / 411.9 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.006644, allocations: 24.84 kB / 411.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.006666, allocations: 8 kB / 411.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.006812, allocations: 63.39 kB / 412 MB, free: 13.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.006813, allocations: 0 / 412 MB, free: 13.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003959/0.007209, allocations: 181.4 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.007245, allocations: 77.11 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.007342, allocations: 165 kB / 412.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.007354, allocations: 25.7 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.007392, allocations: 96.12 kB / 412.5 MB, free: 12.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.007413, allocations: 27.78 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.00744, allocations: 21.72 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.007516, allocations: 334.8 kB / 412.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.007552, allocations: 19.98 kB / 412.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.0076, allocations: 76.19 kB / 413 MB, free: 11.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.01e-05/0.00767, allocations: 61.69 kB / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.007671, allocations: 0 / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.007779, allocations: 101.7 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.007791, allocations: 4 kB / 413.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007796, allocations: 4.078 kB / 413.1 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.007806, allocations: 4.062 kB / 413.1 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.007866, allocations: 15.98 kB / 413.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.007871, allocations: 3.984 kB / 413.2 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.007901, allocations: 4 kB / 413.2 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.007907, allocations: 7.938 kB / 413.2 MB, free: 11.77 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 6.3e-05/0.00797, allocations: 129.7 kB / 413.3 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.007981, allocations: 7.953 kB / 413.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.00813, allocations: 122.3 kB / 413.4 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008133, allocations: 4 kB / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.008137, allocations: 0 / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.00814, allocations: 4 kB / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.008425, allocations: 366.4 kB / 413.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008427, allocations: 0 / 413.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.008451, allocations: 8 kB / 413.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008453, allocations: 0 / 413.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.008464, allocations: 8.359 kB / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.008465, allocations: 0 / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.008467, allocations: 3.938 kB / 413.8 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.008613, allocations: 216.3 kB / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-06/0.008623, allocations: 11.98 kB / 414 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.008639, allocations: 0 / 414 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.00868, allocations: 7.984 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.00872, allocations: 15.92 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.008734, allocations: 4 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.279e-05/0.008797, allocations: 115.2 kB / 414.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008797, allocations: 0 / 414.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.008987, allocations: 35.88 kB / 414.2 MB, free: 10.65 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.001038/0.01003, allocations: 1.171 MB / 415.4 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01015, allocations: 63.97 kB / 415.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01015, allocations: 0 / 415.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.01019, allocations: 35.91 kB / 415.5 MB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.01041, allocations: 39.8 kB / 415.5 MB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.01149, allocations: 1.567 MB / 417.1 MB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.632e-05/0.01155, allocations: 84 kB / 417.2 MB, free: 7.582 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.01159, allocations: 16.97 kB / 417.2 MB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.01164, allocations: 32.59 kB / 417.2 MB, free: 7.531 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01164, allocations: 7.938 kB / 417.2 MB, free: 7.523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.02826, allocations: 4.404 MB / 421.6 MB, free: 2.953 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/6.888, allocations: 8.016 kB / 421.6 MB, free: 2.945 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.132960860617459]