Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001163/0.001163, 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.001401/0.001401, 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.8741/0.8741, allocations: 158.6 MB / 185 MB, free: 3.035 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.1329/0.1329, allocations: 32.37 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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.723e-05, allocations: 6.078 kB / 406.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002261/0.002288, allocations: 1.68 MB / 408.6 MB, free: 464 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.00317, allocations: 0.7842 MB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.003234, allocations: 0 / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.003508, allocations: 59.75 kB / 409.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.003692, allocations: 63.62 kB / 409.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.003884, allocations: 83.7 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.00402, allocations: 95.69 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.004108, allocations: 8.234 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.004182, allocations: 55.77 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.004245, allocations: 27.91 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.004261, allocations: 4 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.032e-05/0.004331, allocations: 47.91 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.004383, allocations: 31.86 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.004419, allocations: 15.94 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.004578, allocations: 127.5 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.004582, allocations: 0 / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004582, allocations: 3.938 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004587, allocations: 0 / 410 MB, free: 15.05 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.0004187/0.005005, allocations: 365.4 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.00504, allocations: 12.03 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.005068, allocations: 34.73 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.005101, allocations: 20.84 kB / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.005287, allocations: 161.2 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.005297, allocations: 384 / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.005316, allocations: 4.375 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.005424, allocations: 57.98 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005432, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.005439, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005444, allocations: 4 kB / 410.6 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.005493, allocations: 23.92 kB / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.005769, allocations: 268 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.005875, allocations: 62.67 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.005907, allocations: 16.86 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.005921, allocations: 7.984 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.006029, allocations: 71.31 kB / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.00603, allocations: 0 / 411.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003738/0.006404, allocations: 197.2 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.006431, allocations: 51.41 kB / 411.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.006591, allocations: 263.5 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.006603, allocations: 33.7 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.006653, allocations: 108.1 kB / 411.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.006677, allocations: 27.78 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.006707, allocations: 25.72 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.006782, allocations: 326.8 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.006817, allocations: 23.98 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.006856, allocations: 37.7 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.118e-05/0.006927, allocations: 65.62 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006929, allocations: 4 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001091/0.007038, allocations: 105.6 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.00705, allocations: 4 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007055, allocations: 160 / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.007065, allocations: 0 / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.007128, allocations: 24.12 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.007133, allocations: 3.984 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.007163, allocations: 15.88 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.007168, allocations: 0 / 412.4 MB, free: 12.46 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.221e-05/0.00724, allocations: 137.8 kB / 412.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.007253, allocations: 19.94 kB / 412.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.007405, allocations: 123.1 kB / 412.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007407, allocations: 0 / 412.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.007411, allocations: 0 / 412.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007414, allocations: 0 / 412.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.007708, allocations: 382.3 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.007709, allocations: 0 / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.007732, allocations: 12 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007735, allocations: 0 / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.007744, allocations: 4.375 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007746, allocations: 8.031 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.007749, allocations: 15.86 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.007883, allocations: 208.3 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.007895, allocations: 15.84 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007909, allocations: 0 / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.00795, allocations: 15.92 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.007978, allocations: 7.938 kB / 413.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.007992, allocations: 7.984 kB / 413.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.008101, allocations: 199.3 kB / 413.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008101, allocations: 0 / 413.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000178/0.008279, allocations: 31.94 kB / 413.5 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.0009337/0.009213, allocations: 1.133 MB / 414.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.009327, allocations: 59.91 kB / 414.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.009329, allocations: 4 kB / 414.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.009371, allocations: 31.92 kB / 414.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.009592, allocations: 32.02 kB / 414.8 MB, free: 9.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.01083, allocations: 1.825 MB / 416.6 MB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.0109, allocations: 109.9 kB / 416.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.538e-05/0.01094, allocations: 8.5 kB / 416.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.01099, allocations: 48.47 kB / 416.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01099, allocations: 0 / 416.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.02504, allocations: 4.539 MB / 421.3 MB, free: 3.176 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.003, allocations: 7.844 kB / 421.3 MB, free: 3.168 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.124141372740269]