Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001117/0.001117, 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.003881/0.003881, allocations: 160.6 kB / 24.7 MB, free: 9.43 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.8707/0.8707, allocations: 177.1 MB / 205 MB, free: 5.75 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.2382/0.2382, allocations: 32.79 MB / 294.2 MB, free: 1.191 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.521e-05, allocations: 2.281 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002787/0.002812, allocations: 1.673 MB / 442.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.004331, allocations: 0.9547 MB / 443.6 MB, free: 1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.004417, allocations: 0 / 443.6 MB, free: 1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.004763, allocations: 59.75 kB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.005124, allocations: 103.5 kB / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.005299, allocations: 79.59 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.005482, allocations: 91.7 kB / 443.9 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.005536, allocations: 12.16 kB / 443.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.005649, allocations: 59.77 kB / 444 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.005734, allocations: 23.92 kB / 444 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.005753, allocations: 4 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.106e-05/0.005844, allocations: 31.98 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.005913, allocations: 31.84 kB / 444 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.005954, allocations: 15.94 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.006166, allocations: 123.5 kB / 444.2 MB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006168, allocations: 0 / 444.2 MB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006169, allocations: 0 / 444.2 MB, free: 384 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.006174, allocations: 0 / 444.2 MB, free: 384 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.1771/0.1833, allocations: 363.9 kB / 444.5 MB, free: 46.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1833, allocations: 9.656 kB / 444.5 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.1833, allocations: 21.53 kB / 444.6 MB, free: 46.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1836, allocations: 156.2 kB / 444.7 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1836, allocations: 4.344 kB / 444.7 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.1836, allocations: 0.9844 kB / 444.7 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1837, allocations: 50.48 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1837, allocations: 2.906 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1837, allocations: 0.7188 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.1837, allocations: 0 / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.1838, allocations: 30.22 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.1839, allocations: 137.2 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.878e-05/0.184, allocations: 51.52 kB / 445 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.184, allocations: 21.3 kB / 445 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.184, allocations: 3.75 kB / 445 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.277e-05/0.1841, allocations: 69.25 kB / 445.1 MB, free: 46.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1841, allocations: 0 / 445.1 MB, free: 46.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000184/0.1843, allocations: 106.7 kB / 445.2 MB, free: 46.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.1843, allocations: 51.41 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1845, allocations: 280.2 kB / 445.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.1845, allocations: 26.36 kB / 445.5 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.1845, allocations: 113.4 kB / 445.7 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1845, allocations: 17.59 kB / 445.7 MB, free: 46.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.1846, allocations: 26.41 kB / 445.7 MB, free: 46.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.004e-05/0.1846, allocations: 327.3 kB / 446 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.1846, allocations: 16.8 kB / 446 MB, free: 45.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.1846, allocations: 27.92 kB / 446.1 MB, free: 45.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.1847, allocations: 48.48 kB / 446.1 MB, free: 45.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1847, allocations: 0 / 446.1 MB, free: 45.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.069e-05/0.1848, allocations: 92.89 kB / 446.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1848, allocations: 9.469 kB / 446.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1848, allocations: 0 / 446.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1848, allocations: 0 / 446.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.1849, allocations: 11.56 kB / 446.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1849, allocations: 6.719 kB / 446.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.1849, allocations: 9.922 kB / 446.2 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1849, allocations: 0 / 446.2 MB, free: 45.7 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 (7): * Single equations (assignments): 7 * 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 5.129e-05/0.1849, allocations: 134.8 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.185, allocations: 20.02 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1851, allocations: 109.8 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1851, allocations: 3.328 kB / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1851, allocations: 0 / 446.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1851, allocations: 6.625 kB / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.882e-05/0.1851, allocations: 136.9 kB / 446.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.1851, allocations: 0 / 446.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.1851, allocations: 5.5 kB / 446.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.1852, allocations: 0 / 446.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1852, allocations: 9.516 kB / 446.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1852, allocations: 3.047 kB / 446.7 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1852, allocations: 2.469 kB / 446.7 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.84e-05/0.1852, allocations: 122.2 kB / 446.8 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.1852, allocations: 20.53 kB / 446.8 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1853, allocations: 2.938 kB / 446.8 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.1853, allocations: 0 / 446.8 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.1853, allocations: 9.094 kB / 446.8 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1853, allocations: 6.625 kB / 446.8 MB, free: 45.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.958e-05/0.1854, allocations: 214.8 kB / 447 MB, free: 45.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1854, allocations: 0 / 447 MB, free: 45.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.1855, allocations: 17.34 kB / 447 MB, free: 45.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005979/0.1861, allocations: 436.4 kB / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.1862, allocations: 43.48 kB / 447.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.1862, allocations: 4.062 kB / 447.5 MB, free: 45.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.107e-05/0.1863, allocations: 18.95 kB / 447.5 MB, free: 45.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.1864, allocations: 33.39 kB / 447.6 MB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.1868, allocations: 293.3 kB / 447.8 MB, free: 44.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/0.1868, allocations: 103.4 kB / 447.9 MB, free: 44.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.1868, allocations: 17.3 kB / 448 MB, free: 44.76 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1868, allocations: 0 / 448 MB, free: 44.76 MB / 410.7 MB Notification: Performance of Templates: time 0.002076/0.1889, allocations: 1.958 MB / 449.9 MB, free: 44.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.021688169799745]