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.0008854/0.0008854, allocations: 80.53 kB / 19.92 MB, free: 4.637 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.0009488/0.0009488, 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.9173/0.9173, allocations: 158.6 MB / 185 MB, free: 3.055 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.1401/0.1401, allocations: 32.36 MB / 269.6 MB, free: 14.98 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.723e-06/1.723e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.711e-05, allocations: 6.078 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002068/0.002085, allocations: 1.649 MB / 408.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.003008, allocations: 0.7609 MB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.003069, allocations: 0 / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.003345, allocations: 59.69 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.003534, allocations: 63.75 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.003704, allocations: 75.72 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.003837, allocations: 95.62 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.003874, allocations: 4 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.003948, allocations: 51.83 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.00401, allocations: 27.84 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004027, allocations: 4 kB / 409.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.00409, allocations: 31.94 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.004145, allocations: 31.91 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.004179, allocations: 19.88 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.004332, allocations: 107.6 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004334, allocations: 4 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.004335, allocations: 3.938 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.004339, allocations: 0 / 409.9 MB, free: 15.16 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.0004232/0.004763, allocations: 349.5 kB / 410.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004797, allocations: 8.031 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.004825, allocations: 34.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.004855, allocations: 16.84 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.005039, allocations: 169.2 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.00505, allocations: 8.312 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.005059, allocations: 384 / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005167, allocations: 53.98 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005175, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.005182, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.005186, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.005233, allocations: 19.97 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.00551, allocations: 160.7 kB / 410.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.005624, allocations: 58.55 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.005658, allocations: 20.84 kB / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.00567, allocations: 0 / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.005783, allocations: 71.33 kB / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.005784, allocations: 0 / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002037/0.005988, allocations: 105.5 kB / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.00602, allocations: 59.39 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.006182, allocations: 259.5 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006193, allocations: 37.7 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.006236, allocations: 108.1 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.00626, allocations: 11.94 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.006289, allocations: 17.72 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.006362, allocations: 326.8 kB / 411.7 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.00639, allocations: 19.98 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.006423, allocations: 25.7 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.006481, allocations: 45.7 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006483, allocations: 0 / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001/0.006583, allocations: 97.47 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.006594, allocations: 8 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.006599, allocations: 0 / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.006608, allocations: 0 / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.006659, allocations: 11.98 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.006663, allocations: 3.938 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.006693, allocations: 7.953 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006698, allocations: 4 kB / 412 MB, free: 12.87 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.639e-05/0.006765, allocations: 129.8 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.006778, allocations: 23.88 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.006904, allocations: 98.75 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006907, allocations: 7.938 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.00691, allocations: 0 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.006913, allocations: 0 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.271e-05/0.007006, allocations: 164.7 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007007, allocations: 4.375 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.007021, allocations: 7.938 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.007024, allocations: 3.938 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.007032, allocations: 7.984 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007033, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007033, allocations: 4 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.762e-05/0.007131, allocations: 117 kB / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.007146, allocations: 19.84 kB / 412.5 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.00716, allocations: 4 kB / 412.5 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.007179, allocations: 4 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.007204, allocations: 7.984 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.007214, allocations: 0 / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.00732, allocations: 199.3 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00732, allocations: 0 / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.007476, allocations: 19.98 kB / 412.8 MB, free: 11.98 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.0008323/0.008308, allocations: 1.009 MB / 413.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.00842, allocations: 43.92 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008421, allocations: 0 / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.008457, allocations: 23.98 kB / 413.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.008643, allocations: 27.75 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.01002, allocations: 1.666 MB / 415.5 MB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.01008, allocations: 96.91 kB / 415.6 MB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.01012, allocations: 16.42 kB / 415.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.01016, allocations: 40.48 kB / 415.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01016, allocations: 0 / 415.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.02503, allocations: 4.218 MB / 419.9 MB, free: 4.613 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/6.988, allocations: 12 kB / 419.9 MB, free: 4.602 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: 9.1693932460621]