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.001887/0.001887, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.002301/0.002301, allocations: 160 kB / 24.5 MB, free: 3.715 MB / 14.72 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.55/1.55, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 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 0.001566/0.001566, allocations: 51.2 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08747, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01305/0.1005, allocations: 9.838 MB / 388.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007906/0.1084, allocations: 3.855 MB / 392.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009802/0.1094, allocations: 83.62 kB / 392.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00581/0.1152, allocations: 3.092 MB / 395.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.1195, allocations: 1.938 MB / 397.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1213, allocations: 0.8267 MB / 398.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005661/0.1269, allocations: 4.413 MB / 403 MB, free: 7.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00355/0.1305, allocations: 3.024 MB / 406 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.1325, allocations: 1.639 MB / 407.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.1353, allocations: 2.149 MB / 409.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005748/0.1359, allocations: 344 kB / 410.1 MB, free: 300 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.138, allocations: 1.131 MB / 411.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.14, allocations: 2.045 MB / 413.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.1418, allocations: 1.685 MB / 415 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008072/0.1499, allocations: 7.432 MB / 422.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1499, allocations: 0 / 422.4 MB, free: 3.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1499, allocations: 4 kB / 422.4 MB, free: 3.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.15, allocations: 0 / 422.4 MB, free: 3.949 MB / 382.1 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.009476/0.1595, allocations: 5.108 MB / 427.5 MB, free: 14.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1595, allocations: 8.031 kB / 427.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008963/0.1685, allocations: 2.213 MB / 429.7 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/0.174, allocations: 2.73 MB / 432.5 MB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.1742, allocations: 238.2 kB / 432.7 MB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/0.1748, allocations: 319.8 kB / 433 MB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.1914, allocations: 10.48 MB / 443.5 MB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.1915, allocations: 43.64 kB / 443.5 MB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.1919, allocations: 159.8 kB / 443.7 MB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003553/0.1954, allocations: 2.025 MB / 445.7 MB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.2131, allocations: 8.881 MB / 454.6 MB, free: 2.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2193/0.4323, allocations: 38.42 MB / 493 MB, free: 56.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.4436, allocations: 3.997 MB / 497 MB, free: 56.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.4461, allocations: 2.288 MB / 499.3 MB, free: 55.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008697/0.4548, allocations: 6.205 MB / 0.4937 GB, free: 52.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4548, allocations: 51.06 kB / 0.4937 GB, free: 52.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=177): time 4.628e-06/0.4548, allocations: 0 / 0.4937 GB, free: 52.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=198): time 0.04103/0.4958, allocations: 19.11 MB / 0.5124 GB, free: 38.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4959, allocations: 171.5 kB / 0.5125 GB, free: 38.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.4993, allocations: 3.908 MB / 0.5163 GB, free: 34.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.4995, allocations: 53.7 kB / 0.5164 GB, free: 34.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.5005, allocations: 3.278 MB / 0.5196 GB, free: 31.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/0.5009, allocations: 0.7895 MB / 0.5204 GB, free: 30.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/0.5021, allocations: 1.288 MB / 0.5216 GB, free: 29.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.5022, allocations: 305.1 kB / 0.5219 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/0.5046, allocations: 2.378 MB / 0.5242 GB, free: 26.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.5082, allocations: 6.095 MB / 0.5302 GB, free: 19.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006674/0.5148, allocations: 9.122 MB / 0.5391 GB, free: 8.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.534e-05/0.5149, allocations: 36 kB / 0.5391 GB, free: 8.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01199/0.5269, allocations: 9.217 MB / 0.5481 GB, free: 14.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.527, allocations: 60 kB / 0.5482 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/0.5271, allocations: 128 kB / 0.5483 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/0.5302, allocations: 1.196 MB / 0.5495 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/0.5347, allocations: 1.435 MB / 0.5509 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.5451, allocations: 7.078 MB / 0.5578 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/0.5495, allocations: 355.5 kB / 0.5581 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/0.5506, allocations: 380 kB / 0.5585 GB, free: 4.141 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * 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 (763): * Single equations (assignments): 757 * 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.004023/0.5546, allocations: 2.171 MB / 0.5606 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000758/0.5554, allocations: 341.7 kB / 0.5609 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007823/0.5632, allocations: 3.962 MB / 0.5648 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/0.5632, allocations: 26.98 kB / 0.5648 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.5633, allocations: 9.078 kB / 0.5648 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/0.5633, allocations: 7.969 kB / 0.5649 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.5806, allocations: 8.266 MB / 0.5729 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/0.5806, allocations: 12.81 kB / 0.5729 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.5822, allocations: 315.5 kB / 0.5732 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/0.5851, allocations: 1.02 MB / 0.5742 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/0.5853, allocations: 36 kB / 0.5743 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.5955, allocations: 6.689 MB / 0.5808 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.5955, allocations: 11.12 kB / 0.5808 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/0.6074, allocations: 6.957 MB / 0.5876 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009246/0.6083, allocations: 313.6 kB / 0.5879 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/0.6089, allocations: 39.2 kB / 0.5879 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.6107, allocations: 119.8 kB / 0.5881 GB, free: 5.602 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.611, allocations: 136.9 kB / 0.5882 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.6112, allocations: 56 kB / 0.5882 GB, free: 5.414 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003403/0.6146, allocations: 2.255 MB / 0.5904 GB, free: 3.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6146, allocations: 4 kB / 0.5904 GB, free: 3.168 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004526/0.6191, allocations: 1.043 MB / 0.5915 GB, free: 2.125 MB / 478.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 (157): * Single equations (assignments): 153 * 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.000391/0.6195, allocations: 178.2 kB / 0.5916 GB, free: 1.941 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008452/0.6279, allocations: 5.471 MB / 0.597 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6279, allocations: 192 / 0.597 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003448/0.6314, allocations: 1.931 MB / 0.5989 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.6337, allocations: 404.6 kB / 0.5992 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.6502, allocations: 10.17 MB / 0.6092 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004118/0.6544, allocations: 2.834 MB / 0.612 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004615/0.659, allocations: 1.947 MB / 0.6139 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008552/0.6598, allocations: 236.5 kB / 0.6141 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.6598, allocations: 4 kB / 0.6141 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.07048/0.7303, allocations: 33.62 MB / 0.6469 GB, free: 9.664 MB / 0.5294 GB " [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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/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.241287974989973]