Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.0008201/0.0008201, allocations: 79.69 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.0009227/0.0009227, allocations: 166 kB / 23.32 MB, free: 1.199 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.9878/0.9878, allocations: 158.6 MB / 185.1 MB, free: 3.02 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.1593/0.1593, allocations: 32.36 MB / 269.7 MB, free: 14.92 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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 407.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.633e-05, allocations: 9.938 kB / 407.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00247/0.002496, allocations: 1.68 MB / 408.8 MB, free: 364 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003809, allocations: 0.7803 MB / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.003909, allocations: 0 / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.0044, allocations: 87.64 kB / 409.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.004691, allocations: 83.59 kB / 409.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.004919, allocations: 79.7 kB / 409.9 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.005107, allocations: 115.7 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.005233, allocations: 8.172 kB / 410 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.005333, allocations: 55.89 kB / 410 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.005464, allocations: 55.86 kB / 410.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.005488, allocations: 11.94 kB / 410.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.856e-05/0.005586, allocations: 47.91 kB / 410.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.005654, allocations: 19.92 kB / 410.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.005703, allocations: 15.94 kB / 410.2 MB, free: 15 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.00593, allocations: 119.6 kB / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005932, allocations: 0 / 410.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.005934, allocations: 7.875 kB / 410.3 MB, free: 14.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.005941, allocations: 0 / 410.3 MB, free: 14.87 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.0005011/0.006442, allocations: 349.5 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.006488, allocations: 8.031 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.00652, allocations: 38.73 kB / 410.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.006556, allocations: 16.84 kB / 410.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.006755, allocations: 141.6 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.006766, allocations: 4.375 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.006787, allocations: 384 / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006925, allocations: 61.98 kB / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.006938, allocations: 3.938 kB / 410.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.006947, allocations: 0 / 410.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.006953, allocations: 0 / 410.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.007006, allocations: 19.98 kB / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.007344, allocations: 255.9 kB / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.007479, allocations: 66.66 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.975e-05/0.007519, allocations: 28.78 kB / 411.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.007538, allocations: 0 / 411.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.00767, allocations: 67.39 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.007672, allocations: 0 / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004567/0.008128, allocations: 185.3 kB / 411.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.008174, allocations: 55.41 kB / 411.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.00835, allocations: 222.7 kB / 411.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.008367, allocations: 29.7 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.008428, allocations: 104.1 kB / 411.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.00846, allocations: 27.73 kB / 411.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.008496, allocations: 25.7 kB / 412 MB, free: 13.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.008608, allocations: 326.8 kB / 412.3 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.035e-05/0.008648, allocations: 23.98 kB / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.943e-05/0.008697, allocations: 37.7 kB / 412.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.008781, allocations: 61.64 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.008782, allocations: 4 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001308/0.008913, allocations: 105.5 kB / 412.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.008931, allocations: 8 kB / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.008937, allocations: 160 / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.008952, allocations: 0 / 412.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.009032, allocations: 20.17 kB / 412.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.009043, allocations: 7.984 kB / 412.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.009073, allocations: 3.938 kB / 412.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.009081, 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 0.000104/0.009185, allocations: 141.8 kB / 412.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.009198, allocations: 7.953 kB / 412.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.009387, allocations: 123.1 kB / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009389, allocations: 0 / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.009395, allocations: 0 / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.0094, allocations: 3.984 kB / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.009744, allocations: 378.3 kB / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.009747, allocations: 0 / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.009777, allocations: 11.94 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.009781, allocations: 4 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.00979, allocations: 4.406 kB / 413.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.009791, allocations: 0 / 413.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.009795, allocations: 7.938 kB / 413.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.01035, allocations: 216.2 kB / 413.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.01036, allocations: 7.953 kB / 413.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.01038, allocations: 8 kB / 413.5 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/0.01042, allocations: 0 / 413.5 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.01046, allocations: 11.92 kB / 413.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.01047, allocations: 4 kB / 413.5 MB, free: 11.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.242e-05/0.01056, allocations: 171.2 kB / 413.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 4 kB / 413.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.01074, allocations: 27.88 kB / 413.7 MB, free: 11.2 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.001022/0.01176, allocations: 1.129 MB / 414.8 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.0119, allocations: 59.92 kB / 414.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.0119, allocations: 0 / 414.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.01194, allocations: 31.92 kB / 414.9 MB, free: 9.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01219, allocations: 32.22 kB / 414.9 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.01346, allocations: 1.713 MB / 416.6 MB, free: 8.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.375e-05/0.01354, allocations: 96.94 kB / 416.7 MB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.852e-05/0.01358, allocations: 12.48 kB / 416.7 MB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.01363, allocations: 36.48 kB / 416.8 MB, free: 7.984 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01363, allocations: 0 / 416.8 MB, free: 7.984 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.03294, allocations: 4.3 MB / 421.1 MB, free: 3.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/6.606, allocations: 15.91 kB / 421.1 MB, free: 3.527 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.008138496428728]