Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.0008587/0.0008587, 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.0009639/0.0009639, 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.943/0.943, 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.1443/0.1443, 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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.687e-05, allocations: 6.078 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002642/0.002678, allocations: 1.676 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.003699, allocations: 0.7765 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.003799, allocations: 3.938 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.004194, allocations: 43.77 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.004507, allocations: 63.69 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.004848, allocations: 95.58 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.005056, allocations: 103.6 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.005175, allocations: 4.234 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.005306, allocations: 51.84 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.896e-05/0.005405, allocations: 27.89 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.005429, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.005543, allocations: 39.94 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.005619, allocations: 23.86 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.005673, allocations: 23.91 kB / 409.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.005923, allocations: 115.6 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.005928, allocations: 0 / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005929, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.005936, allocations: 4 kB / 410 MB, free: 15.08 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.000609/0.006545, allocations: 337.6 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.006607, allocations: 8.031 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.006661, allocations: 34.75 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.006707, allocations: 8.891 kB / 410.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.007019, allocations: 162.2 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.007035, allocations: 4.312 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.007061, allocations: 12.36 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.00725, allocations: 57.98 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.007264, allocations: 0 / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.007276, allocations: 0 / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.007283, allocations: 0 / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.655e-05/0.007369, allocations: 19.98 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.007832, allocations: 255.9 kB / 410.9 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.008017, allocations: 62.67 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.00807, allocations: 16.86 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.008087, allocations: 4 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.00826, allocations: 75.36 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.008262, allocations: 0 / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005973/0.008859, allocations: 189.3 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.008904, allocations: 51.41 kB / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.009095, allocations: 203.3 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.009112, allocations: 25.7 kB / 411.5 MB, free: 13.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.009174, allocations: 104.1 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.009211, allocations: 27.78 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.00926, allocations: 25.72 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.009383, allocations: 330.8 kB / 411.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.009448, allocations: 23.98 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.009514, allocations: 33.7 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.00963, allocations: 65.69 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.009631, allocations: 0 / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.00982, allocations: 101.5 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.009837, allocations: 4 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.009846, allocations: 4.156 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.009864, allocations: 4.031 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.009959, allocations: 20.11 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.009967, allocations: 3.984 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.01002, allocations: 11.94 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01003, allocations: 4 kB / 412.2 MB, free: 12.63 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 0.000114/0.01014, allocations: 125.8 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.01016, allocations: 15.95 kB / 412.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.01041, allocations: 119.1 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01042, allocations: 3.938 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01042, allocations: 4 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01043, allocations: 3.984 kB / 412.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.01076, allocations: 370.3 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01076, allocations: 0 / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.01079, allocations: 15.98 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01079, allocations: 0 / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.0108, allocations: 384 / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.0108, allocations: 0 / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.01081, allocations: 11.94 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.01096, allocations: 212.3 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.01097, allocations: 15.94 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.01098, allocations: 4 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.01102, allocations: 0 / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.01106, allocations: 15.92 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.01107, allocations: 4 kB / 413.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.81e-05/0.01116, allocations: 152.9 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 3.938 kB / 413.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.01136, allocations: 31.92 kB / 413.3 MB, free: 11.46 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.001123/0.01248, allocations: 1.129 MB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.01263, allocations: 55.91 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01263, allocations: 0 / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.01268, allocations: 31.98 kB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.01294, allocations: 28.36 kB / 414.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.01436, allocations: 1.685 MB / 416.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.784e-05/0.01443, allocations: 92.3 kB / 416.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.01448, allocations: 12.48 kB / 416.3 MB, free: 8.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.01453, allocations: 44.42 kB / 416.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01453, allocations: 0 / 416.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.03414, allocations: 4.258 MB / 420.6 MB, free: 3.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/6.985, allocations: 11.78 kB / 420.6 MB, free: 3.867 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.213935228064656]