Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.0007935/0.0007935, allocations: 75.7 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.0008374/0.0008374, 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.8649/0.8649, allocations: 158.6 MB / 185.1 MB, free: 3.004 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.137/0.137, 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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 407.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.998e-05, allocations: 5.516 kB / 407.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002655/0.002674, allocations: 1.88 MB / 409 MB, free: 156 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.003648, allocations: 0.8153 MB / 409.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.00371, allocations: 0 / 409.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.003891, allocations: 47.64 kB / 409.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.004023, allocations: 63.58 kB / 409.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.004185, allocations: 103.7 kB / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.004318, allocations: 143.5 kB / 410.2 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.004383, allocations: 21.67 kB / 410.2 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.004462, allocations: 79.73 kB / 410.3 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.004527, allocations: 35.84 kB / 410.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.004542, allocations: 8 kB / 410.3 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.083e-05/0.004602, allocations: 47.91 kB / 410.4 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.004639, allocations: 23.92 kB / 410.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.004682, allocations: 35.84 kB / 410.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.004856, allocations: 151.5 kB / 410.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.004857, allocations: 0 / 410.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004858, allocations: 0 / 410.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.004861, allocations: 0 / 410.6 MB, free: 14.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003611/0.005222, allocations: 403.1 kB / 411 MB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.005251, allocations: 8.031 kB / 411 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.005275, allocations: 42.73 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.005303, allocations: 16.84 kB / 411 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.005467, allocations: 157.5 kB / 411.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.005476, allocations: 12.38 kB / 411.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.005493, allocations: 12.3 kB / 411.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.005643, allocations: 138.2 kB / 411.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.005648, allocations: 0 / 411.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005657, allocations: 4 kB / 411.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.00566, allocations: 0 / 411.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.005753, allocations: 51.91 kB / 411.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.006145, allocations: 484 kB / 411.9 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.00634, allocations: 86.66 kB / 412 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.006392, allocations: 36.84 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.0064, allocations: 0 / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.006521, allocations: 113 kB / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.006522, allocations: 0 / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002251/0.006747, allocations: 149.5 kB / 412.3 MB, free: 12.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.006773, allocations: 55.41 kB / 412.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.006908, allocations: 191.6 kB / 412.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.006923, allocations: 29.7 kB / 412.5 MB, free: 12.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.136e-05/0.006985, allocations: 116 kB / 412.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.007007, allocations: 31.78 kB / 412.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.007039, allocations: 25.72 kB / 412.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.384e-05/0.007133, allocations: 330.8 kB / 413 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.007182, allocations: 27.98 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.007244, allocations: 64.27 kB / 413.1 MB, free: 11.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.007368, allocations: 112.1 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00737, allocations: 0 / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001563/0.007526, allocations: 133.4 kB / 413.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.00754, allocations: 8 kB / 413.4 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.007544, allocations: 4.125 kB / 413.4 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.007551, allocations: 0 / 413.4 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.007611, allocations: 27.98 kB / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.007615, allocations: 0 / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.786e-05/0.007653, allocations: 19.83 kB / 413.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.007659, allocations: 4 kB / 413.4 MB, free: 11.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.408e-05/0.007743, allocations: 129.8 kB / 413.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.007759, allocations: 15.91 kB / 413.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.007944, allocations: 139.5 kB / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.007948, allocations: 7.938 kB / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.007951, allocations: 0 / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.007956, allocations: 7.922 kB / 413.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.008063, allocations: 168.7 kB / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.008063, allocations: 0 / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.008111, allocations: 16 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.008112, allocations: 0 / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.008119, allocations: 4 kB / 413.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.00812, allocations: 0 / 413.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008122, allocations: 3.984 kB / 413.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.008356, allocations: 196.9 kB / 414.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.008375, allocations: 15.88 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.008392, allocations: 3.984 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/0.00842, allocations: 8 kB / 414.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.008449, allocations: 11.92 kB / 414.1 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.008461, allocations: 7.938 kB / 414.1 MB, free: 10.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.413e-05/0.008555, allocations: 145.1 kB / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008555, allocations: 0 / 414.3 MB, free: 10.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.008711, allocations: 27.98 kB / 414.3 MB, free: 10.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000984/0.009695, allocations: 1.063 MB / 415.4 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.009816, allocations: 79.89 kB / 415.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.009817, allocations: 0 / 415.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.009868, allocations: 43.91 kB / 415.5 MB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.01003, allocations: 47.75 kB / 415.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.01174, allocations: 1.743 MB / 417.3 MB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.115e-05/0.01182, allocations: 102.8 kB / 417.4 MB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.63e-05/0.01187, allocations: 17.14 kB / 417.4 MB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.01193, allocations: 40.48 kB / 417.4 MB, free: 7.258 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01193, allocations: 0 / 417.4 MB, free: 7.258 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.02886, allocations: 4.64 MB / 422.1 MB, free: 2.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/6.851, allocations: 11.91 kB / 422.1 MB, free: 2.457 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.951547970995307]