Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.0007877/0.0007877, 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.003469/0.003469, allocations: 163.2 kB / 24.7 MB, free: 9.426 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.8415/0.8415, allocations: 177.1 MB / 205 MB, free: 5.73 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.2292/0.2292, allocations: 34.25 MB / 295.7 MB, free: 0.7227 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.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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.304e-05, allocations: 2.281 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.1766/0.1766, allocations: 2.668 MB / 446.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008332/0.1775, allocations: 0.7353 MB / 446.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1776, allocations: 13.09 kB / 446.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.1777, allocations: 61.97 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.1779, allocations: 138.7 kB / 447 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1781, allocations: 103.3 kB / 447.1 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1784, allocations: 457.9 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1785, allocations: 98.73 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.1788, allocations: 260.4 kB / 447.9 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1789, allocations: 133 kB / 448.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.1789, allocations: 32.22 kB / 448.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.743e-05/0.179, allocations: 36.19 kB / 448.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.179, allocations: 80.5 kB / 448.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.1791, allocations: 136.6 kB / 448.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1793, allocations: 444 kB / 448.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1793, allocations: 0 / 448.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1793, allocations: 2.531 kB / 448.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1793, allocations: 1.531 kB / 448.8 MB, free: 42.07 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.0005156/0.1799, allocations: 0.5791 MB / 449.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.1799, allocations: 10.5 kB / 449.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.18, allocations: 61.09 kB / 449.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1803, allocations: 213.9 kB / 449.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1803, allocations: 34 kB / 449.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.1803, allocations: 44.88 kB / 449.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.1806, allocations: 392.1 kB / 450.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1807, allocations: 10.73 kB / 450.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1807, allocations: 17.97 kB / 450.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1807, allocations: 12.5 kB / 450.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1809, allocations: 226 kB / 450.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009299/0.1818, allocations: 1.546 MB / 451.9 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1821, allocations: 264.8 kB / 452.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.1821, allocations: 93.17 kB / 452.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1821, allocations: 8.797 kB / 452.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.1822, allocations: 40.12 kB / 452.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.462e-06/0.1822, allocations: 0 / 452.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003567/0.1825, allocations: 268.8 kB / 452.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1825, allocations: 210.8 kB / 452.8 MB, free: 39.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.1827, allocations: 265.3 kB / 453 MB, free: 38.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.1827, allocations: 32.61 kB / 453.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.1827, allocations: 252.3 kB / 453.3 MB, free: 38.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.1828, allocations: 123.4 kB / 453.4 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.1828, allocations: 98.81 kB / 453.5 MB, free: 38.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.1829, allocations: 344.3 kB / 453.9 MB, free: 38.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.183, allocations: 98.88 kB / 454 MB, free: 38.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1831, allocations: 433.5 kB / 454.4 MB, free: 37.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.1834, allocations: 0.5682 MB / 454.9 MB, free: 37.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1835, allocations: 2.938 kB / 455 MB, free: 37.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004317/0.1839, allocations: 0.5255 MB / 455.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1839, allocations: 12.16 kB / 455.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1839, allocations: 10.44 kB / 455.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1839, allocations: 16.47 kB / 455.5 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1841, allocations: 148.9 kB / 455.7 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1841, allocations: 26.44 kB / 455.7 MB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1843, allocations: 72.36 kB / 455.8 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1843, allocations: 36.75 kB / 455.8 MB, free: 36.88 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.456e-05/0.1844, allocations: 171.8 kB / 456 MB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.1845, allocations: 40.98 kB / 456 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.1845, allocations: 30.86 kB / 456 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1845, allocations: 6.875 kB / 456 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1845, allocations: 2.812 kB / 456 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1845, allocations: 2.969 kB / 456 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.1851, allocations: 0.5545 MB / 456.6 MB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1851, allocations: 9.812 kB / 456.6 MB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.1853, allocations: 88.52 kB / 456.7 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1853, allocations: 5.188 kB / 456.7 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1853, allocations: 13.38 kB / 456.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1853, allocations: 6.531 kB / 456.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1853, allocations: 2.594 kB / 456.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.1857, allocations: 0.8218 MB / 457.5 MB, free: 35.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.1857, allocations: 35.61 kB / 457.6 MB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1857, allocations: 9.25 kB / 457.6 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1859, allocations: 12.81 kB / 457.6 MB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.1859, allocations: 27.95 kB / 457.6 MB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1859, allocations: 8.469 kB / 457.6 MB, free: 35.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.128e-05/0.186, allocations: 176.1 kB / 457.8 MB, free: 35.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.186, allocations: 0 / 457.8 MB, free: 35.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.1864, allocations: 110 kB / 457.9 MB, free: 35.39 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.402e-05/0.1865, allocations: 108.5 kB / 458 MB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1868, allocations: 276.6 kB / 458.3 MB, free: 35.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1868, allocations: 6.906 kB / 458.3 MB, free: 35.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.1868, allocations: 84.75 kB / 458.4 MB, free: 35.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.1874, allocations: 69.16 kB / 458.4 MB, free: 35.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.1883, allocations: 1.221 MB / 459.7 MB, free: 34.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.1884, allocations: 193.4 kB / 459.9 MB, free: 34.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.1885, allocations: 30.84 kB / 459.9 MB, free: 34.15 MB / 410.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1885, allocations: 0 / 459.9 MB, free: 34.15 MB / 410.7 MB Notification: Performance of Templates: time 0.003257/0.1917, allocations: 4.376 MB / 464.3 MB, free: 33.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.039762297645211]