Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.0009157/0.0009157, 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.001052/0.001052, 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.9004/0.9004, allocations: 158.6 MB / 185 MB, free: 3.023 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.1283/0.1283, 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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 406.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.615e-05, allocations: 10.08 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002285/0.002302, allocations: 1.888 MB / 408.8 MB, free: 276 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.00333, allocations: 0.9401 MB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.003409, allocations: 4 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.003911, allocations: 207.2 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.004171, allocations: 163.2 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.00449, allocations: 195.5 kB / 410.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.004738, allocations: 259.2 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.004832, allocations: 13.8 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.004982, allocations: 139.6 kB / 410.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.005091, allocations: 99.77 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.005111, allocations: 12 kB / 410.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.005225, allocations: 59.89 kB / 410.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.005294, allocations: 59.77 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.005347, allocations: 47.84 kB / 411 MB, free: 14.08 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.005571, allocations: 239.1 kB / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005573, allocations: 0 / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005574, allocations: 0 / 411.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.005578, allocations: 0 / 411.2 MB, free: 13.84 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005258/0.006103, allocations: 486.5 kB / 411.7 MB, free: 13.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.006136, allocations: 11.97 kB / 411.7 MB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.006164, allocations: 38.75 kB / 411.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.006202, allocations: 20.8 kB / 411.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.006428, allocations: 224.7 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.006439, allocations: 384 / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.00645, allocations: 4.375 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.006596, allocations: 103.7 kB / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.006603, allocations: 0 / 412.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.006615, allocations: 7.984 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.006619, allocations: 8 kB / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.006695, allocations: 47.91 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.007037, allocations: 332.7 kB / 412.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.007206, allocations: 121.2 kB / 412.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.00726, allocations: 37.7 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.007273, allocations: 4 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.007416, allocations: 128.9 kB / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 8.22e-07/0.007417, allocations: 0 / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002853/0.007702, allocations: 189.4 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.007739, allocations: 81.05 kB / 413 MB, free: 11.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.007966, allocations: 336.2 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.00798, allocations: 33.69 kB / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.008046, allocations: 136.1 kB / 413.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.008071, allocations: 31.73 kB / 413.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.008108, allocations: 29.72 kB / 413.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.008197, allocations: 342.8 kB / 413.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.00825, allocations: 35.97 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.008325, allocations: 97.97 kB / 414 MB, free: 10.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.008435, allocations: 99.36 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008437, allocations: 0 / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001582/0.008595, allocations: 150 kB / 414.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.008606, allocations: 4.094 kB / 414.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.008612, allocations: 8 kB / 414.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.008623, allocations: 0 / 414.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.008692, allocations: 27.98 kB / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.008697, allocations: 4 kB / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.008741, allocations: 11.94 kB / 414.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.00875, allocations: 8 kB / 414.3 MB, free: 10.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.085e-05/0.00884, allocations: 157.6 kB / 414.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.00889, allocations: 19.86 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.009099, allocations: 183.5 kB / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.009102, allocations: 4 kB / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.009105, allocations: 0 / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.009109, allocations: 3.938 kB / 414.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.009244, allocations: 208.6 kB / 414.9 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.009245, allocations: 0 / 414.9 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.009271, allocations: 19.92 kB / 414.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.009272, allocations: 0 / 414.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.009282, allocations: 8 kB / 414.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.009284, allocations: 0 / 414.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.009284, allocations: 3.938 kB / 414.9 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.009462, allocations: 205.7 kB / 415.1 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.009484, allocations: 15.86 kB / 415.2 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.009507, allocations: 11.98 kB / 415.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.00954, allocations: 4 kB / 415.2 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.00958, allocations: 15.92 kB / 415.2 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.009593, allocations: 7.984 kB / 415.2 MB, free: 9.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002303/0.009824, allocations: 251.1 kB / 415.4 MB, free: 9.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009824, allocations: 0 / 415.4 MB, free: 9.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000183/0.01001, allocations: 39.94 kB / 415.5 MB, free: 9.223 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,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.0009313/0.01094, allocations: 1.084 MB / 416.6 MB, free: 8.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.01111, allocations: 95.89 kB / 416.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01111, allocations: 0 / 416.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.47e-05/0.01117, allocations: 51.91 kB / 416.7 MB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.0114, allocations: 57.97 kB / 416.8 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.01326, allocations: 2.329 MB / 419.1 MB, free: 5.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.01334, allocations: 132.2 kB / 419.2 MB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.01341, allocations: 34.09 kB / 419.3 MB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.01348, allocations: 68.47 kB / 419.3 MB, free: 5.254 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.01348, allocations: 4 kB / 419.3 MB, free: 5.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.03124, allocations: 6.59 MB / 425.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.498/6.529, allocations: 15.92 kB / 425.9 MB, free: 14.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.53609397355467]