Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001781/0.001781, allocations: 92.28 kB / 21.44 MB, free: 3.129 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.004865/0.004865, allocations: 157.9 kB / 24.7 MB, free: 8.906 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.8714/0.8714, allocations: 177 MB / 204.9 MB, free: 5.738 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.2392/0.2392, 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.591e-05, allocations: 2.281 kB / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.1785/0.1785, allocations: 1.62 MB / 445 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.1788, allocations: 113.4 kB / 445.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.1788, allocations: 6.938 kB / 445.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.1788, allocations: 11.06 kB / 445.1 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.1789, allocations: 41.02 kB / 445.2 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.919e-05/0.179, allocations: 24.86 kB / 445.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.1791, allocations: 132.8 kB / 445.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.1792, allocations: 28.12 kB / 445.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.826e-05/0.1793, allocations: 74.02 kB / 445.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.1793, allocations: 34.02 kB / 445.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1794, allocations: 11.94 kB / 445.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.1794, allocations: 11.19 kB / 445.5 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.1794, allocations: 24.94 kB / 445.5 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.1794, allocations: 43.84 kB / 445.6 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1796, allocations: 126.7 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1796, allocations: 0 / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1796, allocations: 0 / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1796, allocations: 0 / 445.7 MB, free: 43.39 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0002981/0.1799, allocations: 331.6 kB / 446 MB, free: 43.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1799, allocations: 8.844 kB / 446 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1799, allocations: 14.83 kB / 446 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.18, allocations: 132.8 kB / 446.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.18, allocations: 10.89 kB / 446.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1801, allocations: 12.97 kB / 446.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1802, allocations: 135.7 kB / 446.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1802, allocations: 4.141 kB / 446.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1802, allocations: 7.188 kB / 446.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1802, allocations: 2.906 kB / 446.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.1803, allocations: 64.81 kB / 446.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.1807, allocations: 441.5 kB / 446.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.451e-05/0.1808, allocations: 84.55 kB / 446.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.1808, allocations: 29.66 kB / 446.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.1808, allocations: 2.969 kB / 446.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.1808, allocations: 33.44 kB / 447 MB, free: 42.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1808, allocations: 0 / 447 MB, free: 42.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003019/0.1811, allocations: 152.2 kB / 447.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.1811, allocations: 77.11 kB / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.1812, allocations: 122 kB / 447.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.1812, allocations: 29.64 kB / 447.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.1812, allocations: 120 kB / 447.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.1812, allocations: 41.03 kB / 447.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.1813, allocations: 25.12 kB / 447.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.674e-05/0.1813, allocations: 320.6 kB / 447.8 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.1813, allocations: 21.73 kB / 447.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.1814, allocations: 91.31 kB / 447.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.1814, allocations: 119.3 kB / 448.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1814, allocations: 2.562 kB / 448.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001487/0.1816, allocations: 182.4 kB / 448.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.1816, allocations: 6.344 kB / 448.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1816, allocations: 3.094 kB / 448.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001097/0.1817, allocations: 31.59 kB / 448.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.1818, allocations: 29.41 kB / 448.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007368/0.1825, allocations: 2.486 MB / 450.8 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.1825, allocations: 9.781 kB / 450.8 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.1825, allocations: 8.594 kB / 450.8 MB, free: 39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.1826, allocations: 123.3 kB / 450.9 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.1826, allocations: 9.859 kB / 450.9 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.343e-05/0.1826, allocations: 15.33 kB / 451 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1826, allocations: 2.969 kB / 451 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1826, allocations: 3.938 kB / 451 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1826, allocations: 7.594 kB / 451 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.1827, allocations: 140.7 kB / 451.1 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1827, allocations: 0 / 451.1 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.1828, allocations: 14.41 kB / 451.1 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.103e-05/0.1829, allocations: 31.78 kB / 451.2 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1829, allocations: 2.688 kB / 451.2 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000619/0.1835, allocations: 2.48 MB / 453.6 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1835, allocations: 2.25 kB / 453.6 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.1836, allocations: 309.2 kB / 453.9 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.1836, allocations: 15.02 kB / 454 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-06/0.1836, allocations: 0 / 454 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/0.1837, allocations: 2.969 kB / 454 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.1837, allocations: 13.41 kB / 454 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1837, allocations: 6.875 kB / 454 MB, free: 35.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.045e-05/0.1837, allocations: 93.94 kB / 454.1 MB, free: 35.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1837, allocations: 0 / 454.1 MB, free: 35.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000203/0.1839, allocations: 35.83 kB / 454.1 MB, free: 35.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.088e-05/0.184, allocations: 99.02 kB / 454.2 MB, free: 35.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1842, allocations: 298.4 kB / 454.5 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1842, allocations: 0 / 454.5 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.1843, allocations: 258.7 kB / 454.8 MB, free: 35.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.1846, allocations: 29.55 kB / 454.8 MB, free: 35.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.185, allocations: 402 kB / 455.2 MB, free: 34.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.1851, allocations: 102.3 kB / 455.3 MB, free: 34.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.1851, allocations: 11.06 kB / 455.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1851, allocations: 0 / 455.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of Templates: time 0.002292/0.1874, allocations: 2.52 MB / 457.8 MB, free: 34.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.1938227117061615]