Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.0009082/0.0009082, allocations: 80.48 kB / 19.92 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.000893/0.000893, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8751/0.8751, allocations: 158.6 MB / 185 MB, free: 3.039 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.1288/0.1288, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 406.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.586e-05, allocations: 6.078 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002717/0.002743, allocations: 1.954 MB / 408.9 MB, free: 208 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003752, allocations: 0.8659 MB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.003846, allocations: 7.938 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.004147, allocations: 47.69 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.004379, allocations: 71.5 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.00462, allocations: 135.5 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.004824, allocations: 199.3 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004926, allocations: 17.8 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.005058, allocations: 115.7 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.005147, allocations: 63.8 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.00517, allocations: 12 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.005249, allocations: 51.91 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.00531, allocations: 39.84 kB / 410.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.00537, allocations: 43.84 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.005594, allocations: 203.3 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005598, allocations: 0 / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005599, allocations: 0 / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005604, allocations: 0 / 410.7 MB, free: 14.34 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006475/0.006251, allocations: 0.4888 MB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.006287, allocations: 8.031 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.006334, allocations: 42.73 kB / 411.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.006383, allocations: 16.84 kB / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.006631, allocations: 182.3 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.006648, allocations: 12.36 kB / 411.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.006674, allocations: 8.375 kB / 411.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.006935, allocations: 178.2 kB / 411.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006943, allocations: 4 kB / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.006955, allocations: 7.938 kB / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.00696, allocations: 3.984 kB / 411.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.007183, allocations: 119.8 kB / 411.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.007615, allocations: 0.4961 MB / 412.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.007978, allocations: 146.6 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.008105, allocations: 72.8 kB / 412.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.008121, allocations: 11.98 kB / 412.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.008343, allocations: 156.9 kB / 412.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.008344, allocations: 0 / 412.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004603/0.008804, allocations: 265.3 kB / 412.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.008838, allocations: 59.39 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.008989, allocations: 224.3 kB / 413.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.009007, allocations: 29.7 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.009071, allocations: 124.3 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.009097, allocations: 43.77 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.009143, allocations: 37.61 kB / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.009228, allocations: 330.8 kB / 413.7 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.009365, allocations: 101.6 kB / 413.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.009507, allocations: 141.9 kB / 414 MB, free: 10.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.009762, allocations: 197.8 kB / 414.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009765, allocations: 0 / 414.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003456/0.01011, allocations: 288.7 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.01014, allocations: 33.7 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01014, allocations: 128 / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.01016, allocations: 8 kB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.01025, allocations: 35.97 kB / 414.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01025, allocations: 7.984 kB / 414.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.01034, allocations: 27.81 kB / 414.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.01036, allocations: 8 kB / 414.6 MB, free: 10.17 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.139e-05/0.01044, allocations: 133.8 kB / 414.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.01046, allocations: 15.91 kB / 414.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.01079, allocations: 219 kB / 414.9 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01079, allocations: 0 / 414.9 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01079, allocations: 3.938 kB / 414.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01079, allocations: 3.938 kB / 414.9 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.01092, allocations: 192.5 kB / 415.1 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01092, allocations: 3.938 kB / 415.1 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.01101, allocations: 31.97 kB / 415.2 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01101, allocations: 0 / 415.2 MB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01102, allocations: 7.984 kB / 415.2 MB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01102, allocations: 4 kB / 415.2 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01102, allocations: 0 / 415.2 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.01148, allocations: 316.8 kB / 415.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.0115, allocations: 15.89 kB / 415.5 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.01152, allocations: 0 / 415.5 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.01159, allocations: 27.91 kB / 415.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.01164, allocations: 19.97 kB / 415.6 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.01166, allocations: 7.938 kB / 415.6 MB, free: 9.109 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.01176, allocations: 167.5 kB / 415.7 MB, free: 8.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01176, allocations: 0 / 415.7 MB, free: 8.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.01194, allocations: 43.92 kB / 415.8 MB, free: 8.902 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001203/0.01315, allocations: 1.19 MB / 417 MB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.0135, allocations: 244.9 kB / 417.2 MB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0135, allocations: 4 kB / 417.2 MB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01363, allocations: 71.88 kB / 417.3 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01384, allocations: 51.89 kB / 417.3 MB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.01582, allocations: 2.289 MB / 419.6 MB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.908e-05/0.01589, allocations: 116.2 kB / 419.7 MB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.01596, allocations: 25.48 kB / 419.7 MB, free: 4.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.01603, allocations: 56.47 kB / 419.8 MB, free: 4.684 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.01603, allocations: 0 / 419.8 MB, free: 4.684 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.03234, allocations: 5.945 MB / 425.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/6.727, allocations: 19.88 kB / 425.8 MB, free: 14.59 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable trapezoid1.T_start in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.T_start from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! Error: Could not read variable trapezoid1.count in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.count from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.68147721607238]