Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.0008476/0.0008476, allocations: 83.52 kB / 20.02 MB, free: 4.508 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.0009439/0.0009439, allocations: 169.9 kB / 23.32 MB, free: 1.207 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.862/0.862, allocations: 158.6 MB / 185.1 MB, free: 3.027 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.1267/0.1267, allocations: 32.36 MB / 269.7 MB, free: 14.93 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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 407.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.986e-05, allocations: 5.938 kB / 407.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002599/0.002619, allocations: 1.645 MB / 408.8 MB, free: 404 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.003504, allocations: 0.7609 MB / 409.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.00358, allocations: 4 kB / 409.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.003885, allocations: 51.75 kB / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.004094, allocations: 59.69 kB / 409.7 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.004288, allocations: 83.72 kB / 409.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004437, allocations: 91.69 kB / 409.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.004475, allocations: 7.984 kB / 409.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.004552, allocations: 55.78 kB / 409.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.004619, allocations: 23.91 kB / 409.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.004637, allocations: 4 kB / 409.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.994e-05/0.004697, allocations: 35.92 kB / 409.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.004749, allocations: 27.86 kB / 410 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.004786, allocations: 15.94 kB / 410 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004936, allocations: 107.6 kB / 410.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004939, allocations: 0 / 410.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00494, allocations: 0 / 410.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004944, allocations: 0 / 410.1 MB, free: 15.07 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.0003944/0.005338, allocations: 361.4 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.005374, allocations: 12.03 kB / 410.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.00541, allocations: 46.72 kB / 410.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.005442, allocations: 16.78 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.005638, allocations: 157.2 kB / 410.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.005649, allocations: 384 / 410.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.00566, allocations: 384 / 410.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.005779, allocations: 57.98 kB / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005786, allocations: 0 / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.005794, allocations: 0 / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005798, allocations: 0 / 410.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.005843, allocations: 23.98 kB / 410.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.00598, allocations: 160.7 kB / 410.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.006091, allocations: 50.56 kB / 411 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.006122, allocations: 20.84 kB / 411 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.006135, allocations: 4 kB / 411 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.006249, allocations: 67.33 kB / 411.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.00625, allocations: 0 / 411.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002046/0.006454, allocations: 117.5 kB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.006483, allocations: 55.41 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.006644, allocations: 263.5 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.006655, allocations: 25.7 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.006699, allocations: 112.1 kB / 411.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.006723, allocations: 7.953 kB / 411.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.006749, allocations: 21.7 kB / 411.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.006823, allocations: 326.8 kB / 412 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.00685, allocations: 12 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.006883, allocations: 37.64 kB / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.757e-05/0.006941, allocations: 49.64 kB / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006943, allocations: 0 / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.292e-05/0.007036, allocations: 89.52 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.007048, allocations: 8 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007053, allocations: 0 / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.007062, allocations: 0 / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.007113, allocations: 11.94 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.007118, allocations: 4 kB / 412.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.007145, allocations: 3.953 kB / 412.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.007151, allocations: 4 kB / 412.2 MB, free: 12.77 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 7.176e-05/0.007223, allocations: 141.8 kB / 412.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.007236, allocations: 15.84 kB / 412.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.007364, allocations: 98.83 kB / 412.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007366, allocations: 0 / 412.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007369, allocations: 3.938 kB / 412.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007374, allocations: 3.984 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.151e-05/0.007465, allocations: 160.7 kB / 412.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007466, allocations: 384 / 412.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.007481, allocations: 7.984 kB / 412.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.007483, allocations: 3.938 kB / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.007491, allocations: 12 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.007492, allocations: 4 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007493, allocations: 0 / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.633e-05/0.007589, allocations: 117 kB / 412.7 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.007604, allocations: 19.84 kB / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.007617, allocations: 4 kB / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.007635, allocations: 3.984 kB / 412.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.007664, allocations: 4 kB / 412.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.007674, allocations: 0 / 412.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.00778, allocations: 211.2 kB / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00778, allocations: 4 kB / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.007923, allocations: 16 kB / 413 MB, free: 11.88 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.0008162/0.008739, allocations: 0.9911 MB / 414 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.008845, allocations: 51.91 kB / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008847, allocations: 0 / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.008879, allocations: 16 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.009062, allocations: 35.75 kB / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.01017, allocations: 1.67 MB / 415.8 MB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.738e-05/0.01023, allocations: 100.8 kB / 415.9 MB, free: 8.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.777e-05/0.01027, allocations: 8.484 kB / 415.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.01032, allocations: 44.48 kB / 415.9 MB, free: 8.859 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.01032, allocations: 0 / 415.9 MB, free: 8.859 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.02496, allocations: 4.211 MB / 420.1 MB, free: 4.512 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.838, allocations: 3.938 kB / 420.1 MB, free: 4.508 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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: 8.869485047645867]