Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001172/0.001172, 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.001654/0.001654, 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.874/0.874, allocations: 158.6 MB / 185.1 MB, free: 2.98 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.132/0.132, allocations: 32.36 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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 407.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.875e-05, allocations: 10.08 kB / 407.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002329/0.002348, allocations: 1.68 MB / 408.8 MB, free: 352 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008652/0.003213, allocations: 0.7726 MB / 409.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.00328, allocations: 0 / 409.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.003553, allocations: 43.7 kB / 409.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.003744, allocations: 59.64 kB / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.003944, allocations: 83.69 kB / 409.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004091, allocations: 107.6 kB / 409.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.004177, allocations: 4.234 kB / 409.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.004253, allocations: 43.91 kB / 409.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.004328, allocations: 35.89 kB / 410 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.004345, allocations: 4 kB / 410 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.004424, allocations: 43.88 kB / 410 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.004477, allocations: 19.86 kB / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.004516, allocations: 23.91 kB / 410.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.004674, allocations: 99.69 kB / 410.2 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004677, allocations: 0 / 410.2 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.004678, allocations: 0 / 410.2 MB, free: 15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.004682, allocations: 0 / 410.2 MB, free: 15 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.0003949/0.005077, allocations: 329.7 kB / 410.5 MB, free: 14.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.005112, allocations: 12.03 kB / 410.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.55e-05/0.005137, allocations: 34.75 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.005169, allocations: 12.88 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.005498, allocations: 142.2 kB / 410.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.00551, allocations: 4.359 kB / 410.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.005529, allocations: 8.062 kB / 410.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.00564, allocations: 57.67 kB / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.005649, allocations: 0 / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005657, allocations: 0 / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.005662, allocations: 0 / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.00571, allocations: 27.98 kB / 410.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.00598, allocations: 252 kB / 411 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.006091, allocations: 58.61 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.006125, allocations: 28.8 kB / 411.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.006138, allocations: 0 / 411.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.006252, allocations: 71.38 kB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.006253, allocations: 0 / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004022/0.006655, allocations: 177.4 kB / 411.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.006687, allocations: 63.41 kB / 411.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.006795, allocations: 166.3 kB / 411.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.006807, allocations: 29.7 kB / 411.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.00685, allocations: 96.12 kB / 411.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.006874, allocations: 23.8 kB / 411.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.006903, allocations: 25.7 kB / 411.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.006977, allocations: 322.8 kB / 412.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.007012, allocations: 15.98 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.007054, allocations: 41.64 kB / 412.1 MB, free: 12.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.815e-05/0.007132, allocations: 65.7 kB / 412.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.007133, allocations: 0 / 412.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001222/0.007255, allocations: 113.5 kB / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.007273, allocations: 4 kB / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.007278, allocations: 160 / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.007288, allocations: 0 / 412.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.007358, allocations: 16 kB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.007366, allocations: 11.91 kB / 412.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.007395, allocations: 0 / 412.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.007403, allocations: 4 kB / 412.3 MB, free: 12.62 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.586e-05/0.007468, allocations: 129.8 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.00748, allocations: 7.953 kB / 412.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.007636, allocations: 122.4 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007638, allocations: 0 / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.007643, allocations: 7.938 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007646, allocations: 0 / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.007923, allocations: 362.4 kB / 412.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007924, allocations: 0 / 412.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.007948, allocations: 11.98 kB / 413 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.007951, allocations: 7.969 kB / 413 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007959, allocations: 4 kB / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007961, allocations: 384 / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007961, allocations: 3.938 kB / 413 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.008091, allocations: 208.3 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.008105, allocations: 23.88 kB / 413.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.008119, allocations: 0 / 413.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.709e-05/0.008156, allocations: 4 kB / 413.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.008188, allocations: 7.984 kB / 413.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.0082, allocations: 4 kB / 413.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.32e-05/0.008263, allocations: 127.2 kB / 413.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008263, allocations: 4 kB / 413.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.00845, allocations: 27.92 kB / 413.4 MB, free: 11.5 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.001207/0.009657, allocations: 1.133 MB / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.009788, allocations: 55.97 kB / 414.6 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00979, allocations: 0 / 414.6 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.009834, allocations: 35.92 kB / 414.6 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.01006, allocations: 20.3 kB / 414.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.01114, allocations: 1.597 MB / 416.2 MB, free: 8.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.0112, allocations: 91.44 kB / 416.3 MB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.042e-05/0.01124, allocations: 12.48 kB / 416.3 MB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.01129, allocations: 32.48 kB / 416.3 MB, free: 8.414 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01129, allocations: 0 / 416.3 MB, free: 8.414 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.0282, allocations: 4.084 MB / 420.4 MB, free: 4.188 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.127, allocations: 12.34 kB / 420.4 MB, free: 4.176 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.225363952107728]