Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.0008253/0.0008253, 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.001554/0.001554, 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.8426/0.8426, 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.1273/0.1273, 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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.368e-05, allocations: 6.078 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002099/0.002123, allocations: 1.641 MB / 408.6 MB, free: 0.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.003004, allocations: 0.7571 MB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.003067, allocations: 0 / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.003356, allocations: 63.62 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.00355, allocations: 59.75 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.003738, allocations: 87.69 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.003876, allocations: 91.7 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.003917, allocations: 4 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.004007, allocations: 55.77 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.00408, allocations: 19.92 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.004098, allocations: 4 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.756e-05/0.004165, allocations: 35.92 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.004221, allocations: 27.91 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.004262, allocations: 23.86 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004433, allocations: 111.6 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004437, allocations: 3.938 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004438, allocations: 0 / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.004442, 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.0004306/0.004873, allocations: 357.5 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.004912, allocations: 8.031 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.004945, allocations: 30.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.004979, allocations: 24.84 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.005175, allocations: 157.2 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.005185, allocations: 384 / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.005195, allocations: 8.312 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.005304, allocations: 49.98 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.005311, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.00532, allocations: 4 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.005324, allocations: 4 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.00537, allocations: 19.92 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.005518, allocations: 160.7 kB / 410.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.005622, allocations: 54.61 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.005655, allocations: 20.84 kB / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.005667, allocations: 0 / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.005783, allocations: 79.31 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.005784, allocations: 3.938 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001976/0.005981, allocations: 97.58 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.006009, allocations: 51.41 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.006174, allocations: 267.5 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.006186, allocations: 29.7 kB / 411.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.006235, allocations: 112.1 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.006262, allocations: 11.94 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.006291, allocations: 17.72 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.99e-05/0.006371, allocations: 326.8 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.006403, allocations: 15.98 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.006437, allocations: 29.7 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.006499, allocations: 45.66 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.0065, allocations: 0 / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.548e-05/0.006596, allocations: 101.5 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006607, allocations: 4 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.006613, allocations: 0 / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.006625, allocations: 4 kB / 411.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.006681, allocations: 11.98 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.006686, allocations: 0 / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.006717, allocations: 7.953 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.006721, allocations: 0 / 412 MB, free: 12.88 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.587e-05/0.006797, allocations: 133.8 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.006811, allocations: 27.81 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.00695, allocations: 102.8 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.006952, allocations: 0 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.006956, allocations: 3.938 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006959, allocations: 0 / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.915e-05/0.007058, allocations: 169 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.00706, allocations: 0 / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.007078, allocations: 8 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.00708, allocations: 3.938 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.007087, allocations: 4 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007088, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007089, allocations: 4 kB / 412.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.007193, allocations: 121 kB / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.007211, allocations: 27.83 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.007224, allocations: 0 / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.007244, allocations: 4 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.00727, allocations: 3.984 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.007284, allocations: 4 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.007386, allocations: 199.3 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007386, allocations: 0 / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.007527, allocations: 20 kB / 412.8 MB, free: 11.97 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.0008476/0.008375, allocations: 0.9935 MB / 413.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.008484, allocations: 43.92 kB / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.008485, allocations: 0 / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.00852, allocations: 19.98 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.008704, allocations: 27.77 kB / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.009859, allocations: 1.67 MB / 415.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.945e-05/0.009919, allocations: 100.8 kB / 415.6 MB, free: 9.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.00996, allocations: 12.59 kB / 415.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.01001, allocations: 40.42 kB / 415.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01001, allocations: 0 / 415.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.0265, allocations: 4.23 MB / 419.9 MB, free: 4.609 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.473/6.499, allocations: 7.938 kB / 419.9 MB, free: 4.602 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.406242820434272]