Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.000939/0.000939, allocations: 80.53 kB / 19.93 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.0008719/0.0008719, allocations: 173.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.8593/0.8593, allocations: 158.6 MB / 185 MB, free: 3.043 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.1311/0.1311, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.163e-05, allocations: 6.078 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002412/0.002433, allocations: 1.68 MB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.003889, allocations: 1.478 MB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.003957, allocations: 4 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.004234, allocations: 35.78 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.004485, allocations: 71.55 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.004719, allocations: 83.7 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.004895, allocations: 111.6 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004997, allocations: 12.22 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.005086, allocations: 47.89 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.005191, allocations: 31.91 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.005209, allocations: 8 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.00533, allocations: 67.89 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.005383, allocations: 15.88 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.005424, allocations: 27.91 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.005623, allocations: 135.5 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005626, allocations: 0 / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005628, allocations: 3.938 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.005632, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004242/0.006056, allocations: 345.6 kB / 411.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.006092, allocations: 8.031 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.006121, allocations: 38.75 kB / 411.1 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.006156, allocations: 8.891 kB / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.00636, allocations: 142.2 kB / 411.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.006372, allocations: 8.375 kB / 411.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.00639, allocations: 8.109 kB / 411.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.006543, allocations: 101 kB / 411.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.006551, allocations: 0 / 411.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.006564, allocations: 11.98 kB / 411.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.006569, allocations: 0 / 411.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.006784, allocations: 23.98 kB / 411.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.007089, allocations: 275.8 kB / 411.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.007232, allocations: 70.61 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.007271, allocations: 28.84 kB / 411.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.007284, allocations: 0 / 411.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.007397, allocations: 71.38 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.007399, allocations: 4 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004481/0.007847, allocations: 213.8 kB / 412.1 MB, free: 12.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.007887, allocations: 81.05 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.008003, allocations: 174.3 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.008014, allocations: 29.7 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.008056, allocations: 96.12 kB / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.008086, allocations: 43.8 kB / 412.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.00812, allocations: 21.72 kB / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.008194, allocations: 318.8 kB / 412.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.008239, allocations: 31.98 kB / 412.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.008296, allocations: 76.27 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.399e-05/0.00838, allocations: 77.67 kB / 413 MB, free: 11.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.008381, allocations: 4.031 kB / 413 MB, free: 11.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001316/0.008513, allocations: 125.5 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.008526, allocations: 4 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.008531, allocations: 80 / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.008548, allocations: 7.938 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.008615, allocations: 12 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.008622, allocations: 11.92 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.008655, allocations: 3.984 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.008662, allocations: 4 kB / 413.1 MB, free: 11.67 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 (11): * Single equations (assignments): 11 * 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.519e-05/0.008737, allocations: 129.8 kB / 413.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.008752, allocations: 7.953 kB / 413.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.00894, allocations: 138.4 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008942, allocations: 0 / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.008948, allocations: 7.938 kB / 413.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.008953, allocations: 3.984 kB / 413.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.009287, allocations: 386.4 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.00929, allocations: 3.984 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.009323, allocations: 15.94 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.009329, allocations: 7.969 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.009336, allocations: 0 / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.009339, allocations: 7.938 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.009341, allocations: 0 / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.009508, allocations: 224.3 kB / 414.1 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.009521, allocations: 11.89 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.009539, allocations: 7.984 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.009585, allocations: 7.938 kB / 414.1 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.009617, allocations: 8.172 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.009631, allocations: 4 kB / 414.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.282e-05/0.009704, allocations: 131.2 kB / 414.2 MB, free: 10.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009704, allocations: 4 kB / 414.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.009918, allocations: 39.86 kB / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 9 * 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.001144/0.01106, allocations: 1.199 MB / 415.5 MB, free: 9.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.01122, allocations: 83.83 kB / 415.6 MB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01122, allocations: 0 / 415.6 MB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.01127, allocations: 39.92 kB / 415.6 MB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01151, allocations: 27.97 kB / 415.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.01298, allocations: 1.656 MB / 417.3 MB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.263e-05/0.01304, allocations: 85.44 kB / 417.4 MB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.0131, allocations: 20.42 kB / 417.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.01316, allocations: 40.48 kB / 417.4 MB, free: 7.203 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01316, allocations: 0 / 417.4 MB, free: 7.203 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.02935, allocations: 4.644 MB / 422.1 MB, free: 2.406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.751, allocations: 11.89 kB / 422.1 MB, free: 2.395 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.685436705127358]