Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.0009649/0.0009649, allocations: 83.98 kB / 20.72 MB, free: 3.605 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.001138/0.001138, allocations: 173 kB / 24.14 MB, free: 196 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1349/0.1349, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.481e-05, allocations: 6.25 kB / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.1749/0.1749, allocations: 3.263 MB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1767, allocations: 0.8658 MB / 303.2 MB, free: 18.76 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.1769, allocations: 17.84 kB / 303.2 MB, free: 18.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1771, allocations: 72.83 kB / 303.3 MB, free: 18.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1774, allocations: 183.2 kB / 303.5 MB, free: 18.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1776, allocations: 114.7 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.1782, allocations: 0.6169 MB / 304.2 MB, free: 18.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.1784, allocations: 122.5 kB / 304.3 MB, free: 18.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.1788, allocations: 344.4 kB / 304.7 MB, free: 18.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.1791, allocations: 177.4 kB / 304.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.954e-05/0.1792, allocations: 43.72 kB / 304.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.1792, allocations: 43.53 kB / 304.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.1793, allocations: 104.6 kB / 305 MB, free: 17.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.1794, allocations: 191.9 kB / 305.2 MB, free: 17.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.1798, allocations: 384.3 kB / 305.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1798, allocations: 0 / 305.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1798, allocations: 1.125 kB / 305.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1798, allocations: 4.453 kB / 305.6 MB, free: 17.71 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00072/0.1806, allocations: 0.6815 MB / 306.3 MB, free: 17.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1806, allocations: 9.219 kB / 306.3 MB, free: 17.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1807, allocations: 73.27 kB / 306.4 MB, free: 17.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.181, allocations: 225.7 kB / 306.6 MB, free: 17.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.181, allocations: 36.91 kB / 306.6 MB, free: 17.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.1811, allocations: 63.27 kB / 306.7 MB, free: 16.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.1814, allocations: 322.1 kB / 307 MB, free: 16.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.1815, allocations: 13.59 kB / 307 MB, free: 16.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1815, allocations: 23.8 kB / 307 MB, free: 16.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.1815, allocations: 15.84 kB / 307.1 MB, free: 16.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1817, allocations: 149.6 kB / 307.2 MB, free: 16.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009095/0.1826, allocations: 0.7477 MB / 307.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.183, allocations: 278.7 kB / 308.2 MB, free: 16.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1832, allocations: 110.4 kB / 308.3 MB, free: 16.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1832, allocations: 11.05 kB / 308.3 MB, free: 16.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1832, allocations: 39.12 kB / 308.4 MB, free: 16.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=62): time 2.334e-06/0.1832, allocations: 5.031 kB / 308.4 MB, free: 16.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.001706/0.1849, allocations: 1.42 MB / 309.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.185, allocations: 86.03 kB / 309.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1851, allocations: 231 kB / 310.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1851, allocations: 37.3 kB / 310.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.1852, allocations: 201.1 kB / 310.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1853, allocations: 281.4 kB / 310.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1854, allocations: 124 kB / 310.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.1854, allocations: 363.4 kB / 311.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.1855, allocations: 70.16 kB / 311.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.1857, allocations: 188.6 kB / 311.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.1859, allocations: 312.6 kB / 311.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.186, allocations: 1.125 kB / 311.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003848/0.1863, allocations: 353.5 kB / 312 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1864, allocations: 5.5 kB / 312 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1864, allocations: 3.312 kB / 312 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1864, allocations: 10.34 kB / 312 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.1868, allocations: 213.4 kB / 312.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1868, allocations: 6.875 kB / 312.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.187, allocations: 24.3 kB / 312.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.187, allocations: 20.38 kB / 312.3 MB, free: 14.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.574e-05/0.1871, allocations: 159.9 kB / 312.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.1871, allocations: 55.34 kB / 312.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.1872, allocations: 53.41 kB / 312.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1872, allocations: 10.48 kB / 312.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.1872, allocations: 5.375 kB / 312.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1872, allocations: 4.734 kB / 312.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000865/0.1881, allocations: 0.9469 MB / 313.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1881, allocations: 3.516 kB / 313.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.1885, allocations: 186.2 kB / 313.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1885, allocations: 6.766 kB / 313.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1885, allocations: 20.7 kB / 313.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1885, allocations: 12.42 kB / 313.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1885, allocations: 3.438 kB / 313.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.189, allocations: 0.654 MB / 314.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.1891, allocations: 43.52 kB / 314.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.1891, allocations: 19.81 kB / 314.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1892, allocations: 20.86 kB / 314.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.1893, allocations: 48.83 kB / 314.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1893, allocations: 16.84 kB / 314.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.1894, allocations: 78.64 kB / 314.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1894, allocations: 0 / 314.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.1897, allocations: 154.9 kB / 314.8 MB, free: 12.69 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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 9.456e-05/0.1898, allocations: 100.5 kB / 314.9 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.1901, allocations: 311.5 kB / 315.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.1901, allocations: 3.125 kB / 315.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1903, allocations: 182.9 kB / 315.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.1907, allocations: 137.3 kB / 315.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1919, allocations: 1.066 MB / 316.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.95e-05/0.192, allocations: 130.7 kB / 316.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.1921, allocations: 58.28 kB / 316.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.1924, allocations: 166.2 kB / 316.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1924, allocations: 0 / 316.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Templates: time 0.007719/0.2001, allocations: 6.198 MB / 323.1 MB, free: 5.824 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.127424642909318]