Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.0009584/0.0009584, allocations: 75.7 kB / 20.02 MB, free: 4.504 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.00146/0.00146, allocations: 173.9 kB / 23.32 MB, free: 1.195 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.9354/0.9354, allocations: 158.6 MB / 185.1 MB, free: 2.914 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.1467/0.1467, allocations: 32.37 MB / 269.7 MB, free: 14.9 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 407.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.812e-05, allocations: 5.938 kB / 407.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003392/0.00342, allocations: 1.684 MB / 408.8 MB, free: 364 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.004592, allocations: 0.7765 MB / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.004677, allocations: 0 / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.005025, allocations: 87.7 kB / 409.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.005282, allocations: 87.52 kB / 409.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.005507, allocations: 79.72 kB / 409.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.005674, allocations: 111.7 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.005778, allocations: 4.234 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.005886, allocations: 63.81 kB / 410 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.006006, allocations: 59.8 kB / 410.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.006029, allocations: 4 kB / 410.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.872e-05/0.006128, allocations: 43.92 kB / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.006204, allocations: 27.91 kB / 410.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.006255, allocations: 15.94 kB / 410.2 MB, free: 15 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.006489, allocations: 115.6 kB / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.006496, allocations: 7.922 kB / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.006499, allocations: 0 / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.006507, allocations: 0 / 410.3 MB, free: 14.88 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.0006105/0.007117, allocations: 345.5 kB / 410.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.00717, allocations: 12.02 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.007211, allocations: 34.75 kB / 410.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.007263, allocations: 12.84 kB / 410.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.007531, allocations: 153.6 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.007548, allocations: 4.375 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.007572, allocations: 384 / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.007721, allocations: 57.98 kB / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.007731, allocations: 0 / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.007741, allocations: 4 kB / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.007746, allocations: 0 / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.77e-05/0.007804, allocations: 27.92 kB / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.00816, allocations: 259.9 kB / 411.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.00831, allocations: 58.67 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.00835, allocations: 24.84 kB / 411.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.008368, allocations: 0 / 411.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.008522, allocations: 71.33 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.008523, allocations: 0 / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004884/0.009012, allocations: 185.3 kB / 411.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.009046, allocations: 55.39 kB / 411.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.0092, allocations: 218.8 kB / 411.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.009215, allocations: 29.7 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.009267, allocations: 112.1 kB / 411.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.009296, allocations: 31.77 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.009332, allocations: 21.72 kB / 412 MB, free: 13.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.009426, allocations: 326.8 kB / 412.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.009471, allocations: 23.98 kB / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.738e-05/0.009518, allocations: 33.7 kB / 412.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.881e-05/0.009597, allocations: 65.64 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009598, allocations: 0 / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001338/0.009732, allocations: 105.6 kB / 412.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.009745, allocations: 4 kB / 412.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.009753, allocations: 4.156 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.009766, allocations: 3.984 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.009837, allocations: 15.94 kB / 412.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.009844, allocations: 3.984 kB / 412.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.009874, allocations: 4 kB / 412.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.009881, allocations: 4 kB / 412.6 MB, free: 12.4 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 8.679e-05/0.009968, allocations: 133.8 kB / 412.7 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.009983, allocations: 7.953 kB / 412.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.01016, allocations: 127 kB / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01017, allocations: 4 kB / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.01017, allocations: 0 / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01017, allocations: 0 / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.0105, allocations: 378.3 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01051, allocations: 0 / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.01053, allocations: 8 kB / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01054, allocations: 4 kB / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.01054, allocations: 0 / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.01055, allocations: 384 / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.01055, allocations: 15.91 kB / 413.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.01071, allocations: 208.3 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.01072, allocations: 11.95 kB / 413.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.01075, allocations: 8 kB / 413.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.042e-05/0.01079, allocations: 3.938 kB / 413.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.01083, allocations: 11.92 kB / 413.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01084, allocations: 4 kB / 413.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.01096, allocations: 171.2 kB / 413.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01096, allocations: 3.938 kB / 413.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.01116, allocations: 23.94 kB / 413.7 MB, free: 11.21 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.001165/0.01232, allocations: 1.129 MB / 414.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.01247, allocations: 59.91 kB / 414.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01247, allocations: 4.062 kB / 414.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.01252, allocations: 31.92 kB / 414.9 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.01303, allocations: 32.17 kB / 414.9 MB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.01435, allocations: 1.716 MB / 416.6 MB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.942e-05/0.01442, allocations: 96.8 kB / 416.7 MB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.01447, allocations: 12.56 kB / 416.7 MB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.01453, allocations: 40.48 kB / 416.8 MB, free: 7.984 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01453, allocations: 0 / 416.8 MB, free: 7.984 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.03322, allocations: 4.299 MB / 421.1 MB, free: 3.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/6.99, allocations: 7.844 kB / 421.1 MB, free: 3.535 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_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_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.28353937715292]