Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.0007856/0.0007856, 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.00105/0.00105, 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.9163/0.9163, 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.1394/0.1394, 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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 3.938 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.781e-05, allocations: 6.078 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002516/0.002544, allocations: 1.641 MB / 408.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003651, allocations: 0.7648 MB / 409.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.003731, allocations: 0 / 409.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.00411, allocations: 59.69 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.00435, allocations: 59.75 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.004546, allocations: 83.7 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.004738, allocations: 91.64 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.742e-05/0.004796, allocations: 4 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.004898, allocations: 55.81 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.004986, allocations: 19.92 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.005005, allocations: 4 kB / 409.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.005073, allocations: 43.86 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.00513, allocations: 27.91 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.00517, allocations: 19.88 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.00534, allocations: 107.6 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005343, allocations: 0 / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.005344, allocations: 3.938 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.005353, allocations: 0 / 409.9 MB, free: 15.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004447/0.005798, allocations: 353.5 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.005835, allocations: 8.031 kB / 410.2 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.005866, allocations: 34.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.0059, allocations: 20.84 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.006123, allocations: 157.2 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.006138, allocations: 4.359 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.006151, allocations: 12.25 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.006271, allocations: 53.98 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.006278, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.006286, allocations: 4 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.00629, allocations: 0 / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.006346, allocations: 15.98 kB / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.0065, allocations: 156.7 kB / 410.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.006626, allocations: 62.59 kB / 410.8 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.006659, allocations: 20.78 kB / 410.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.006675, allocations: 4 kB / 410.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.006806, allocations: 71.33 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.006808, allocations: 0 / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002155/0.007023, allocations: 101.6 kB / 410.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.007058, allocations: 59.33 kB / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.007232, allocations: 263.5 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.007244, allocations: 29.7 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.007299, allocations: 112.1 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.007327, allocations: 11.95 kB / 411.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.007357, allocations: 17.72 kB / 411.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.007437, allocations: 322.8 kB / 411.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.007473, allocations: 15.98 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.007512, allocations: 33.7 kB / 411.8 MB, free: 13.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.566e-05/0.007577, allocations: 45.7 kB / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.007579, allocations: 0 / 411.8 MB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001035/0.007683, allocations: 93.47 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.007697, allocations: 4 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007701, allocations: 0 / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.007714, allocations: 4 kB / 411.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.007776, allocations: 11.98 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.007782, allocations: 0 / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.007816, allocations: 7.953 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.007821, allocations: 3.938 kB / 412 MB, free: 12.87 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 (7): * Single equations (assignments): 7 * 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.256e-05/0.007904, allocations: 133.8 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.007919, allocations: 23.88 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.00807, allocations: 102.8 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.008072, allocations: 0 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008077, allocations: 3.938 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.00808, allocations: 4 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.008184, allocations: 165 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008186, allocations: 0 / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.00821, allocations: 8 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.008215, allocations: 7.938 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.008224, allocations: 7.984 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.008225, allocations: 3.938 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008226, allocations: 4 kB / 412.4 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.008343, allocations: 117 kB / 412.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.008362, allocations: 19.84 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.008377, allocations: 0 / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.008399, allocations: 4 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.008429, allocations: 3.984 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.008443, allocations: 4 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.008561, allocations: 199.3 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008561, allocations: 0 / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.00872, allocations: 23.98 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009754/0.009695, allocations: 0.9935 MB / 413.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.009825, allocations: 39.98 kB / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.009827, allocations: 0 / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.009864, allocations: 23.92 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.01008, allocations: 39.67 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.01137, allocations: 1.662 MB / 415.5 MB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.669e-05/0.01144, allocations: 100.8 kB / 415.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.685e-05/0.01149, allocations: 12.59 kB / 415.6 MB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.01154, allocations: 44.42 kB / 415.7 MB, free: 8.953 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01154, allocations: 0 / 415.7 MB, free: 8.953 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.02919, allocations: 4.223 MB / 419.9 MB, free: 4.605 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.104, allocations: 12 kB / 419.9 MB, free: 4.594 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.282350659370422]