Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.00125/0.00125, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001745/0.002994, 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.001133/0.001133, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002637, 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.8674/0.8674, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1509/1.018, 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.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.638e-05, allocations: 2.312 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01079/0.01081, allocations: 13.14 MB / 235.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008669/0.01948, allocations: 4.496 MB / 239.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.02115, allocations: 99.56 kB / 239.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003831/0.02498, allocations: 3.803 MB / 243.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.02924, allocations: 2.219 MB / 245.7 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.03053, allocations: 0.7094 MB / 246.5 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004911/0.03544, allocations: 4.653 MB / 251.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004074/0.03951, allocations: 3.895 MB / 255 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0043/0.04381, allocations: 3.154 MB / 258.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003381/0.0472, allocations: 2.505 MB / 260.7 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.04846, allocations: 428 kB / 261.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.05094, allocations: 1.12 MB / 262.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001824/0.05277, allocations: 2.221 MB / 264.4 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.05437, allocations: 1.32 MB / 265.7 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.0589, allocations: 5.024 MB / 270.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.05891, allocations: 0 / 270.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.05891, allocations: 8 kB / 270.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001192/0.05903, allocations: 3.938 kB / 270.8 MB, free: 15.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.007203/0.06623, allocations: 6.83 MB / 277.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.06628, allocations: 8.031 kB / 277.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.06906, allocations: 1.226 MB / 278.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.07152, allocations: 2.104 MB / 280.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.07166, allocations: 303.9 kB / 281.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004167/0.07207, allocations: 407.8 kB / 281.6 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1105/0.1825, allocations: 5.854 MB / 287.5 MB, free: 44.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/0.1827, allocations: 49.83 kB / 287.5 MB, free: 44.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003441/0.183, allocations: 189 kB / 287.7 MB, free: 44.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00217/0.1852, allocations: 1.84 MB / 289.6 MB, free: 44.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006184/0.1914, allocations: 2.935 MB / 292.5 MB, free: 44.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02383/0.2152, allocations: 35.69 MB / 328.2 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.2186, allocations: 1.644 MB / 329.8 MB, free: 16.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.2191, allocations: 434.1 kB / 330.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004456/0.2235, allocations: 4.236 MB / 334.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2235, allocations: 51.56 kB / 334.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=167): time 3.095e-06/0.2235, allocations: 0 / 334.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=176): time 0.01115/0.2347, allocations: 5.579 MB / 340.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.2347, allocations: 145.5 kB / 340.3 MB, free: 5.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.237, allocations: 3.565 MB / 343.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/0.2371, allocations: 53.7 kB / 343.9 MB, free: 2.367 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.2383, allocations: 3.667 MB / 347.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/0.2388, allocations: 0.7249 MB / 348.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.2398, allocations: 1.291 MB / 349.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.2399, allocations: 305 kB / 349.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.2412, allocations: 0.83 MB / 350.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005428/0.2466, allocations: 5.006 MB / 355.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006663/0.2532, allocations: 6.944 MB / 362.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/0.2534, allocations: 44 kB / 362.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.006633/0.26, allocations: 4.635 MB / 367.3 MB, free: 6.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/0.2601, allocations: 76.06 kB / 367.4 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/0.2602, allocations: 164 kB / 367.6 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.2607, allocations: 259.6 kB / 367.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.2637, allocations: 1.735 MB / 369.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.2651, allocations: 1.631 MB / 371.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/0.2678, allocations: 303.8 kB / 371.5 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/0.2682, allocations: 360 kB / 371.8 MB, free: 1.953 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 702 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (861): * Single equations (assignments): 857 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.2696, allocations: 0.6856 MB / 372.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.27, allocations: 235.8 kB / 372.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.2714, allocations: 1 MB / 373.7 MB, free: 0 / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.2714, allocations: 16.05 kB / 373.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2714, allocations: 3.984 kB / 373.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.2714, allocations: 7.922 kB / 373.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006997/0.2784, allocations: 4.563 MB / 378.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.2785, allocations: 12 kB / 378.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/0.2794, allocations: 336.2 kB / 378.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007846/0.2801, allocations: 464.8 kB / 379.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/0.2804, allocations: 71.58 kB / 379.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/0.2805, allocations: 39.98 kB / 379.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.2817, allocations: 1.522 MB / 380.8 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.2817, allocations: 11.94 kB / 380.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.2846, allocations: 1.957 MB / 382.7 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006411/0.2853, allocations: 35.98 kB / 382.8 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.2863, allocations: 39.98 kB / 382.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.2865, allocations: 124.6 kB / 382.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.2866, allocations: 44 kB / 383 MB, free: 6.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001621/0.2882, allocations: 1.297 MB / 384.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2882, allocations: 4 kB / 384.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004094/0.2923, allocations: 1.121 MB / 385.4 MB, free: 4.031 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (162): * Single equations (assignments): 158 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004675/0.2927, allocations: 179.9 kB / 385.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004246/0.297, allocations: 2.902 MB / 388.5 MB, free: 1.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002177/0.2972, allocations: 114.8 kB / 388.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.2981, allocations: 0.6893 MB / 389.3 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/0.3017, allocations: 3.214 MB / 392.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/0.3191, allocations: 8.876 MB / 401.4 MB, free: 3.555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.3208, allocations: 1.444 MB / 402.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001819/0.3226, allocations: 0.5441 MB / 403.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.3236, allocations: 0.5753 MB / 403.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of SimCode: time 1.923e-06/0.3236, allocations: 0 / 403.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of Templates: time 0.1797/0.5033, allocations: 30.92 MB / 434.8 MB, free: 107.6 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.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.439764581620693]