Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.0008473/0.0008473, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003764/0.003764, allocations: 160.1 kB / 24.7 MB, free: 9.418 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.8569/0.8569, allocations: 177 MB / 204.8 MB, free: 5.723 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.2179/0.2179, allocations: 34.25 MB / 295.6 MB, free: 0.6758 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.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.973e-05, allocations: 5.094 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1677/0.1677, allocations: 10.73 MB / 454.2 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.1727, allocations: 3.756 MB / 457.9 MB, free: 35.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008972/0.1736, allocations: 68.66 kB / 458 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.175, allocations: 1.343 MB / 459.3 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.177, allocations: 1.836 MB / 461.2 MB, free: 34.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.1776, allocations: 0.5168 MB / 461.7 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.1795, allocations: 3.98 MB / 465.7 MB, free: 32.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.1808, allocations: 2.075 MB / 467.7 MB, free: 31.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.1819, allocations: 1.844 MB / 469.6 MB, free: 31.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.1831, allocations: 1.938 MB / 471.5 MB, free: 30.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.1833, allocations: 239.7 kB / 471.8 MB, free: 30.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008773/0.1842, allocations: 0.9027 MB / 472.7 MB, free: 30.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006381/0.1848, allocations: 1.675 MB / 474.3 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.1853, allocations: 0.9979 MB / 475.3 MB, free: 29.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.1889, allocations: 6.167 MB / 481.5 MB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1889, allocations: 5.156 kB / 481.5 MB, free: 27.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1889, allocations: 0 / 481.5 MB, free: 27.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.049e-05/0.189, allocations: 0.7031 kB / 481.5 MB, free: 27.15 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.00601/0.195, allocations: 4.169 MB / 485.7 MB, free: 24.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.1951, allocations: 8.562 kB / 485.7 MB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006796/0.2019, allocations: 3.149 MB / 488.8 MB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.2049, allocations: 1.821 MB / 490.6 MB, free: 23.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.2051, allocations: 191 kB / 490.8 MB, free: 23.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/0.2054, allocations: 249.4 kB / 491.1 MB, free: 23.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/0.2177, allocations: 10.49 MB / 0.4898 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.909e-05/0.2178, allocations: 30.14 kB / 0.4898 GB, free: 18.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.2181, allocations: 123.6 kB / 0.49 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002751/0.2209, allocations: 2.552 MB / 0.4925 GB, free: 17.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.2341, allocations: 9.911 MB / 0.5021 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02907/0.2632, allocations: 31.85 MB / 0.5332 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/0.2683, allocations: 4.15 MB / 0.5373 GB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.2701, allocations: 2.115 MB / 0.5394 GB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008948/0.271, allocations: 0.5517 MB / 0.5399 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.271, allocations: 52.56 kB / 0.5399 GB, free: 1.691 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 5.941e-06/0.271, allocations: 3.984 kB / 0.5399 GB, free: 1.688 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.0199/0.2909, allocations: 14.34 MB / 0.5539 GB, free: 3.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.291, allocations: 77.41 kB / 0.554 GB, free: 3.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.2933, allocations: 2.687 MB / 0.5566 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.2935, allocations: 53.7 kB / 0.5567 GB, free: 484 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.2945, allocations: 2.734 MB / 0.5594 GB, free: 13.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.295, allocations: 0.8796 MB / 0.5602 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.2962, allocations: 1.033 MB / 0.5612 GB, free: 11.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.2963, allocations: 365.6 kB / 0.5616 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.2983, allocations: 2.204 MB / 0.5637 GB, free: 9.207 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/0.302, allocations: 5.067 MB / 0.5687 GB, free: 2.734 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/0.3081, allocations: 7.981 MB / 0.5765 GB, free: 9.348 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-05/0.3082, allocations: 28 kB / 0.5765 GB, free: 9.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.007866/0.316, allocations: 7.874 MB / 0.5842 GB, free: 1.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.3161, allocations: 55.88 kB / 0.5842 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.672e-05/0.3161, allocations: 100.5 kB / 0.5843 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.3174, allocations: 0.794 MB / 0.5851 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.3193, allocations: 1.181 MB / 0.5863 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/0.3232, allocations: 4.384 MB / 0.5906 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.3249, allocations: 319.7 kB / 0.5909 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.3252, allocations: 300 kB / 0.5911 GB, free: 10.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * 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): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002245/0.3275, allocations: 2.024 MB / 0.5931 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.3277, allocations: 258.3 kB / 0.5934 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/0.3324, allocations: 4.703 MB / 0.598 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/0.3325, allocations: 51.97 kB / 0.598 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3325, allocations: 4 kB / 0.598 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3325, allocations: 7.969 kB / 0.598 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.3428, allocations: 9.261 MB / 0.6071 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.3428, allocations: 8 kB / 0.6071 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008392/0.3436, allocations: 367.5 kB / 0.6074 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.345, allocations: 0.6483 MB / 0.6081 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.3451, allocations: 43.98 kB / 0.6081 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.3483, allocations: 3.781 MB / 0.6118 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3483, allocations: 8 kB / 0.6118 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006736/0.355, allocations: 7.099 MB / 0.6187 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.3555, allocations: 254.3 kB / 0.619 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.3556, allocations: 36 kB / 0.619 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.3563, allocations: 175.6 kB / 0.6192 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.3565, allocations: 140.8 kB / 0.6193 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.602e-05/0.3566, allocations: 67.98 kB / 0.6194 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001601/0.3582, allocations: 1.532 MB / 0.6209 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.3582, allocations: 0 / 0.6209 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002953/0.3612, allocations: 0.9882 MB / 0.6218 GB, free: 10.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003706/0.3616, allocations: 194.8 kB / 0.622 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005033/0.3666, allocations: 5.158 MB / 0.6271 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3666, allocations: 0 / 0.6271 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.3685, allocations: 1.875 MB / 0.6289 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.3695, allocations: 275.8 kB / 0.6292 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1664/0.5359, allocations: 9.921 MB / 0.6388 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.5378, allocations: 2.63 MB / 0.6414 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000809/0.5386, allocations: 241.9 kB / 0.6416 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.532e-06/0.5386, allocations: 0 / 0.6416 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.05944/0.598, allocations: 71.32 MB / 0.7113 GB, free: 115.5 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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: 7.421655725687742]