Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.0008052/0.0008052, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00315/0.00315, allocations: 163.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8547/0.8547, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2399/0.2399, allocations: 32.8 MB / 294.2 MB, free: 1.207 MB / 266.7 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.534e-05, allocations: 2.281 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002229/0.002255, allocations: 1.731 MB / 442.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003416, allocations: 0.9741 MB / 443.7 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.003498, allocations: 0 / 443.7 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.003799, allocations: 99.55 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.004119, allocations: 119.5 kB / 443.9 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.004335, allocations: 83.59 kB / 443.9 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.004514, allocations: 131.5 kB / 444.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.004618, allocations: 11.98 kB / 444.1 MB, free: 500 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.004717, allocations: 71.69 kB / 444.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004818, allocations: 63.86 kB / 444.2 MB, free: 364 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.004834, allocations: 4 kB / 444.2 MB, free: 360 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.004944, allocations: 63.91 kB / 444.3 MB, free: 296 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.005002, allocations: 23.92 kB / 444.3 MB, free: 272 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.005044, allocations: 31.86 kB / 444.3 MB, free: 240 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.005253, allocations: 135.6 kB / 444.5 MB, free: 104 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005256, allocations: 3.938 kB / 444.5 MB, free: 100 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005258, allocations: 0 / 444.5 MB, free: 100 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005263, allocations: 0 / 444.5 MB, free: 100 kB / 410.7 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.1754/0.1807, allocations: 360.3 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1807, allocations: 10.81 kB / 444.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1808, allocations: 14.72 kB / 444.9 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.181, allocations: 162.4 kB / 445 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.181, allocations: 3.188 kB / 445 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.1811, allocations: 6.812 kB / 445 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1812, allocations: 63.52 kB / 445.1 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1812, allocations: 0 / 445.1 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1812, allocations: 0.75 kB / 445.1 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1812, allocations: 2.875 kB / 445.1 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.776e-05/0.1813, allocations: 31.91 kB / 445.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.1816, allocations: 244.1 kB / 445.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1818, allocations: 58.16 kB / 445.4 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.1818, allocations: 24.12 kB / 445.4 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1818, allocations: 0 / 445.4 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.1819, allocations: 78.03 kB / 445.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1819, allocations: 0 / 445.5 MB, free: 46.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005589/0.1825, allocations: 263.4 kB / 445.8 MB, free: 46.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.1825, allocations: 56.69 kB / 445.8 MB, free: 46.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1827, allocations: 234 kB / 446.1 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.1827, allocations: 29.52 kB / 446.1 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.1827, allocations: 108.3 kB / 446.2 MB, free: 45.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1827, allocations: 45.2 kB / 446.2 MB, free: 45.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.1828, allocations: 25.36 kB / 446.3 MB, free: 45.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.1828, allocations: 327.7 kB / 446.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.1828, allocations: 34.06 kB / 446.6 MB, free: 45.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.1829, allocations: 46 kB / 446.7 MB, free: 45.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.029e-05/0.183, allocations: 84.88 kB / 446.7 MB, free: 45.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.183, allocations: 0 / 446.7 MB, free: 45.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001381/0.1831, allocations: 135.5 kB / 446.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1831, allocations: 9.469 kB / 446.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1831, allocations: 0 / 446.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1831, allocations: 3.469 kB / 446.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.1832, allocations: 25.45 kB / 446.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1832, allocations: 0 / 446.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.1832, allocations: 2.844 kB / 446.9 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1832, allocations: 7.125 kB / 446.9 MB, free: 45.38 MB / 410.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 (13): * Single equations (assignments): 13 * 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 6.262e-05/0.1833, allocations: 136.6 kB / 447.1 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.1833, allocations: 18 kB / 447.1 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.1835, allocations: 159.5 kB / 447.2 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1835, allocations: 2.938 kB / 447.2 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1835, allocations: 0 / 447.2 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1835, allocations: 6.141 kB / 447.2 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.1838, allocations: 401.1 kB / 447.6 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1838, allocations: 0 / 447.6 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.1839, allocations: 24.81 kB / 447.6 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1839, allocations: 0 / 447.6 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1839, allocations: 4.469 kB / 447.7 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1839, allocations: 2.938 kB / 447.7 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1839, allocations: 0 / 447.7 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.184, allocations: 242.4 kB / 447.9 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.1841, allocations: 16.95 kB / 447.9 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1841, allocations: 2.188 kB / 447.9 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.222e-05/0.1841, allocations: 9.172 kB / 447.9 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1842, allocations: 16.62 kB / 447.9 MB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1842, allocations: 9.562 kB / 447.9 MB, free: 44.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.1842, allocations: 177.4 kB / 448.1 MB, free: 44.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1842, allocations: 0 / 448.1 MB, free: 44.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.1844, allocations: 31.44 kB / 448.2 MB, free: 44.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009307/0.1854, allocations: 0.549 MB / 448.7 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1855, allocations: 80.48 kB / 448.8 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1855, allocations: 0 / 448.8 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/0.1856, allocations: 37.77 kB / 448.8 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1858, allocations: 38.78 kB / 448.9 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.1863, allocations: 329.4 kB / 449.2 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.012e-05/0.1864, allocations: 103.9 kB / 449.3 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.1864, allocations: 19.19 kB / 449.3 MB, free: 44.04 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.1864, allocations: 3.938 kB / 449.3 MB, free: 44.04 MB / 410.7 MB Notification: Performance of Templates: time 0.003153/0.1895, allocations: 2.335 MB / 451.6 MB, free: 43.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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: 5.05421066749841]