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.0008184/0.0008184, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001834, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0006818/0.0006818, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008497/0.001532, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9244/0.9244, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1956/1.12, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.7 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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.674e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.009143/0.00916, allocations: 11.94 MB / 233.9 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006933/0.01609, allocations: 4.286 MB / 238.2 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009172/0.01701, allocations: 87.62 kB / 238.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.01992, allocations: 3.286 MB / 241.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.02329, allocations: 2.189 MB / 243.8 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.02443, allocations: 0.8497 MB / 244.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004041/0.02847, allocations: 4.696 MB / 249.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.03145, allocations: 3.366 MB / 252.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.03438, allocations: 3.016 MB / 255.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.03699, allocations: 2.357 MB / 258.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006044/0.0376, allocations: 392 kB / 258.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.03924, allocations: 1.279 MB / 259.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.04049, allocations: 2.131 MB / 261.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.04156, allocations: 1.203 MB / 263.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.04582, allocations: 4.993 MB / 268 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.04583, allocations: 0 / 268 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.04583, allocations: 0 / 268 MB, free: 1.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.5e-05/0.0459, allocations: 0 / 268 MB, free: 1.766 MB / 266.7 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.006438/0.05234, allocations: 6.208 MB / 274.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.05238, allocations: 8.031 kB / 274.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.0555, allocations: 1.249 MB / 275.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.05825, allocations: 2.162 MB / 277.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.05839, allocations: 266.8 kB / 277.9 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003929/0.05878, allocations: 359.8 kB / 278.3 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006128/0.06491, allocations: 5.567 MB / 283.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.68e-05/0.06498, allocations: 51.59 kB / 283.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.06525, allocations: 167.8 kB / 284.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1232/0.1884, allocations: 1.939 MB / 286 MB, free: 44.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007966/0.1964, allocations: 2.865 MB / 288.9 MB, free: 44.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02483/0.2212, allocations: 33.87 MB / 322.7 MB, free: 21.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.2256, allocations: 2.04 MB / 324.8 MB, free: 20 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.2262, allocations: 0.4922 MB / 325.3 MB, free: 19.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004101/0.2303, allocations: 3.884 MB / 329.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.2303, allocations: 62.98 kB / 329.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=184): time 4.508e-06/0.2303, allocations: 0 / 329.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=189): time 0.01393/0.2442, allocations: 6.291 MB / 335.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2443, allocations: 149.8 kB / 335.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.2466, allocations: 3.441 MB / 339.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.291e-05/0.2467, allocations: 53.7 kB / 339.2 MB, free: 6.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.2477, allocations: 3.426 MB / 342.6 MB, free: 2.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.2481, allocations: 0.7597 MB / 343.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008592/0.2489, allocations: 1.271 MB / 344.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.2489, allocations: 301.1 kB / 344.9 MB, free: 492 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.2502, allocations: 0.8543 MB / 345.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/0.2534, allocations: 4.859 MB / 350.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005978/0.2594, allocations: 6.746 MB / 357.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-05/0.2595, allocations: 43.94 kB / 357.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.005968/0.2655, allocations: 4.625 MB / 362 MB, free: 11.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.2655, allocations: 70.81 kB / 362.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/0.2657, allocations: 152.9 kB / 362.3 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008006/0.2665, allocations: 379.8 kB / 362.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/0.2693, allocations: 1.7 MB / 364.3 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.2713, allocations: 2.215 MB / 366.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.2737, allocations: 295.7 kB / 366.8 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/0.274, allocations: 348 kB / 367.2 MB, free: 5.992 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 667 * 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 (844): * Single equations (assignments): 840 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001318/0.2753, allocations: 0.674 MB / 367.8 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.2757, allocations: 239.7 kB / 368.1 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.2773, allocations: 1.113 MB / 369.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.2773, allocations: 20 kB / 369.2 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2773, allocations: 3.984 kB / 369.2 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.2773, allocations: 15.97 kB / 369.2 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/0.2832, allocations: 4.615 MB / 373.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.2833, allocations: 16.03 kB / 373.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.2841, allocations: 323.6 kB / 374.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/0.2847, allocations: 473.3 kB / 374.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008006/0.2855, allocations: 390.3 kB / 375 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/0.2855, allocations: 43.92 kB / 375.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.2872, allocations: 1.923 MB / 377 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2872, allocations: 12.03 kB / 377 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.2894, allocations: 2.122 MB / 379.1 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.2896, allocations: 43.97 kB / 379.2 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.2903, allocations: 40 kB / 379.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.2904, allocations: 128.5 kB / 379.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/0.2905, allocations: 44 kB / 379.4 MB, free: 9.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.2916, allocations: 1.254 MB / 380.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2916, allocations: 2.953 kB / 380.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003544/0.2951, allocations: 1.144 MB / 381.8 MB, free: 7.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (161): * Single equations (assignments): 157 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004028/0.2955, allocations: 183.9 kB / 381.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003737/0.2993, allocations: 2.92 MB / 384.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002001/0.2995, allocations: 120 kB / 385 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002234/0.3017, allocations: 1.237 MB / 386.2 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.3048, allocations: 2.625 MB / 388.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.3222, allocations: 8.622 MB / 397.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.3239, allocations: 1.408 MB / 398.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00185/0.3258, allocations: 0.5254 MB / 399.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008456/0.3266, allocations: 0.5442 MB / 399.9 MB, free: 4.348 MB / 346.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3266, allocations: 0 / 399.9 MB, free: 4.348 MB / 346.7 MB Notification: Performance of Templates: time 0.1889/0.5156, allocations: 32.08 MB / 432 MB, free: 106.6 MB / 362.7 MB " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5538601437583566]