Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.0008808/0.0008808, 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.0008944/0.0008944, 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.9092/0.9092, 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.1415/0.1415, 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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.018e-05, allocations: 6.078 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002917/0.002947, allocations: 1.68 MB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.004014, allocations: 0.7842 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.004094, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.0044, allocations: 55.69 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.004616, allocations: 59.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.004861, allocations: 91.62 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.005037, allocations: 99.64 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.005135, allocations: 8.219 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.005218, allocations: 51.83 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.005291, allocations: 23.92 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.00531, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.005397, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.005453, allocations: 27.84 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.005494, allocations: 23.92 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.005672, allocations: 119.6 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005674, allocations: 3.938 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.005675, allocations: 0 / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.00568, allocations: 0 / 410 MB, free: 15.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004503/0.006131, allocations: 349.5 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.006174, allocations: 12.03 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.006207, allocations: 34.73 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.006245, allocations: 12.84 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.006478, allocations: 153.5 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.006493, allocations: 8.375 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.006511, allocations: 384 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.006643, allocations: 61.92 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006653, allocations: 0 / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.006663, allocations: 4 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.006668, allocations: 0 / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/0.006726, allocations: 23.98 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.007045, allocations: 256 kB / 410.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.007166, allocations: 58.61 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.007203, allocations: 28.84 kB / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.007217, allocations: 0 / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.007336, allocations: 67.39 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.007337, allocations: 0 / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004193/0.007757, allocations: 193.3 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.007788, allocations: 59.39 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.007941, allocations: 226.8 kB / 411.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.007955, allocations: 29.69 kB / 411.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.008002, allocations: 104.1 kB / 411.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.008028, allocations: 27.78 kB / 411.7 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.008061, allocations: 25.72 kB / 411.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.008143, allocations: 330.8 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.008183, allocations: 19.98 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/0.008226, allocations: 45.64 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.008298, allocations: 53.7 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.0083, allocations: 4 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001251/0.008425, allocations: 117.6 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.008437, allocations: 4 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.008442, allocations: 4.031 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.008454, allocations: 4.125 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.008523, allocations: 19.98 kB / 412.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.008528, allocations: 3.938 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.008558, allocations: 0 / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.008566, allocations: 8 kB / 412.3 MB, free: 12.57 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 (10): * Single equations (assignments): 10 * 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.879e-05/0.008645, allocations: 133.7 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.00866, allocations: 11.95 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.008843, allocations: 123.1 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.008849, allocations: 8 kB / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.008855, allocations: 0 / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.00886, allocations: 0 / 412.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.00942, allocations: 366.4 kB / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.009423, allocations: 0 / 412.9 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.009458, allocations: 15.92 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.009464, allocations: 4 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.009473, allocations: 4 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.009476, allocations: 384 / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.00948, allocations: 7.938 kB / 412.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.009632, allocations: 216.2 kB / 413.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.009649, allocations: 15.94 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.009665, allocations: 4 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.009709, allocations: 0 / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.009743, allocations: 15.92 kB / 413.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.00976, allocations: 4 kB / 413.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.916e-05/0.009859, allocations: 176.3 kB / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009859, allocations: 0 / 413.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.01004, allocations: 27.94 kB / 413.4 MB, free: 11.37 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 (9): * Single equations (assignments): 7 * 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.001029/0.01107, allocations: 1.129 MB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.0112, allocations: 55.91 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0112, allocations: 0 / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.01125, allocations: 39.98 kB / 414.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01149, allocations: 32.22 kB / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.01278, allocations: 1.736 MB / 416.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.506e-05/0.01285, allocations: 92.8 kB / 416.5 MB, free: 8.184 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.882e-05/0.01289, allocations: 12.56 kB / 416.5 MB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.01294, allocations: 44.47 kB / 416.5 MB, free: 8.125 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01294, allocations: 0 / 416.5 MB, free: 8.125 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.02804, allocations: 4.371 MB / 420.9 MB, free: 3.617 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.672, allocations: 11.78 kB / 420.9 MB, free: 3.605 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.746515257284045]