Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.0008735/0.0008735, allocations: 79.69 kB / 20.02 MB, free: 4.504 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.001037/0.001037, allocations: 169.9 kB / 23.32 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.8778/0.8778, allocations: 158.6 MB / 185.1 MB, free: 2.988 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.37 MB / 269.7 MB, free: 14.91 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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 407.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.437e-05, allocations: 5.938 kB / 407.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002442/0.002466, allocations: 1.804 MB / 408.9 MB, free: 232 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.0035, allocations: 0.8699 MB / 409.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.003588, allocations: 4 kB / 409.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.003941, allocations: 159.5 kB / 410 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.004214, allocations: 151.3 kB / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.004506, allocations: 143.6 kB / 410.3 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.004759, allocations: 219.3 kB / 410.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.004856, allocations: 17.8 kB / 410.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.005005, allocations: 119.7 kB / 410.6 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.005148, allocations: 119.7 kB / 410.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.005172, allocations: 8 kB / 410.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.005266, allocations: 55.84 kB / 410.8 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.005334, allocations: 51.78 kB / 410.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.00539, allocations: 43.78 kB / 410.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.005608, allocations: 183.3 kB / 411.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.00561, allocations: 0 / 411.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.005611, allocations: 0 / 411.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.005616, allocations: 0 / 411.1 MB, free: 14.09 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005125/0.006129, allocations: 452.8 kB / 411.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.006166, allocations: 11.97 kB / 411.5 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.006198, allocations: 42.73 kB / 411.6 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.006241, allocations: 32.75 kB / 411.6 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.006495, allocations: 200.8 kB / 411.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.006508, allocations: 4.375 kB / 411.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.00653, allocations: 4.375 kB / 411.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.006704, allocations: 103.7 kB / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.006714, allocations: 0 / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.006724, allocations: 4 kB / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006729, allocations: 3.938 kB / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.006802, allocations: 39.97 kB / 411.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.007179, allocations: 408.1 kB / 412.3 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.007359, allocations: 121.3 kB / 412.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.007413, allocations: 37.7 kB / 412.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.007429, allocations: 7.984 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.00758, allocations: 124.9 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.007581, allocations: 3.938 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005926/0.008174, allocations: 376.6 kB / 413 MB, free: 11.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.008211, allocations: 77.11 kB / 413.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.008447, allocations: 368.2 kB / 413.4 MB, free: 11.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.008461, allocations: 25.7 kB / 413.5 MB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.008524, allocations: 140.4 kB / 413.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.008564, allocations: 59.52 kB / 413.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.008608, allocations: 33.72 kB / 413.7 MB, free: 11.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.008694, allocations: 338.8 kB / 414 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.008766, allocations: 47.97 kB / 414.1 MB, free: 10.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.008844, allocations: 75.41 kB / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.00898, allocations: 127.5 kB / 414.3 MB, free: 10.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.008981, allocations: 0 / 414.3 MB, free: 10.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002075/0.009189, allocations: 189.3 kB / 414.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.009203, allocations: 8 kB / 414.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.009208, allocations: 0 / 414.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.00922, allocations: 0 / 414.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.009313, allocations: 36.05 kB / 414.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.009318, allocations: 0 / 414.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.009366, allocations: 11.92 kB / 414.5 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.009378, allocations: 12 kB / 414.5 MB, free: 10.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.468e-05/0.009472, allocations: 149.8 kB / 414.7 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.009495, allocations: 23.86 kB / 414.7 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.009764, allocations: 219.3 kB / 414.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009767, allocations: 0 / 414.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.009771, allocations: 0 / 414.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.009775, allocations: 8 kB / 414.9 MB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.01026, allocations: 0.5962 MB / 415.5 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01026, allocations: 4 kB / 415.5 MB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.0103, allocations: 16.75 kB / 415.5 MB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.0103, allocations: 3.938 kB / 415.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.01031, allocations: 7.984 kB / 415.5 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01032, allocations: 4 kB / 415.5 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01032, allocations: 0 / 415.5 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.01056, allocations: 388.2 kB / 415.9 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.01058, allocations: 27.84 kB / 415.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.0106, allocations: 11.88 kB / 415.9 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.01068, allocations: 8 kB / 416 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.01072, allocations: 11.97 kB / 416 MB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.01074, allocations: 12 kB / 416 MB, free: 8.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.0109, allocations: 271 kB / 416.2 MB, free: 8.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0109, allocations: 0 / 416.2 MB, free: 8.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.01112, allocations: 39.92 kB / 416.3 MB, free: 8.516 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00111/0.01223, allocations: 1.309 MB / 417.6 MB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.01244, allocations: 119.9 kB / 417.7 MB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01244, allocations: 4.125 kB / 417.7 MB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.01252, allocations: 59.91 kB / 417.8 MB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.01285, allocations: 64.67 kB / 417.8 MB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.01473, allocations: 2.484 MB / 420.3 MB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.01482, allocations: 145 kB / 420.5 MB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.01489, allocations: 33.59 kB / 420.5 MB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.01497, allocations: 76.47 kB / 420.6 MB, free: 4.09 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01497, allocations: 0 / 420.6 MB, free: 4.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.03273, allocations: 6.377 MB / 426.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.073, allocations: 3.938 kB / 426.9 MB, free: 13.57 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv failed! Error: Could not read variable t_new_2.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv. Warning: Get data of variable t_new_2.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv failed! Error: Could not read variable d_t_new_2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv. Warning: Get data of variable d_t_new_2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.183713122271001]