Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.0007973/0.0007973, 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.0008481/0.0008481, 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.8845/0.8845, 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.1293/0.1293, 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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.791e-05, allocations: 2.281 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002073/0.002091, allocations: 1.691 MB / 408.6 MB, free: 472 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.003129, allocations: 0.7804 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.003204, allocations: 3.938 kB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.003518, allocations: 51.75 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.003727, allocations: 63.69 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.003934, allocations: 91.62 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.004065, allocations: 95.7 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.004153, allocations: 12.2 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.004226, allocations: 51.78 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.004291, allocations: 23.91 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.004314, allocations: 4 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.004393, allocations: 47.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.004445, allocations: 27.86 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.004483, allocations: 27.91 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.004646, allocations: 127.5 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004647, allocations: 0 / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004648, allocations: 3.938 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004652, allocations: 0 / 410 MB, free: 15.05 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.0004076/0.00506, allocations: 357.5 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.005098, allocations: 8.031 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.005129, allocations: 34.75 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.00516, allocations: 24.78 kB / 410.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.005348, allocations: 161.2 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.005361, allocations: 8.375 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.005378, allocations: 4.359 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.005488, allocations: 57.98 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.005499, allocations: 4 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005507, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.005511, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/0.005562, allocations: 19.98 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.005845, allocations: 263.9 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.005956, allocations: 58.67 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.005989, allocations: 20.84 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.006002, allocations: 0 / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.006111, allocations: 79.27 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.006112, allocations: 0 / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003901/0.006502, allocations: 185.4 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.006531, allocations: 55.41 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.006694, allocations: 271.4 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.006705, allocations: 33.7 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.006751, allocations: 108.1 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.006775, allocations: 27.78 kB / 411.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.006804, allocations: 25.7 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.006878, allocations: 334.8 kB / 412.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.217e-05/0.00691, allocations: 15.98 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.006949, allocations: 37.7 kB / 412.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.751e-05/0.007017, allocations: 57.72 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007018, allocations: 3.938 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001094/0.007127, allocations: 109.7 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.007138, allocations: 4 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.007145, allocations: 8.062 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.007156, allocations: 0 / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.007228, allocations: 20.11 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.007233, allocations: 3.984 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.007263, allocations: 7.938 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.00727, allocations: 4 kB / 412.4 MB, free: 12.48 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.402e-05/0.007344, allocations: 137.8 kB / 412.5 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.007358, allocations: 19.89 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.007515, allocations: 131 kB / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.007517, allocations: 0 / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.007521, allocations: 0 / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007523, allocations: 4 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.007804, allocations: 378.4 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007805, allocations: 0 / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.007828, allocations: 11.98 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007829, allocations: 0 / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.007837, allocations: 8.031 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007839, allocations: 384 / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007841, allocations: 3.938 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.007972, allocations: 212.2 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.007986, allocations: 19.83 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.008005, allocations: 12 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.008041, allocations: 0 / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.008075, allocations: 11.92 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.008087, allocations: 7.938 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.008203, allocations: 199.3 kB / 413.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008203, allocations: 0 / 413.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.00838, allocations: 35.92 kB / 413.5 MB, free: 11.22 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.0009567/0.009336, allocations: 1.133 MB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.009458, allocations: 63.92 kB / 414.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.009459, allocations: 0 / 414.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.009498, allocations: 23.98 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.009724, allocations: 40 kB / 414.8 MB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.01115, allocations: 1.833 MB / 416.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.439e-05/0.01122, allocations: 105.9 kB / 416.7 MB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.023e-05/0.01126, allocations: 12.48 kB / 416.7 MB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.01131, allocations: 40.48 kB / 416.8 MB, free: 7.859 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01131, allocations: 0 / 416.8 MB, free: 7.859 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.02593, allocations: 4.542 MB / 421.3 MB, free: 3.184 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.7/6.726, allocations: 3.906 kB / 421.3 MB, free: 3.18 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.694631745107472]