Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.0009838/0.0009838, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001182/0.001182, allocations: 169 kB / 24.14 MB, free: 356 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 0.9247/0.9247, allocations: 158.6 MB / 186 MB, free: 2.758 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.1393/0.1393, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.809e-05, allocations: 2.312 kB / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.1712/0.1712, allocations: 2.266 MB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1727, allocations: 0.7606 MB / 302.1 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1729, allocations: 8.312 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1731, allocations: 34.27 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1733, allocations: 75.03 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.1739, allocations: 135.9 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.1742, allocations: 347.7 kB / 302.7 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1744, allocations: 61.94 kB / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.1746, allocations: 205.2 kB / 302.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1749, allocations: 124.3 kB / 303 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.1749, allocations: 27.94 kB / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1751, allocations: 74.92 kB / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.1751, allocations: 67.69 kB / 303.2 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.1752, allocations: 93.97 kB / 303.3 MB, free: 18.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.1756, allocations: 268.1 kB / 303.6 MB, free: 18.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1756, allocations: 2.016 kB / 303.6 MB, free: 18.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1756, allocations: 1.656 kB / 303.6 MB, free: 18.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1756, allocations: 0 / 303.6 MB, free: 18.88 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006016/0.1762, allocations: 462.1 kB / 304 MB, free: 18.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1762, allocations: 8.906 kB / 304 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.729e-05/0.1763, allocations: 35.81 kB / 304.1 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.1765, allocations: 169.3 kB / 304.2 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.1766, allocations: 18.69 kB / 304.2 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.1766, allocations: 23.11 kB / 304.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.1769, allocations: 201.9 kB / 304.5 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.177, allocations: 6.172 kB / 304.5 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.177, allocations: 9.531 kB / 304.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.177, allocations: 9.312 kB / 304.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.1772, allocations: 99.55 kB / 304.6 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/0.1779, allocations: 445.2 kB / 305 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1781, allocations: 155.8 kB / 305.2 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.1782, allocations: 71.09 kB / 305.2 MB, free: 17.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1783, allocations: 4.438 kB / 305.2 MB, free: 17.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1783, allocations: 37.41 kB / 305.3 MB, free: 17.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.1783, allocations: 0 / 305.3 MB, free: 17.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001715/0.18, allocations: 0.9034 MB / 306.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.18, allocations: 55.22 kB / 306.2 MB, free: 17.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1802, allocations: 161.9 kB / 306.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.1802, allocations: 36.55 kB / 306.4 MB, free: 17.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1803, allocations: 138.5 kB / 306.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.304e-05/0.1804, allocations: 118.2 kB / 306.7 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.1804, allocations: 64.55 kB / 306.8 MB, free: 17.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.1805, allocations: 333.9 kB / 307.1 MB, free: 16.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.448e-05/0.1806, allocations: 46.3 kB / 307.1 MB, free: 16.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1807, allocations: 100.7 kB / 307.2 MB, free: 16.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1808, allocations: 153 kB / 307.4 MB, free: 16.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1808, allocations: 1.312 kB / 307.4 MB, free: 16.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000328/0.1812, allocations: 243.6 kB / 307.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1812, allocations: 5.656 kB / 307.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.1812, allocations: 4.812 kB / 307.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.1815, allocations: 178.3 kB / 307.8 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1816, allocations: 56.11 kB / 307.8 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000316/0.182, allocations: 0.6232 MB / 308.5 MB, free: 16.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.82e-05/0.1821, allocations: 25.17 kB / 308.5 MB, free: 16.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1821, allocations: 11.92 kB / 308.5 MB, free: 16.06 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward,bearingFriction1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/0.1822, allocations: 135.2 kB / 308.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.1822, allocations: 24.2 kB / 308.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.1823, allocations: 36.05 kB / 308.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1823, allocations: 12.31 kB / 308.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1823, allocations: 0 / 308.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1823, allocations: 1.453 kB / 308.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.183, allocations: 0.5591 MB / 309.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.183, allocations: 1.062 kB / 309.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1832, allocations: 43.47 kB / 309.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.1835, allocations: 176.6 kB / 309.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1835, allocations: 13.39 kB / 309.5 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003057/0.1838, allocations: 0.6089 MB / 310.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1838, allocations: 4.078 kB / 310.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.1842, allocations: 404.6 kB / 310.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.1843, allocations: 35.88 kB / 310.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1843, allocations: 12.19 kB / 310.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.1844, allocations: 24.77 kB / 310.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.1845, allocations: 45.88 kB / 310.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1846, allocations: 6.422 kB / 310.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.1846, allocations: 58.11 kB / 310.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1846, allocations: 4.031 kB / 310.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.1848, allocations: 78.52 kB / 310.8 MB, free: 14.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.185, allocations: 112 kB / 310.9 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.1853, allocations: 193.8 kB / 311.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.1853, allocations: 2.656 kB / 311.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1855, allocations: 105.5 kB / 311.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.1857, allocations: 44.69 kB / 311.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1868, allocations: 0.5972 MB / 311.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.723e-05/0.1869, allocations: 85.84 kB / 311.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.469e-05/0.187, allocations: 22.66 kB / 311.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.1871, allocations: 83.42 kB / 312 MB, free: 14.09 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1871, allocations: 4 kB / 312 MB, free: 14.08 MB / 282.7 MB Notification: Performance of Templates: time 0.007061/0.1941, allocations: 4.598 MB / 316.6 MB, free: 12.17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.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.1576960319653153]