Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.0008187/0.0008187, allocations: 83.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.003254/0.003254, allocations: 157.8 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.867/0.867, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2854/0.2854, allocations: 34.26 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.054e-05, allocations: 10.22 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.1803/0.1803, allocations: 1.606 MB / 445.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006253/0.1809, allocations: 0.5381 MB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.181, allocations: 3.219 kB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1812, allocations: 105.1 kB / 445.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.1813, allocations: 109.7 kB / 445.8 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.1815, allocations: 115.5 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1816, allocations: 88.08 kB / 446 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.361e-05/0.1817, allocations: 13.12 kB / 446 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.1817, allocations: 49.16 kB / 446.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.1818, allocations: 58.12 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1818, allocations: 5.719 kB / 446.1 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.1818, allocations: 41.84 kB / 446.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.1819, allocations: 19.36 kB / 446.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.1819, allocations: 18.33 kB / 446.2 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.182, allocations: 117.9 kB / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.182, allocations: 0.5625 kB / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.182, allocations: 1.375 kB / 446.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.182, allocations: 0 / 446.3 MB, free: 43.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002852/0.1823, allocations: 351 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.1823, allocations: 8.625 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.1824, allocations: 13.89 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1825, allocations: 146 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.1825, allocations: 384 / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1825, allocations: 3.125 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.1826, allocations: 57.55 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1826, allocations: 192 / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1826, allocations: 6.75 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1826, allocations: 0 / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.119e-05/0.1826, allocations: 33.52 kB / 446.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.1828, allocations: 243.2 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/0.1829, allocations: 45.88 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.1829, allocations: 21.34 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1829, allocations: 6.594 kB / 447.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-06/0.1829, allocations: 30.56 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1829, allocations: 0 / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004846/0.1834, allocations: 251.6 kB / 447.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.1835, allocations: 51.41 kB / 447.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1836, allocations: 236 kB / 447.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.1836, allocations: 29.7 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.1836, allocations: 115.9 kB / 447.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.1836, allocations: 28.19 kB / 448 MB, free: 42.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.1836, allocations: 22.52 kB / 448 MB, free: 42.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.78e-05/0.1837, allocations: 327.6 kB / 448.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.1837, allocations: 29.47 kB / 448.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.1837, allocations: 32.8 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.1838, allocations: 70.59 kB / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1838, allocations: 0 / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.1839, allocations: 119.5 kB / 448.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.1839, allocations: 5.156 kB / 448.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1839, allocations: 0 / 448.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.1839, allocations: 2.531 kB / 448.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.184, allocations: 16.52 kB / 448.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.184, allocations: 3.047 kB / 448.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.184, allocations: 4.719 kB / 448.6 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.184, allocations: 10.02 kB / 448.6 MB, free: 41.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.444e-05/0.1841, allocations: 135.4 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.1841, allocations: 16.53 kB / 448.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.1842, allocations: 132.2 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1842, allocations: 0 / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1842, allocations: 2.938 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1842, allocations: 6.094 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1845, allocations: 361.9 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1845, allocations: 4.031 kB / 449.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.1845, allocations: 21.2 kB / 449.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1845, allocations: 0 / 449.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1845, allocations: 5.875 kB / 449.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1845, allocations: 3.938 kB / 449.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1845, allocations: 6.719 kB / 449.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.1846, allocations: 209 kB / 449.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-06/0.1846, allocations: 17.28 kB / 449.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1846, allocations: 0 / 449.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.49e-05/0.1847, allocations: 6.875 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1847, allocations: 10.17 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1847, allocations: 2.938 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.521e-05/0.1848, allocations: 179.2 kB / 449.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1848, allocations: 0 / 449.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000151/0.1849, allocations: 24.47 kB / 449.7 MB, free: 40.95 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0006307/0.1856, allocations: 489.1 kB / 450.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.1857, allocations: 75.48 kB / 450.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1857, allocations: 0 / 450.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.1857, allocations: 38.05 kB / 450.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1859, allocations: 22.64 kB / 450.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.1862, allocations: 314.2 kB / 450.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.1863, allocations: 105.1 kB / 450.7 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.1863, allocations: 14.12 kB / 450.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1863, allocations: 2.812 kB / 450.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of Templates: time 0.001913/0.1882, allocations: 1.921 MB / 452.7 MB, free: 40.22 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.5758800422772765]