Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001121/0.001121, 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.001217/0.001217, allocations: 174.3 kB / 23.21 MB, free: 1.348 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 1.027/1.027, 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.1574/0.1574, allocations: 32.37 MB / 269.6 MB, free: 15.04 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 406.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.216e-05, allocations: 2.281 kB / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002273/0.002295, allocations: 1.687 MB / 408.6 MB, free: 496 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.003232, allocations: 0.7803 MB / 409.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.003301, allocations: 4 kB / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.003599, allocations: 47.69 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.003791, allocations: 55.7 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.003988, allocations: 87.69 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004138, allocations: 99.58 kB / 409.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.004232, allocations: 8.234 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.004304, allocations: 55.88 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.00437, allocations: 19.92 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.004389, allocations: 4 kB / 409.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.004466, allocations: 47.91 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.00452, allocations: 23.86 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.004555, allocations: 15.94 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.00479, allocations: 115.6 kB / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004792, allocations: 0 / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004793, allocations: 3.938 kB / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004796, allocations: 0 / 410 MB, free: 15.12 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.0003961/0.005192, allocations: 341.7 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.005227, allocations: 12.03 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.005256, allocations: 30.75 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.005289, allocations: 12.84 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.005475, allocations: 146.3 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.005487, allocations: 4.359 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.005505, allocations: 384 / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.00562, allocations: 65.92 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005629, allocations: 0 / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.005637, allocations: 0 / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005641, allocations: 3.938 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.005699, allocations: 27.97 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.005979, allocations: 252 kB / 410.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.0061, allocations: 62.61 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.006134, allocations: 16.86 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.006149, allocations: 3.984 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.006263, allocations: 75.34 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.006264, allocations: 0 / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004053/0.006669, allocations: 189.4 kB / 411.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.006703, allocations: 51.41 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.006831, allocations: 194.2 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.006844, allocations: 29.7 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.006893, allocations: 100.1 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.007072, allocations: 23.8 kB / 411.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.007101, allocations: 21.7 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.007188, allocations: 330.8 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.51e-05/0.007223, allocations: 16 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.007267, allocations: 41.64 kB / 412 MB, free: 12.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.007339, allocations: 65.7 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.00734, allocations: 0 / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001171/0.007458, allocations: 113.5 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.007471, allocations: 4 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.007476, allocations: 0 / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.007487, allocations: 0 / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.007559, allocations: 20.17 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.007565, allocations: 0 / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.007591, allocations: 3.938 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.007599, allocations: 12.03 kB / 412.2 MB, free: 12.69 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 7.791e-05/0.007677, allocations: 129.7 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.007688, allocations: 11.95 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.007845, allocations: 118.6 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007846, allocations: 0 / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.007851, allocations: 0 / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.007854, allocations: 3.938 kB / 412.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.008141, allocations: 370.4 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008143, allocations: 0 / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.008164, allocations: 19.91 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.008167, allocations: 4 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.008174, allocations: 0 / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008175, allocations: 384 / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.008178, allocations: 7.922 kB / 412.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.008321, allocations: 212.3 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.008334, allocations: 11.91 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.008353, allocations: 12 kB / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.008391, allocations: 3.984 kB / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.008423, allocations: 7.938 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.008438, allocations: 11.98 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.008522, allocations: 144.1 kB / 413.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.008522, allocations: 0 / 413.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.00871, allocations: 27.92 kB / 413.2 MB, free: 11.53 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.001025/0.009734, allocations: 1.121 MB / 414.4 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.009871, allocations: 67.83 kB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.009873, allocations: 4 kB / 414.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.009918, allocations: 27.92 kB / 414.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01015, allocations: 27.92 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.01177, allocations: 1.651 MB / 416.1 MB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.64e-05/0.01184, allocations: 92.31 kB / 416.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.01188, allocations: 16.47 kB / 416.3 MB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.01194, allocations: 36.48 kB / 416.3 MB, free: 8.371 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01194, allocations: 0 / 416.3 MB, free: 8.371 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.02935, allocations: 4.181 MB / 420.5 MB, free: 4.055 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.616, allocations: 15.81 kB / 420.5 MB, free: 4.039 MB / 394.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_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_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.117838023230433]