Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001102/0.001102, allocations: 80.48 kB / 19.92 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.001073/0.001073, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.9372/0.9372, allocations: 158.6 MB / 185 MB, free: 3.039 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.1351/0.1351, 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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.454e-05, allocations: 6.078 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001916/0.00193, allocations: 1.637 MB / 408.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008737/0.002804, allocations: 0.7609 MB / 409.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.002864, allocations: 0 / 409.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.00315, allocations: 75.61 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.003322, allocations: 67.67 kB / 409.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.003471, allocations: 83.7 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.003589, allocations: 107.7 kB / 409.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.665e-05/0.003616, allocations: 0 / 409.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.003688, allocations: 63.77 kB / 409.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.003755, allocations: 39.89 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.003769, allocations: 4 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.324e-05/0.003822, allocations: 31.92 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.003859, allocations: 15.92 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.003888, allocations: 19.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.004015, allocations: 95.7 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.004016, allocations: 0 / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004017, allocations: 7.938 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.00402, allocations: 0 / 409.9 MB, free: 15.14 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.0003612/0.004382, allocations: 333.7 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.00441, allocations: 8.031 kB / 410.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.004437, allocations: 34.69 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.004466, allocations: 20.83 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.004606, allocations: 134.3 kB / 410.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.004615, allocations: 4.359 kB / 410.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.004623, allocations: 4.375 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.672e-05/0.00472, allocations: 53.98 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004727, allocations: 4 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.004734, allocations: 4 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.004738, allocations: 0 / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.00478, allocations: 19.97 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.004909, allocations: 148.7 kB / 410.7 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.005002, allocations: 50.62 kB / 410.7 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.005032, allocations: 20.84 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.005042, allocations: 0 / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.005199, allocations: 75.33 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.005199, allocations: 0 / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001685/0.005368, allocations: 101.5 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.005393, allocations: 55.41 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.005504, allocations: 194.2 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.005514, allocations: 25.7 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.005551, allocations: 96.14 kB / 411.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.005576, allocations: 27.81 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.005603, allocations: 17.72 kB / 411.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.005673, allocations: 322.8 kB / 411.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.005701, allocations: 19.98 kB / 411.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.005731, allocations: 29.72 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.743e-05/0.005789, allocations: 45.64 kB / 411.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.00579, allocations: 4 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.165e-05/0.005882, allocations: 85.52 kB / 411.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.005892, allocations: 11.94 kB / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005896, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.005904, allocations: 0 / 411.8 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.00595, allocations: 12.03 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.005954, allocations: 0 / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.005981, allocations: 7.984 kB / 411.9 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.005986, allocations: 7.938 kB / 411.9 MB, free: 13 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 6.431e-05/0.00605, allocations: 121.8 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.006061, allocations: 11.89 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.006178, allocations: 102 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00618, allocations: 0 / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.006183, allocations: 0 / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.006186, allocations: 0 / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.518e-05/0.006271, allocations: 157.1 kB / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006273, allocations: 3.984 kB / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.006286, allocations: 12 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.006289, allocations: 3.938 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.006295, allocations: 0 / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006296, allocations: 0 / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006297, allocations: 0 / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.006389, allocations: 113.1 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.006403, allocations: 15.89 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.006417, allocations: 4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.006434, allocations: 3.984 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.006455, allocations: 11.94 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.006463, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.006664, allocations: 144.1 kB / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006664, allocations: 0 / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.006816, allocations: 23.94 kB / 412.6 MB, free: 12.21 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.0008195/0.007636, allocations: 0.9861 MB / 413.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.007741, allocations: 43.92 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007743, allocations: 64 / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.007779, allocations: 27.97 kB / 413.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.007947, allocations: 27.92 kB / 413.7 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.008973, allocations: 1.498 MB / 415.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.467e-05/0.009027, allocations: 83.27 kB / 415.2 MB, free: 9.434 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.009066, allocations: 12.48 kB / 415.2 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.009107, allocations: 36.48 kB / 415.3 MB, free: 9.387 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009108, allocations: 0 / 415.3 MB, free: 9.387 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.02496, allocations: 3.886 MB / 419.2 MB, free: 5.371 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.866, allocations: 11.88 kB / 419.2 MB, free: 5.359 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.110749883577228]