Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009722/0.0009722, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.006924/0.006924, allocations: 152.4 kB / 24.69 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8678/0.8678, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.474e-05, allocations: 2.281 kB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.1818/0.1818, allocations: 2.664 MB / 446.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000969/0.1828, allocations: 0.7442 MB / 446.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.183, allocations: 13.16 kB / 446.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.1831, allocations: 57.59 kB / 446.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.1832, allocations: 140.7 kB / 447 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1835, allocations: 102.3 kB / 447.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1838, allocations: 457.3 kB / 447.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.184, allocations: 95.16 kB / 447.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.1842, allocations: 268.8 kB / 447.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1843, allocations: 124.2 kB / 448 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.1844, allocations: 35.73 kB / 448.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.1844, allocations: 38.38 kB / 448.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.1845, allocations: 84.62 kB / 448.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.1845, allocations: 136 kB / 448.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1848, allocations: 444.7 kB / 448.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1848, allocations: 0 / 448.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1848, allocations: 2.656 kB / 448.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1848, allocations: 0 / 448.8 MB, free: 42.02 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0005975/0.1854, allocations: 0.5725 MB / 449.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1855, allocations: 11.97 kB / 449.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.1856, allocations: 69.09 kB / 449.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1859, allocations: 218 kB / 449.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1859, allocations: 27.81 kB / 449.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.186, allocations: 42.55 kB / 449.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.1863, allocations: 394.5 kB / 450.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1863, allocations: 10.45 kB / 450.1 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1864, allocations: 15.62 kB / 450.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1864, allocations: 12.69 kB / 450.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.1866, allocations: 223.8 kB / 450.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1876, allocations: 1.551 MB / 451.9 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1878, allocations: 254 kB / 452.1 MB, free: 39.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.1879, allocations: 95.78 kB / 452.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1879, allocations: 5.844 kB / 452.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.1879, allocations: 43.33 kB / 452.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.1879, allocations: 0 / 452.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003716/0.1883, allocations: 268 kB / 452.5 MB, free: 39.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.1884, allocations: 215.4 kB / 452.7 MB, free: 39.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1885, allocations: 267.1 kB / 453 MB, free: 38.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.1885, allocations: 29.7 kB / 453 MB, free: 38.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.1885, allocations: 251.5 kB / 453.3 MB, free: 38.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.1886, allocations: 119.4 kB / 453.4 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.1887, allocations: 100.5 kB / 453.5 MB, free: 38.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.1887, allocations: 341.7 kB / 453.8 MB, free: 38.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1888, allocations: 98.89 kB / 453.9 MB, free: 38.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.189, allocations: 431 kB / 454.3 MB, free: 37.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.1893, allocations: 0.5696 MB / 454.9 MB, free: 37.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.1893, allocations: 2.906 kB / 454.9 MB, free: 37.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004335/0.1897, allocations: 0.5303 MB / 455.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1897, allocations: 11.69 kB / 455.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1897, allocations: 12.09 kB / 455.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1898, allocations: 14.41 kB / 455.5 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.19, allocations: 150.7 kB / 455.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.19, allocations: 25.44 kB / 455.7 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1901, allocations: 66.42 kB / 455.7 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1901, allocations: 37.73 kB / 455.8 MB, free: 36.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.434e-05/0.1902, allocations: 183.5 kB / 455.9 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.1903, allocations: 37.03 kB / 456 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.1903, allocations: 33.95 kB / 456 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.1903, allocations: 5.438 kB / 456 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1904, allocations: 2.812 kB / 456 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1904, allocations: 2.875 kB / 456 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.191, allocations: 0.5624 MB / 456.6 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.191, allocations: 2.969 kB / 456.6 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.1912, allocations: 84.38 kB / 456.7 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1912, allocations: 6.5 kB / 456.7 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1912, allocations: 9.438 kB / 456.7 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1912, allocations: 6.594 kB / 456.7 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1912, allocations: 6.062 kB / 456.7 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1915, allocations: 0.8257 MB / 457.5 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.1916, allocations: 31.41 kB / 457.6 MB, free: 35.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1916, allocations: 10.28 kB / 457.6 MB, free: 35.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1918, allocations: 9.469 kB / 457.6 MB, free: 35.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1918, allocations: 32.42 kB / 457.6 MB, free: 35.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1918, allocations: 12.56 kB / 457.6 MB, free: 35.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.123e-05/0.1919, allocations: 173.7 kB / 457.8 MB, free: 35.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1919, allocations: 0 / 457.8 MB, free: 35.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004351/0.1923, allocations: 106.8 kB / 457.9 MB, free: 35.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * 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 7.52e-05/0.1924, allocations: 105.9 kB / 458 MB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1927, allocations: 277.1 kB / 458.3 MB, free: 35.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1927, allocations: 320 / 458.3 MB, free: 35.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.1928, allocations: 90.78 kB / 458.4 MB, free: 35.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.1933, allocations: 66.33 kB / 458.4 MB, free: 35.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.1943, allocations: 1.218 MB / 459.6 MB, free: 34.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1944, allocations: 191.3 kB / 459.8 MB, free: 34.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.1945, allocations: 34.94 kB / 459.9 MB, free: 34.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1945, allocations: 3.938 kB / 459.9 MB, free: 34.1 MB / 410.7 MB Notification: Performance of Templates: time 0.003976/0.1985, allocations: 4.387 MB / 464.2 MB, free: 33.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.049815157428384]