Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001503/0.001503, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001838/0.001838, allocations: 166.2 kB / 24.82 MB, free: 9.266 MB / 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 0.9763/0.9763, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.666e-05, allocations: 2.312 kB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.02437/0.0244, allocations: 12.26 MB / 285.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.0413, allocations: 4.189 MB / 289.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.04309, allocations: 95.56 kB / 289.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1172/0.1603, allocations: 3.926 MB / 293.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.165, allocations: 2.111 MB / 296 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.1665, allocations: 0.7592 MB / 296.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00513/0.1716, allocations: 4.63 MB / 301.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00371/0.1753, allocations: 3.991 MB / 305.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.1787, allocations: 2.922 MB / 308.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.1811, allocations: 2.481 MB / 310.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006644/0.1817, allocations: 404.4 kB / 311.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.1831, allocations: 1.067 MB / 312.2 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.1842, allocations: 2.345 MB / 314.6 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.1855, allocations: 1.507 MB / 316.1 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003754/0.1893, allocations: 5.057 MB / 321.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1893, allocations: 0 / 321.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1893, allocations: 0 / 321.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001076/0.1894, allocations: 0 / 321.1 MB, free: 15.5 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.008041/0.1974, allocations: 6.38 MB / 327.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1975, allocations: 8.031 kB / 327.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/0.2012, allocations: 1.595 MB / 329.1 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.204, allocations: 2.181 MB / 331.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.2041, allocations: 292.6 kB / 331.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004132/0.2045, allocations: 392.3 kB / 332 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007047/0.2116, allocations: 6.171 MB / 338.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-05/0.2117, allocations: 46.59 kB / 338.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.212, allocations: 179 kB / 338.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.2134, allocations: 1.791 MB / 340.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00516/0.2186, allocations: 2.7 MB / 342.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03269/0.2513, allocations: 47.26 MB / 390.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003884/0.2552, allocations: 1.575 MB / 391.7 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.2558, allocations: 490.3 kB / 392.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00537/0.2611, allocations: 4.301 MB / 396.5 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2612, allocations: 50.39 kB / 396.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=146): time 3.547e-06/0.2612, allocations: 0 / 396.5 MB, free: 3.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=156): time 0.01542/0.2766, allocations: 6.061 MB / 402.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.2767, allocations: 145.5 kB / 402.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/0.2809, allocations: 3.877 MB / 406.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.407e-05/0.281, allocations: 45.7 kB / 406.6 MB, free: 9.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/0.2836, allocations: 3.943 MB / 410.6 MB, free: 5.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006658/0.2843, allocations: 0.6826 MB / 411.3 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.2858, allocations: 1.442 MB / 412.7 MB, free: 3.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.2859, allocations: 476.8 kB / 413.2 MB, free: 2.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.2871, allocations: 0.5787 MB / 413.8 MB, free: 2.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/0.2917, allocations: 6.844 MB / 420.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00668/0.2984, allocations: 8.163 MB / 428.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/0.2985, allocations: 44 kB / 428.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.007977/0.3065, allocations: 5.25 MB / 434.1 MB, free: 8.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.813e-05/0.3066, allocations: 68 kB / 434.1 MB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/0.3067, allocations: 148.9 kB / 434.3 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004991/0.3072, allocations: 271.5 kB / 434.5 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.3104, allocations: 1.485 MB / 436 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.3122, allocations: 2.15 MB / 438.2 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.3153, allocations: 291.7 kB / 438.5 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/0.3157, allocations: 356 kB / 438.8 MB, free: 3.164 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (821): * Single equations (assignments): 817 * 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.001366/0.317, allocations: 0.717 MB / 439.5 MB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/0.3175, allocations: 397.6 kB / 439.9 MB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.3191, allocations: 0.9761 MB / 440.9 MB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.3191, allocations: 23.98 kB / 440.9 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3191, allocations: 0 / 440.9 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3191, allocations: 7.984 kB / 440.9 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1307/0.4498, allocations: 5.006 MB / 445.9 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4498, allocations: 6.75 kB / 445.9 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007357/0.4505, allocations: 257.3 kB / 446.2 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.4508, allocations: 76.84 kB / 446.3 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.4509, allocations: 34.11 kB / 446.3 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009503/0.4518, allocations: 1.883 MB / 448.2 MB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4518, allocations: 6.219 kB / 448.2 MB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.4543, allocations: 2.18 MB / 450.4 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/0.4551, allocations: 458.6 kB / 450.8 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.4553, allocations: 33.92 kB / 450.8 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.4559, allocations: 35.34 kB / 450.9 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.4561, allocations: 108.1 kB / 451 MB, free: 119 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.4562, allocations: 43.05 kB / 451 MB, free: 119 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00208/0.4582, allocations: 1.531 MB / 452.6 MB, free: 118.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4582, allocations: 0 / 452.6 MB, free: 118.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003442/0.4617, allocations: 1.041 MB / 453.6 MB, free: 118.8 MB / 394.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 (141): * Single equations (assignments): 137 * 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.0003248/0.462, allocations: 189.5 kB / 453.8 MB, free: 118.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.4651, allocations: 2.896 MB / 456.7 MB, free: 118.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4651, allocations: 0 / 456.7 MB, free: 118.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.4658, allocations: 0.635 MB / 457.3 MB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.4672, allocations: 445 kB / 457.7 MB, free: 118 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009143/0.4763, allocations: 8.352 MB / 466.1 MB, free: 114.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009923/0.4773, allocations: 1.364 MB / 467.5 MB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001209/0.4785, allocations: 0.528 MB / 468 MB, free: 114 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/0.4793, allocations: 0.6013 MB / 468.6 MB, free: 114 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4793, allocations: 0 / 468.6 MB, free: 114 MB / 394.7 MB Notification: Performance of Templates: time 0.04195/0.5212, allocations: 30.25 MB / 498.8 MB, free: 87.96 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.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.935044880025089]