Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.0007652/0.0007652, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001833, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007364/0.0007364, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009608/0.001697, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9249/0.9249, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1219/1.047, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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(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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.662e-05, allocations: 6.25 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.009401/0.009428, allocations: 10.73 MB / 255.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009019/0.01845, allocations: 4.153 MB / 259.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.0213, allocations: 75.69 kB / 260 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.02522, allocations: 3.22 MB / 263.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004392/0.02962, allocations: 1.979 MB / 265.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.03146, allocations: 0.8419 MB / 266 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005048/0.03651, allocations: 4.526 MB / 270.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0048/0.0413, allocations: 3.198 MB / 273.7 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1317/0.173, allocations: 2.889 MB / 276.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006779/0.1798, allocations: 2.132 MB / 278.8 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.181, allocations: 348.3 kB / 279.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003786/0.1848, allocations: 1.218 MB / 280.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.1874, allocations: 1.912 MB / 282.2 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.1898, allocations: 1.076 MB / 283.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009387/0.1992, allocations: 4.5 MB / 287.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.735e-05/0.1992, allocations: 0 / 287.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1992, allocations: 1.406 kB / 287.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002111/0.1994, allocations: 0 / 287.8 MB, free: 3.723 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: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01363/0.213, allocations: 5.68 MB / 293.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2131, allocations: 10.91 kB / 293.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.2166, allocations: 1.112 MB / 294.6 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.2195, allocations: 2.023 MB / 296.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2196, allocations: 242.2 kB / 296.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004105/0.22, allocations: 323 kB / 297.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007165/0.2272, allocations: 5.103 MB / 302.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.563e-05/0.2273, allocations: 42.69 kB / 302.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.2276, allocations: 153.5 kB / 302.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.2295, allocations: 1.781 MB / 304.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005756/0.2353, allocations: 2.588 MB / 306.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/0.2641, allocations: 31.48 MB / 338.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.2684, allocations: 1.883 MB / 340.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/0.2688, allocations: 432.8 kB / 340.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004481/0.2733, allocations: 3.519 MB / 344.2 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2734, allocations: 47.56 kB / 344.2 MB, free: 3.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=145): time 3.576e-06/0.2734, allocations: 4 kB / 344.2 MB, free: 3.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=150): time 0.01287/0.2862, allocations: 5.607 MB / 349.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.2863, allocations: 147.2 kB / 350 MB, free: 14.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.2888, allocations: 3.299 MB / 353.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.2889, allocations: 47.73 kB / 353.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.2901, allocations: 3.145 MB / 356.5 MB, free: 8.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.2905, allocations: 0.6224 MB / 357.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009134/0.2914, allocations: 1.171 MB / 358.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.2914, allocations: 301.1 kB / 358.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.2926, allocations: 0.7587 MB / 359.3 MB, free: 5.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/0.2953, allocations: 4.497 MB / 363.8 MB, free: 15.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003945/0.2992, allocations: 5.767 MB / 369.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.153e-05/0.2993, allocations: 40 kB / 369.6 MB, free: 8.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.004737/0.304, allocations: 4.249 MB / 373.9 MB, free: 3.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.3041, allocations: 64.19 kB / 373.9 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.3042, allocations: 151.9 kB / 374.1 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.305, allocations: 359.3 kB / 374.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/0.3076, allocations: 1.521 MB / 375.9 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.3095, allocations: 2.188 MB / 378.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.312, allocations: 275.8 kB / 378.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.3123, allocations: 330.6 kB / 378.7 MB, free: 15.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 (762): * Single equations (assignments): 756 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001483/0.3137, allocations: 0.6196 MB / 379.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.3141, allocations: 211.4 kB / 379.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.3153, allocations: 0.8784 MB / 380.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.3153, allocations: 19.94 kB / 380.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3153, allocations: 4 kB / 380.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.3153, allocations: 7.969 kB / 380.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/0.3204, allocations: 4 MB / 384.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3204, allocations: 15.88 kB / 384.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.321, allocations: 243.8 kB / 384.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.3214, allocations: 305.6 kB / 385 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007387/0.3222, allocations: 377.8 kB / 385.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-05/0.3222, allocations: 32 kB / 385.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.3238, allocations: 1.925 MB / 387.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3238, allocations: 8 kB / 387.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.3256, allocations: 1.822 MB / 389.2 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.3258, allocations: 31.98 kB / 389.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.3264, allocations: 28 kB / 389.2 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3265, allocations: 96.38 kB / 389.3 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.3266, allocations: 48 kB / 389.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.3276, allocations: 1.198 MB / 390.6 MB, free: 3.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3276, allocations: 0 / 390.6 MB, free: 3.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003189/0.3308, allocations: 0.9999 MB / 391.6 MB, free: 2.164 MB / 362.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 (120): * Single equations (assignments): 116 * 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.0003646/0.3312, allocations: 171.9 kB / 391.7 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003509/0.3347, allocations: 2.49 MB / 394.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002369/0.3349, allocations: 119.5 kB / 394.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.3357, allocations: 0.5225 MB / 394.9 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.3384, allocations: 0.8376 MB / 395.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.3521, allocations: 7.698 MB / 403.4 MB, free: 6.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.3535, allocations: 1.271 MB / 404.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001566/0.3551, allocations: 494.8 kB / 405.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009128/0.356, allocations: 0.5207 MB / 405.7 MB, free: 3.836 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.356, allocations: 0 / 405.7 MB, free: 3.836 MB / 378.7 MB Notification: Performance of Templates: time 0.1579/0.5139, allocations: 29.83 MB / 435.5 MB, free: 116.7 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.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.6264612674713135]