Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.0008709/0.0008709, 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.001427/0.001427, 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.9376/0.9376, 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.1414/0.1414, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 406.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.164e-05, allocations: 5.938 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002178/0.0022, allocations: 1.684 MB / 408.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003526, allocations: 1.474 MB / 410.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.003593, allocations: 0 / 410.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.003869, allocations: 43.7 kB / 410.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.004084, allocations: 59.7 kB / 410.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.004279, allocations: 91.62 kB / 410.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.004653, allocations: 95.64 kB / 410.4 MB, free: 9.977 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.071e-05/0.004734, allocations: 8.234 kB / 410.4 MB, free: 9.969 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.004809, allocations: 55.81 kB / 410.4 MB, free: 9.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.004893, allocations: 31.89 kB / 410.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.00491, allocations: 7.938 kB / 410.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.005003, allocations: 55.92 kB / 410.5 MB, free: 9.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.00505, allocations: 23.92 kB / 410.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.005084, allocations: 15.92 kB / 410.6 MB, free: 9.781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.00526, allocations: 127.6 kB / 410.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005264, allocations: 4 kB / 410.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005265, allocations: 0 / 410.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.005269, allocations: 3.938 kB / 410.7 MB, free: 9.648 MB / 346.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.0003937/0.005662, allocations: 329.7 kB / 411 MB, free: 9.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.005696, allocations: 8.031 kB / 411 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.005722, allocations: 30.75 kB / 411 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.005755, allocations: 12.89 kB / 411.1 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.005938, allocations: 151.6 kB / 411.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.005949, allocations: 384 / 411.2 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.005967, allocations: 16.36 kB / 411.2 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.006101, allocations: 97.41 kB / 411.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.006112, allocations: 3.984 kB / 411.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.00612, allocations: 0 / 411.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.006124, allocations: 3.938 kB / 411.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.006177, allocations: 19.98 kB / 411.3 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.006459, allocations: 255.9 kB / 411.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.00657, allocations: 54.67 kB / 411.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.006605, allocations: 24.84 kB / 411.7 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.006618, allocations: 0 / 411.7 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.00673, allocations: 75.33 kB / 411.8 MB, free: 8.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.00673, allocations: 0 / 411.8 MB, free: 8.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003903/0.007121, allocations: 169.5 kB / 411.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.007165, allocations: 77.11 kB / 412 MB, free: 8.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.007275, allocations: 165.5 kB / 412.2 MB, free: 8.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.007287, allocations: 25.7 kB / 412.2 MB, free: 7.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.007324, allocations: 92.14 kB / 412.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.00735, allocations: 35.72 kB / 412.3 MB, free: 7.844 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.007382, allocations: 29.72 kB / 412.3 MB, free: 7.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.007463, allocations: 326.8 kB / 412.7 MB, free: 7.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.0075, allocations: 19.98 kB / 412.7 MB, free: 7.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.024e-05/0.00755, allocations: 68.27 kB / 412.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.007623, allocations: 61.64 kB / 412.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007624, allocations: 0 / 412.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001235/0.007747, allocations: 101.6 kB / 412.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.00776, allocations: 6.656 kB / 412.9 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007764, allocations: 4.062 kB / 412.9 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.007776, allocations: 4 kB / 412.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.007839, allocations: 15.94 kB / 412.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007845, allocations: 352 / 412.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.007882, allocations: 11.98 kB / 412.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.007888, allocations: 3.938 kB / 412.9 MB, free: 7.164 MB / 346.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.762e-05/0.007955, allocations: 121.8 kB / 413.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.007969, allocations: 7.953 kB / 413.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.008182, allocations: 122.4 kB / 413.2 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.008186, allocations: 0 / 413.2 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.008191, allocations: 8 kB / 413.2 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.008197, allocations: 3.984 kB / 413.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.00854, allocations: 366.3 kB / 413.6 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008541, allocations: 0 / 413.6 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.00857, allocations: 15.92 kB / 413.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.008573, allocations: 0 / 413.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.008582, allocations: 8 kB / 413.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.008585, allocations: 384 / 413.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.008588, allocations: 3.938 kB / 413.6 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.008748, allocations: 216.3 kB / 413.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.008761, allocations: 7.953 kB / 413.8 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.008778, allocations: 4 kB / 413.8 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.008825, allocations: 8 kB / 413.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.008858, allocations: 11.86 kB / 413.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.008872, allocations: 4 kB / 413.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.00894, allocations: 122.7 kB / 414 MB, free: 6.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00894, allocations: 0 / 414 MB, free: 6.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.009155, allocations: 43.86 kB / 414 MB, free: 6.027 MB / 346.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.001224/0.01038, allocations: 1.169 MB / 415.2 MB, free: 4.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.01063, allocations: 67.91 kB / 415.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01063, allocations: 0 / 415.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/0.01068, allocations: 23.98 kB / 415.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.01096, allocations: 35.91 kB / 415.3 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.01264, allocations: 1.567 MB / 416.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.003e-05/0.01271, allocations: 87.78 kB / 416.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.01277, allocations: 16.97 kB / 417 MB, free: 2.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.01283, allocations: 36.42 kB / 417 MB, free: 2.941 MB / 346.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01283, allocations: 0 / 417 MB, free: 2.941 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.03071, allocations: 4.429 MB / 421.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/6.943, allocations: 3.859 kB / 421.4 MB, free: 14.36 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.127002333290875]