Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.0009426/0.0009426, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001003/0.001003, allocations: 160.6 kB / 24.91 MB, free: 8.727 MB / 18.57 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.9013/0.9013, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.47e-05, allocations: 6.312 kB / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009703/0.009717, allocations: 12.29 MB / 285.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.01699, allocations: 4.367 MB / 290 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008733/0.01786, allocations: 95.56 kB / 290.1 MB, free: 428 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1177/0.1355, allocations: 3.967 MB / 294.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/0.1395, allocations: 2.122 MB / 296.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1408, allocations: 0.7576 MB / 297 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004845/0.1456, allocations: 4.637 MB / 301.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004047/0.1496, allocations: 4.085 MB / 305.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/0.1531, allocations: 2.895 MB / 308.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.1553, allocations: 2.384 MB / 311 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004776/0.1558, allocations: 402.6 kB / 311.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.1569, allocations: 1.068 MB / 312.4 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009414/0.1578, allocations: 2.339 MB / 314.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008429/0.1587, allocations: 1.505 MB / 316.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.1615, allocations: 5.055 MB / 321.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1615, allocations: 0 / 321.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1615, allocations: 0 / 321.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.782e-05/0.1616, allocations: 0 / 321.3 MB, free: 15.16 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.005593/0.1672, allocations: 5.501 MB / 326.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1672, allocations: 11.98 kB / 326.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.1697, allocations: 1.174 MB / 328 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.1717, allocations: 2.042 MB / 330.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1719, allocations: 287.5 kB / 330.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004003/0.1723, allocations: 379.2 kB / 330.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/0.1778, allocations: 5.603 MB / 336.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.4e-05/0.1779, allocations: 51.38 kB / 336.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.1782, allocations: 181.6 kB / 336.5 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.1796, allocations: 1.79 MB / 338.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004613/0.1842, allocations: 2.776 MB / 341.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.2097, allocations: 34.27 MB / 375.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/0.2132, allocations: 1.608 MB / 377 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.2137, allocations: 386.4 kB / 377.4 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004935/0.2186, allocations: 3.976 MB / 381.3 MB, free: 3.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2186, allocations: 51.5 kB / 381.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.797e-06/0.2187, allocations: 0 / 381.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01211/0.2308, allocations: 5.532 MB / 386.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.2308, allocations: 149.5 kB / 387.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.2332, allocations: 3.477 MB / 390.5 MB, free: 9.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.2333, allocations: 45.7 kB / 390.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.2349, allocations: 3.504 MB / 394.1 MB, free: 6.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/0.2353, allocations: 0.6552 MB / 394.7 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009466/0.2362, allocations: 1.231 MB / 396 MB, free: 4.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.2363, allocations: 309.1 kB / 396.3 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.2374, allocations: 0.7755 MB / 397.1 MB, free: 3.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.2404, allocations: 4.82 MB / 401.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/0.2446, allocations: 6.213 MB / 408.1 MB, free: 3.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.085e-05/0.2447, allocations: 44 kB / 408.1 MB, free: 3.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.004634/0.2493, allocations: 4.446 MB / 412.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.2494, allocations: 68 kB / 412.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-05/0.2495, allocations: 156.9 kB / 412.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.2498, allocations: 255.6 kB / 413 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/0.2521, allocations: 1.493 MB / 414.5 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.2534, allocations: 1.608 MB / 416.1 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.2554, allocations: 291.7 kB / 416.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.2557, allocations: 348 kB / 416.8 MB, free: 11.18 MB / 378.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.00137/0.2571, allocations: 0.674 MB / 417.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/0.2574, allocations: 223.8 kB / 417.7 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.2585, allocations: 0.8646 MB / 418.5 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.2585, allocations: 20 kB / 418.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2585, allocations: 0 / 418.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2585, allocations: 3.984 kB / 418.6 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004921/0.2634, allocations: 4.236 MB / 422.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2634, allocations: 4 kB / 422.8 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.264, allocations: 252.3 kB / 423 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.2643, allocations: 75.58 kB / 423.1 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.2643, allocations: 31.98 kB / 423.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2657, allocations: 1.518 MB / 424.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.2657, allocations: 8 kB / 424.7 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.2673, allocations: 1.81 MB / 426.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.2678, allocations: 429.3 kB / 426.9 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.268, allocations: 35.98 kB / 426.9 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.2685, allocations: 32 kB / 427 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.2686, allocations: 108.6 kB / 427.1 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.2687, allocations: 40 kB / 427.1 MB, free: 0.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00099/0.2697, allocations: 1.259 MB / 428.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2697, allocations: 0 / 428.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002667/0.2723, allocations: 1.039 MB / 429.4 MB, free: 14.22 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.0002972/0.2726, allocations: 165.1 kB / 429.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.2753, allocations: 2.619 MB / 432.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001492/0.2755, allocations: 104.2 kB / 432.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.276, allocations: 0.541 MB / 432.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.2775, allocations: 0.6581 MB / 433.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/0.2856, allocations: 8.135 MB / 441.6 MB, free: 1.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.2867, allocations: 1.355 MB / 443 MB, free: 472 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.09747/0.3841, allocations: 0.5185 MB / 443.5 MB, free: 126 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.3852, allocations: 0.5669 MB / 444.1 MB, free: 126 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3852, allocations: 0 / 444.1 MB, free: 126 MB / 394.7 MB Notification: Performance of Templates: time 0.04285/0.428, allocations: 30.07 MB / 474.1 MB, free: 114 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6711733723059297]