Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001384/0.001384, allocations: 86.58 kB / 21.99 MB, free: 5.184 MB / 14.72 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.001386/0.001386, allocations: 161.4 kB / 25.25 MB, free: 3.031 MB / 14.72 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 1.327/1.327, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 58.58 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1966, allocations: 49.15 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01382/0.2105, allocations: 10.94 MB / 359.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008706/0.2192, allocations: 4 MB / 363.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.2205, allocations: 87.62 kB / 363.5 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006005/0.2265, allocations: 3.15 MB / 366.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004807/0.2313, allocations: 2.144 MB / 368.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.233, allocations: 0.8344 MB / 369.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005875/0.2389, allocations: 4.553 MB / 374.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003723/0.2426, allocations: 3.203 MB / 377.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.2449, allocations: 1.791 MB / 379.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.2482, allocations: 2.394 MB / 381.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007164/0.2489, allocations: 388 kB / 382 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.2511, allocations: 1.178 MB / 383.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002198/0.2533, allocations: 2.271 MB / 385.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002186/0.2555, allocations: 1.887 MB / 387.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009069/0.2646, allocations: 8.326 MB / 395.7 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2646, allocations: 0 / 395.7 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2646, allocations: 0 / 395.7 MB, free: 176 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001322/0.2647, allocations: 0 / 395.7 MB, free: 176 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01014/0.2748, allocations: 5.588 MB / 401.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2749, allocations: 15.92 kB / 401.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009941/0.2848, allocations: 2.334 MB / 403.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.2909, allocations: 2.974 MB / 406.6 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.2911, allocations: 266.8 kB / 406.8 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006237/0.2918, allocations: 347.8 kB / 407.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.3102, allocations: 11.66 MB / 418.8 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.3103, allocations: 39.64 kB / 418.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004239/0.3108, allocations: 167.8 kB / 419 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004059/0.3148, allocations: 2.346 MB / 421.4 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.3331, allocations: 9.901 MB / 431.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05436/0.3874, allocations: 41.57 MB / 472.9 MB, free: 0.9766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1724/0.5598, allocations: 4.792 MB / 477.6 MB, free: 107.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.5625, allocations: 2.563 MB / 480.2 MB, free: 106.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009096/0.5716, allocations: 6.891 MB / 487.1 MB, free: 103.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5716, allocations: 58.91 kB / 487.2 MB, free: 103.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=216): time 4.539e-06/0.5716, allocations: 0 / 487.2 MB, free: 103.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=237): time 0.04357/0.6152, allocations: 21.21 MB / 0.4965 GB, free: 85.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.6152, allocations: 180.2 kB / 0.4966 GB, free: 85.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.6189, allocations: 4.072 MB / 0.5006 GB, free: 81.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.6191, allocations: 65.38 kB / 0.5007 GB, free: 81.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.6203, allocations: 3.559 MB / 0.5041 GB, free: 77.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.6208, allocations: 0.9302 MB / 0.505 GB, free: 76.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.6221, allocations: 1.393 MB / 0.5064 GB, free: 75.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.6221, allocations: 305.1 kB / 0.5067 GB, free: 75.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/0.6251, allocations: 2.695 MB / 0.5093 GB, free: 72.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/0.6291, allocations: 6.633 MB / 0.5158 GB, free: 63.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007775/0.6368, allocations: 10.06 MB / 0.5256 GB, free: 51.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-05/0.6369, allocations: 40 kB / 0.5257 GB, free: 51.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01283/0.6497, allocations: 10.1 MB / 0.5355 GB, free: 41.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.6498, allocations: 67.98 kB / 0.5356 GB, free: 41.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.61e-05/0.6499, allocations: 139.9 kB / 0.5357 GB, free: 41.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/0.6525, allocations: 1.207 MB / 0.5369 GB, free: 40.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004393/0.6569, allocations: 1.602 MB / 0.5385 GB, free: 38.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/0.6641, allocations: 7.059 MB / 0.5454 GB, free: 31.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/0.6681, allocations: 395.6 kB / 0.5457 GB, free: 31.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004249/0.6685, allocations: 400 kB / 0.5461 GB, free: 30.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002524/0.671, allocations: 2.37 MB / 0.5484 GB, free: 28.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004974/0.6715, allocations: 369.5 kB / 0.5488 GB, free: 28.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006972/0.6785, allocations: 4.687 MB / 0.5534 GB, free: 23.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/0.6785, allocations: 28.23 kB / 0.5534 GB, free: 23.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.6785, allocations: 11.94 kB / 0.5534 GB, free: 23.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.6785, allocations: 14.58 kB / 0.5534 GB, free: 23.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.6931, allocations: 9.477 MB / 0.5627 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/0.6932, allocations: 4 kB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/0.6953, allocations: 427.3 kB / 0.5631 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/0.6978, allocations: 1.023 MB / 0.5641 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/0.698, allocations: 47.98 kB / 0.5641 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00738/0.7054, allocations: 6.674 MB / 0.5706 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7054, allocations: 11.94 kB / 0.5707 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.7165, allocations: 8.08 MB / 0.5785 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/0.7185, allocations: 0.6926 MB / 0.5792 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/0.7189, allocations: 44 kB / 0.5793 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.7206, allocations: 147.8 kB / 0.5794 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/0.721, allocations: 153.6 kB / 0.5796 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/0.7212, allocations: 67.98 kB / 0.5796 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003588/0.7248, allocations: 2.36 MB / 0.5819 GB, free: 9.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7248, allocations: 0 / 0.5819 GB, free: 9.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004908/0.7297, allocations: 1.164 MB / 0.5831 GB, free: 8.758 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * Array equations: 3 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004398/0.7302, allocations: 198.5 kB / 0.5832 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01031/0.7405, allocations: 6.223 MB / 0.5893 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.7405, allocations: 0.8438 kB / 0.5893 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004095/0.7446, allocations: 2.24 MB / 0.5915 GB, free: 96 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.7471, allocations: 416.2 kB / 0.5919 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.7675, allocations: 11.37 MB / 0.603 GB, free: 4.207 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005607/0.7731, allocations: 3.164 MB / 0.6061 GB, free: 1.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005592/0.7787, allocations: 2.133 MB / 0.6082 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.7798, allocations: 256.4 kB / 0.6084 GB, free: 14.62 MB / 478.1 MB Notification: Performance of SimCode: time 8.81e-07/0.7798, allocations: 0 / 0.6084 GB, free: 14.62 MB / 478.1 MB Notification: Performance of Templates: time 0.07699/0.8568, allocations: 36.33 MB / 0.6439 GB, free: 10.27 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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: 6.366130928043276]