Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001039/0.001039, 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.003835/0.003835, allocations: 164 kB / 24.7 MB, free: 8.891 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.8794/0.8794, allocations: 177.1 MB / 205 MB, free: 5.746 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.2514/0.2514, allocations: 32.8 MB / 294.2 MB, free: 1.215 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.817e-05, allocations: 2.281 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001883/0.001901, allocations: 1.716 MB / 442.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003141, allocations: 0.9804 MB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.003202, allocations: 3.938 kB / 443.6 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.003472, allocations: 71.7 kB / 443.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.003713, allocations: 127.4 kB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.003835, allocations: 79.66 kB / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.003976, allocations: 123.6 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.00406, allocations: 11.94 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.004136, allocations: 59.83 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.004222, allocations: 59.86 kB / 444.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.004237, allocations: 4 kB / 444.2 MB, free: 420 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.754e-05/0.004304, allocations: 39.98 kB / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.004356, allocations: 27.84 kB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.004388, allocations: 19.88 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.004545, allocations: 131.4 kB / 444.4 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004547, allocations: 0 / 444.4 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004548, allocations: 4 kB / 444.4 MB, free: 196 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.004551, allocations: 4 kB / 444.4 MB, free: 192 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1775/0.182, allocations: 352.3 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.182, allocations: 8.844 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1821, allocations: 14.72 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1823, allocations: 146.1 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1823, allocations: 6.469 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1823, allocations: 3.25 kB / 444.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1825, allocations: 58.92 kB / 445 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1825, allocations: 1.5 kB / 445 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1825, allocations: 2.906 kB / 445 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1825, allocations: 0 / 445 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.1825, allocations: 21.8 kB / 445 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.1828, allocations: 246.3 kB / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1829, allocations: 56.48 kB / 445.3 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.1829, allocations: 19.75 kB / 445.3 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1829, allocations: 0 / 445.3 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.1831, allocations: 67.75 kB / 445.4 MB, free: 46.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1831, allocations: 0 / 445.4 MB, free: 46.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004659/0.1835, allocations: 188.8 kB / 445.5 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1835, allocations: 54.59 kB / 445.6 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1837, allocations: 224.5 kB / 445.8 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1837, allocations: 35.31 kB / 445.9 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.1837, allocations: 108 kB / 446 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1838, allocations: 27.72 kB / 446 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1838, allocations: 28.39 kB / 446 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.1839, allocations: 324.1 kB / 446.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.1839, allocations: 22.5 kB / 446.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.184, allocations: 38.09 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.184, allocations: 64.39 kB / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.184, allocations: 0 / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001352/0.1842, allocations: 110.6 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1842, allocations: 7.469 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1842, allocations: 0 / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1842, allocations: 3.469 kB / 446.6 MB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.467e-05/0.1843, allocations: 19.88 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1843, allocations: 2.281 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.1843, allocations: 14.69 kB / 446.6 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.1844, allocations: 2.125 kB / 446.6 MB, free: 45.52 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 (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 8.181e-05/0.1844, allocations: 130.4 kB / 446.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1844, allocations: 13.42 kB / 446.8 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.1846, allocations: 124.4 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1846, allocations: 0 / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1846, allocations: 2.188 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1846, allocations: 0 / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.1849, allocations: 360.9 kB / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1849, allocations: 1.156 kB / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.185, allocations: 8.344 kB / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.185, allocations: 0 / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.185, allocations: 6.469 kB / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.185, allocations: 3.125 kB / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.185, allocations: 2.625 kB / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1851, allocations: 216.5 kB / 447.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.1851, allocations: 13.7 kB / 447.5 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1851, allocations: 4 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.1852, allocations: 2.656 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.1852, allocations: 8.688 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1852, allocations: 2.656 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.074e-05/0.1853, allocations: 182.3 kB / 447.7 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1853, allocations: 1.688 kB / 447.7 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.1855, allocations: 22.83 kB / 447.7 MB, free: 44.76 MB / 410.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.0009821/0.1865, allocations: 0.4893 MB / 448.2 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1867, allocations: 61.86 kB / 448.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1867, allocations: 3.938 kB / 448.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/0.1867, allocations: 30.16 kB / 448.3 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.187, allocations: 37.14 kB / 448.3 MB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.1874, allocations: 281.4 kB / 448.6 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.1875, allocations: 99.64 kB / 448.7 MB, free: 44.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1875, allocations: 17.55 kB / 448.7 MB, free: 44.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1875, allocations: 0 / 448.7 MB, free: 44.3 MB / 410.7 MB Notification: Performance of Templates: time 0.002929/0.1905, allocations: 2.06 MB / 450.8 MB, free: 44.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.6997522711753845]