Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0015/0.0015, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001601/0.001601, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2007/0.2007, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 440.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.747e-05, allocations: 2.281 kB / 440.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002924/0.002951, allocations: 1.795 MB / 442 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004829, allocations: 1.045 MB / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.004904, allocations: 0 / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.005451, allocations: 315 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.005972, allocations: 263 kB / 443.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.006197, allocations: 103.6 kB / 443.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.006549, allocations: 275.1 kB / 443.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.791e-05/0.006607, allocations: 13.75 kB / 444 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.006826, allocations: 147.6 kB / 444.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.007086, allocations: 211.6 kB / 444.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.007115, allocations: 4 kB / 444.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.007217, allocations: 43.98 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.007375, allocations: 147.6 kB / 444.5 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.007478, allocations: 71.66 kB / 444.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.0079, allocations: 362.7 kB / 444.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007903, allocations: 0 / 444.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007903, allocations: 0 / 444.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.007909, allocations: 0 / 444.9 MB, free: 3.328 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001006/0.008915, allocations: 0.6785 MB / 445.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.00895, allocations: 12.03 kB / 445.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.723e-05/0.009038, allocations: 52.56 kB / 445.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.009649, allocations: 401.8 kB / 446.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.009662, allocations: 384 / 446.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.009685, allocations: 4.375 kB / 446.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.009945, allocations: 83.92 kB / 446.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.009964, allocations: 11.88 kB / 446.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.00998, allocations: 0 / 446.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.009985, allocations: 0 / 446.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.01012, allocations: 35.97 kB / 446.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.01059, allocations: 310.1 kB / 446.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.01091, allocations: 105.2 kB / 446.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01102, allocations: 37.7 kB / 446.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.01104, allocations: 0 / 446.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.0113, allocations: 117 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.01131, allocations: 0 / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006208/0.01193, allocations: 217.1 kB / 447 MB, free: 1.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/0.012, allocations: 85.11 kB / 447 MB, free: 1.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1754/0.1874, allocations: 1.059 MB / 448.1 MB, free: 21.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1874, allocations: 28.34 kB / 448.1 MB, free: 21.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.1876, allocations: 239.3 kB / 448.4 MB, free: 21.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.1877, allocations: 29.98 kB / 448.4 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.1877, allocations: 28.92 kB / 448.4 MB, free: 21.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.1878, allocations: 368.1 kB / 448.8 MB, free: 20.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.1879, allocations: 34.23 kB / 448.8 MB, free: 20.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.188, allocations: 60.88 kB / 448.9 MB, free: 20.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.1882, allocations: 92.55 kB / 449 MB, free: 20.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1882, allocations: 0 / 449 MB, free: 20.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003471/0.1885, allocations: 181.2 kB / 449.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1886, allocations: 6.25 kB / 449.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1886, allocations: 8.625 kB / 449.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.1886, allocations: 1.281 kB / 449.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1887, allocations: 23.8 kB / 449.2 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1887, allocations: 6.375 kB / 449.2 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1888, allocations: 14.33 kB / 449.2 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1888, allocations: 8.016 kB / 449.2 MB, free: 20.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001871/0.189, allocations: 218.5 kB / 449.4 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.1891, allocations: 55.02 kB / 449.5 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.1895, allocations: 206.3 kB / 449.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1895, allocations: 2.922 kB / 449.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1895, allocations: 5.094 kB / 449.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1895, allocations: 0.5625 kB / 449.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.1897, allocations: 274.5 kB / 449.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1897, allocations: 0 / 449.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.1898, allocations: 11.28 kB / 450 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1898, allocations: 0 / 450 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1898, allocations: 4.141 kB / 450 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1898, allocations: 6.875 kB / 450 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1898, allocations: 0.5625 kB / 450 MB, free: 20.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.1901, allocations: 222.9 kB / 450.2 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.1902, allocations: 73.06 kB / 450.3 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.1903, allocations: 4.375 kB / 450.3 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.1903, allocations: 9.734 kB / 450.3 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.1904, allocations: 11.64 kB / 450.3 MB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1904, allocations: 7.016 kB / 450.3 MB, free: 20.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007965/0.1912, allocations: 0.7887 MB / 451.1 MB, free: 19.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1912, allocations: 1.812 kB / 451.1 MB, free: 19.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1915, allocations: 45.3 kB / 451.1 MB, free: 19.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001567/0.193, allocations: 446 kB / 451.6 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.1933, allocations: 93.16 kB / 451.6 MB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1933, allocations: 0 / 451.6 MB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1934, allocations: 41.94 kB / 451.7 MB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.1938, allocations: 77.88 kB / 451.8 MB, free: 19.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.195, allocations: 0.897 MB / 452.7 MB, free: 19.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1953, allocations: 246 kB / 452.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.1954, allocations: 62.48 kB / 453 MB, free: 19.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.1955, allocations: 27.69 kB / 453 MB, free: 19.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1955, allocations: 9.5 kB / 453 MB, free: 19.25 MB / 366.1 MB Notification: Performance of Templates: time 0.009453/0.2049, allocations: 4.014 MB / 457 MB, free: 18.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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: 4.646228566765785]