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.001369/0.001369, allocations: 84.73 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.001148/0.001148, allocations: 160.2 kB / 24.91 MB, free: 8.262 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.8924/0.8924, allocations: 177 MB / 205.2 MB, free: 5.445 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 9.81e-07/9.81e-07, allocations: 3.938 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.22e-05, allocations: 2.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009005/0.009018, allocations: 12.33 MB / 285.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005999/0.01502, allocations: 4.363 MB / 290.1 MB, free: 428 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.0158, allocations: 103.5 kB / 290.2 MB, free: 324 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1104/0.1262, allocations: 3.902 MB / 294.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004761/0.131, allocations: 2.09 MB / 296.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.1323, allocations: 0.7545 MB / 297 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005054/0.1374, allocations: 4.638 MB / 301.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004025/0.1414, allocations: 3.972 MB / 305.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.1451, allocations: 2.875 MB / 308.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.1477, allocations: 2.38 MB / 310.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008688/0.1486, allocations: 403.4 kB / 311.2 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.1502, allocations: 1.091 MB / 312.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.1514, allocations: 2.342 MB / 314.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.1532, allocations: 1.501 MB / 316.1 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004534/0.1577, allocations: 5.055 MB / 321.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1577, allocations: 0 / 321.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1577, allocations: 0 / 321.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000214/0.1579, allocations: 4 kB / 321.2 MB, free: 15.29 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.007269/0.1652, allocations: 5.491 MB / 326.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1652, allocations: 11.98 kB / 326.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.168, allocations: 1.183 MB / 327.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.1706, allocations: 2.024 MB / 329.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1707, allocations: 294.2 kB / 330.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/0.1711, allocations: 385.2 kB / 330.6 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006303/0.1774, allocations: 5.608 MB / 336.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.1775, allocations: 58.39 kB / 336.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.1778, allocations: 182.4 kB / 336.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/0.1792, allocations: 1.789 MB / 338.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005215/0.1844, allocations: 2.767 MB / 341 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03492/0.2193, allocations: 34.28 MB / 375.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003963/0.2233, allocations: 1.604 MB / 376.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.2238, allocations: 384.1 kB / 377.2 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005811/0.2296, allocations: 3.983 MB / 381.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.2297, allocations: 47.56 kB / 381.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 4.258e-06/0.2297, allocations: 0 / 381.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01236/0.242, allocations: 5.528 MB / 386.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.2421, allocations: 145.5 kB / 386.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.2447, allocations: 3.477 MB / 390.4 MB, free: 9.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.2448, allocations: 45.7 kB / 390.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.2462, allocations: 3.504 MB / 394 MB, free: 6.336 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.2465, allocations: 0.6552 MB / 394.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009263/0.2475, allocations: 1.235 MB / 395.9 MB, free: 4.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.2475, allocations: 301.1 kB / 396.1 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.2487, allocations: 0.7833 MB / 396.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/0.2514, allocations: 4.828 MB / 401.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.2557, allocations: 6.201 MB / 408 MB, free: 4.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-05/0.2558, allocations: 40 kB / 408 MB, free: 4.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.004745/0.2605, allocations: 4.446 MB / 412.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.2606, allocations: 75.92 kB / 412.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.655e-05/0.2607, allocations: 148 kB / 412.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.2611, allocations: 259.6 kB / 412.9 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.2635, allocations: 1.56 MB / 414.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.2646, allocations: 1.608 MB / 416.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.2666, allocations: 291.8 kB / 416.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.2668, allocations: 352 kB / 416.7 MB, free: 11.23 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.001176/0.268, allocations: 0.6663 MB / 417.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.2683, allocations: 223.8 kB / 417.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.2694, allocations: 0.8647 MB / 418.5 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.2694, allocations: 20 kB / 418.5 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2694, allocations: 4 kB / 418.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.2694, allocations: 7.969 kB / 418.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005148/0.2745, allocations: 4.233 MB / 422.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.2745, allocations: 7.984 kB / 422.7 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/0.2752, allocations: 275.6 kB / 423 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.2755, allocations: 75.8 kB / 423.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.2755, allocations: 35.92 kB / 423.1 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.2766, allocations: 1.51 MB / 424.6 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2766, allocations: 11.88 kB / 424.6 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.2783, allocations: 1.806 MB / 426.4 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.2788, allocations: 433.3 kB / 426.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.279, allocations: 32 kB / 426.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/0.2795, allocations: 36.03 kB / 426.9 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.2796, allocations: 104.7 kB / 427 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.2797, allocations: 43.98 kB / 427.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009918/0.2807, allocations: 1.259 MB / 428.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2807, allocations: 0 / 428.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002803/0.2835, allocations: 1.035 MB / 429.4 MB, free: 14.25 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.0002956/0.2838, allocations: 178.1 kB / 429.5 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.2865, allocations: 2.611 MB / 432.2 MB, free: 11.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001455/0.2866, allocations: 104.2 kB / 432.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.2872, allocations: 0.5445 MB / 432.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.2887, allocations: 0.6626 MB / 433.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008123/0.2968, allocations: 8.132 MB / 441.6 MB, free: 1.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.2978, allocations: 1.355 MB / 443 MB, free: 492 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.1119/0.4097, allocations: 0.5177 MB / 443.5 MB, free: 125.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/0.411, allocations: 0.5639 MB / 444 MB, free: 125.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.411, allocations: 0 / 444 MB, free: 125.6 MB / 394.7 MB Notification: Performance of Templates: time 0.04521/0.4562, allocations: 30.09 MB / 474.1 MB, free: 113.6 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 -s gbode -gbm=radauIIA3 -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.5475235618650913]