Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001569/0.001569, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001759/0.001759, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.111e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01442/0.01445, allocations: 9.848 MB / 282.2 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.02493, allocations: 3.854 MB / 286 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.02726, allocations: 79.69 kB / 286.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008004/0.03527, allocations: 3.294 MB / 289.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1586/0.1939, allocations: 1.993 MB / 291.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.1967, allocations: 0.9015 MB / 292.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008614/0.2053, allocations: 4.804 MB / 297.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005285/0.2106, allocations: 3.396 MB / 300.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.2151, allocations: 2.421 MB / 302.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.2182, allocations: 2.23 MB / 305.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005377/0.2187, allocations: 354.1 kB / 305.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.2207, allocations: 1.193 MB / 306.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.2228, allocations: 2.134 MB / 308.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.2249, allocations: 1.309 MB / 310.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008009/0.2329, allocations: 7.47 MB / 317.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2329, allocations: 0 / 317.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2329, allocations: 7.938 kB / 317.6 MB, free: 2.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001843/0.2331, allocations: 0 / 317.6 MB, free: 2.684 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.0105/0.2436, allocations: 5.138 MB / 322.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2436, allocations: 8.031 kB / 322.8 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009643/0.2533, allocations: 2.676 MB / 325.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006697/0.26, allocations: 2.724 MB / 328.2 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.2603, allocations: 239.5 kB / 328.4 MB, free: 8.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008767/0.2611, allocations: 323.1 kB / 328.7 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/0.2826, allocations: 10.53 MB / 339.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.2827, allocations: 44.56 kB / 339.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006576/0.2834, allocations: 156.1 kB / 339.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004159/0.2875, allocations: 2.032 MB / 341.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02136/0.3089, allocations: 8.928 MB / 350.4 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06266/0.3716, allocations: 38.72 MB / 389.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/0.3853, allocations: 4.29 MB / 393.4 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004009/0.3893, allocations: 2.308 MB / 395.7 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01481/0.4041, allocations: 6.401 MB / 402.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/0.4042, allocations: 51.12 kB / 402.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=175): time 4.789e-06/0.4042, allocations: 4 kB / 402.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=196): time 0.05803/0.4622, allocations: 19.66 MB / 421.8 MB, free: 9.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002381/0.4625, allocations: 175.5 kB / 422 MB, free: 9.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008014/0.4705, allocations: 3.97 MB / 426 MB, free: 5.688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005545/0.471, allocations: 57.7 kB / 426 MB, free: 5.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003401/0.4744, allocations: 3.24 MB / 429.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/0.4758, allocations: 0.7733 MB / 430 MB, free: 1.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003153/0.479, allocations: 1.266 MB / 431.3 MB, free: 372 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4791, allocations: 301.1 kB / 431.6 MB, free: 68 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1527/0.6318, allocations: 2.395 MB / 434 MB, free: 120.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00827/0.6401, allocations: 6.096 MB / 440.1 MB, free: 115 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.6517, allocations: 9.151 MB / 449.2 MB, free: 107.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/0.6518, allocations: 39.28 kB / 449.3 MB, free: 107.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01495/0.6668, allocations: 9.572 MB / 458.9 MB, free: 104.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.6669, allocations: 60.78 kB / 458.9 MB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002755/0.6672, allocations: 130.8 kB / 459 MB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00315/0.6704, allocations: 1.287 MB / 460.3 MB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/0.6748, allocations: 1.432 MB / 461.8 MB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007975/0.6828, allocations: 7.161 MB / 468.9 MB, free: 96.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005049/0.6879, allocations: 386.5 kB / 469.3 MB, free: 96.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/0.689, allocations: 375 kB / 469.7 MB, free: 96.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (758): * Single equations (assignments): 752 * 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.003655/0.6926, allocations: 2.17 MB / 471.8 MB, free: 94.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009591/0.6936, allocations: 402.6 kB / 472.2 MB, free: 94.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006474/0.7001, allocations: 4.024 MB / 476.3 MB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/0.7001, allocations: 24 kB / 476.3 MB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.7001, allocations: 14.33 kB / 476.3 MB, free: 90.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.7001, allocations: 7.969 kB / 476.3 MB, free: 90.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.7158, allocations: 8.42 MB / 484.7 MB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.7159, allocations: 8 kB / 484.7 MB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.7174, allocations: 327.5 kB / 485 MB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002754/0.7201, allocations: 1.113 MB / 486.2 MB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.7204, allocations: 40 kB / 486.2 MB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007749/0.7281, allocations: 6.765 MB / 493 MB, free: 73.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7281, allocations: 4 kB / 493 MB, free: 73.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009681/0.7378, allocations: 7.108 MB / 0.4884 GB, free: 66.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.7389, allocations: 330.9 kB / 0.4887 GB, free: 66.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007673/0.7396, allocations: 43.98 kB / 0.4887 GB, free: 66.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/0.7417, allocations: 159.2 kB / 0.4889 GB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004126/0.7422, allocations: 132.6 kB / 0.489 GB, free: 66.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.7423, allocations: 59.98 kB / 0.4891 GB, free: 66.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00366/0.746, allocations: 2.309 MB / 0.4913 GB, free: 63.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.746, allocations: 0 / 0.4913 GB, free: 63.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006079/0.7521, allocations: 1.139 MB / 0.4924 GB, free: 62.61 MB / 378.7 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 (155): * Single equations (assignments): 151 * 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.0006568/0.7527, allocations: 202.9 kB / 0.4926 GB, free: 62.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007885/0.7606, allocations: 5.526 MB / 0.498 GB, free: 56.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.7606, allocations: 0 / 0.498 GB, free: 56.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.7634, allocations: 1.947 MB / 0.4999 GB, free: 54.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.7664, allocations: 427.6 kB / 0.5003 GB, free: 54.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.7811, allocations: 10.21 MB / 0.5103 GB, free: 44.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003763/0.7849, allocations: 2.828 MB / 0.513 GB, free: 41.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004156/0.789, allocations: 1.951 MB / 0.515 GB, free: 39.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009881/0.79, allocations: 240.5 kB / 0.5152 GB, free: 39.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.79, allocations: 0 / 0.5152 GB, free: 39.18 MB / 378.7 MB Notification: Performance of Templates: time 0.05764/0.8477, allocations: 35.17 MB / 0.5495 GB, free: 4.547 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.844669918995351]