Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001161/0.001161, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004806/0.004806, allocations: 160.9 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.9076/0.9076, allocations: 177.2 MB / 205 MB, free: 5.727 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.2574/0.2574, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 440.9 MB, free: 3.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.766e-05, allocations: 12.61 kB / 441 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002711/0.002738, allocations: 2.164 MB / 443.1 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.004302, allocations: 1.27 MB / 444.4 MB, free: 180 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.004418, allocations: 7.938 kB / 444.4 MB, free: 172 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.004796, allocations: 139.2 kB / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1807/0.1855, allocations: 268.7 kB / 444.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.1859, allocations: 190.2 kB / 445 MB, free: 43.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1862, allocations: 478.9 kB / 445.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1863, allocations: 41.25 kB / 445.5 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1865, allocations: 392.6 kB / 445.9 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1867, allocations: 135.2 kB / 446 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.1867, allocations: 17.69 kB / 446 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1868, allocations: 82.09 kB / 446.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.1869, allocations: 157.8 kB / 446.3 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/0.187, allocations: 102.9 kB / 446.4 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.1873, allocations: 469.1 kB / 446.8 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1873, allocations: 0 / 446.8 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1873, allocations: 0 / 446.8 MB, free: 43.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1873, allocations: 0 / 446.8 MB, free: 43.62 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006364/0.1879, allocations: 0.8273 MB / 447.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.188, allocations: 15.61 kB / 447.7 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.1881, allocations: 73.39 kB / 447.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.1884, allocations: 372.2 kB / 448.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1884, allocations: 12.81 kB / 448.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1884, allocations: 17.42 kB / 448.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1887, allocations: 203.8 kB / 448.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1887, allocations: 2.688 kB / 448.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1887, allocations: 10.25 kB / 448.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1887, allocations: 3.5 kB / 448.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1889, allocations: 106.8 kB / 448.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.1894, allocations: 0.739 MB / 449.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.1897, allocations: 249.9 kB / 449.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.1898, allocations: 82.88 kB / 449.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1898, allocations: 10.72 kB / 449.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.19, allocations: 200.9 kB / 449.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.19, allocations: 0 / 449.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001277/0.1913, allocations: 1.237 MB / 450.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1913, allocations: 137.9 kB / 451.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.1919, allocations: 0.9698 MB / 452.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1919, allocations: 36.7 kB / 452.1 MB, free: 41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.192, allocations: 287.5 kB / 452.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.1921, allocations: 146 kB / 452.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.1921, allocations: 80 kB / 452.6 MB, free: 40.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.1921, allocations: 326.5 kB / 452.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1923, allocations: 117.1 kB / 453 MB, free: 40.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1924, allocations: 193.5 kB / 453.2 MB, free: 40.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.1927, allocations: 329.5 kB / 453.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1927, allocations: 7.938 kB / 453.5 MB, free: 39.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003916/0.1931, allocations: 454.1 kB / 454 MB, free: 39.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1931, allocations: 6.5 kB / 454 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1931, allocations: 0 / 454 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1931, allocations: 6.547 kB / 454 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1933, allocations: 94.86 kB / 454.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1933, allocations: 9.344 kB / 454.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.1934, allocations: 21.52 kB / 454.1 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1934, allocations: 19.25 kB / 454.1 MB, free: 39.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000163/0.1935, allocations: 258.3 kB / 454.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.1936, allocations: 78.7 kB / 454.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.1941, allocations: 0.5364 MB / 455 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1941, allocations: 6.375 kB / 455 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1941, allocations: 0 / 455 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1941, allocations: 3.312 kB / 455 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.1949, allocations: 1.273 MB / 456.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1949, allocations: 7.125 kB / 456.3 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.195, allocations: 61.03 kB / 456.4 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.195, allocations: 6.625 kB / 456.4 MB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.195, allocations: 21.42 kB / 456.4 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.195, allocations: 10.48 kB / 456.4 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1951, allocations: 5.156 kB / 456.4 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.1955, allocations: 0.8249 MB / 457.2 MB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.1956, allocations: 114.9 kB / 457.3 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.1956, allocations: 14.38 kB / 457.3 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1958, allocations: 20.72 kB / 457.4 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1958, allocations: 46.62 kB / 457.4 MB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.1958, allocations: 30.38 kB / 457.4 MB, free: 37.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003877/0.1962, allocations: 0.7099 MB / 458.2 MB, free: 37.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1962, allocations: 0 / 458.2 MB, free: 37.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000322/0.1965, allocations: 100 kB / 458.2 MB, free: 37.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008561/0.1974, allocations: 0.5701 MB / 458.8 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.1977, allocations: 313.8 kB / 459.1 MB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1978, allocations: 0 / 459.1 MB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1979, allocations: 164.2 kB / 459.3 MB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.1984, allocations: 120.7 kB / 459.4 MB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.1994, allocations: 1.285 MB / 460.7 MB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.1996, allocations: 322.5 kB / 461 MB, free: 36.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.1997, allocations: 61.78 kB / 461.1 MB, free: 36.47 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1997, allocations: 0 / 461.1 MB, free: 36.47 MB / 410.7 MB Notification: Performance of Templates: time 0.005499/0.2052, allocations: 7.091 MB / 468.2 MB, free: 35.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.516003394499421]