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.001091/0.001091, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001042/0.001042, allocations: 173.9 kB / 25.33 MB, free: 9.457 MB / 18.57 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.8638/0.8638, allocations: 158.6 MB / 187.2 MB, free: 2.527 MB / 170.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 1.292e-06/1.292e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.703e-05, allocations: 5.406 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01017/0.01019, allocations: 13.42 MB / 264.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007414/0.0176, allocations: 4.311 MB / 268.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.01893, allocations: 91.62 kB / 268.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003888/0.02282, allocations: 4.046 MB / 272.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.0264, allocations: 2.243 MB / 275.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.02738, allocations: 0.7485 MB / 275.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003518/0.0309, allocations: 4.801 MB / 280.7 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003304/0.0342, allocations: 4.105 MB / 284.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.0366, allocations: 2.92 MB / 287.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.03898, allocations: 2.743 MB / 290.5 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000444/0.03942, allocations: 436 kB / 290.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.04061, allocations: 1.12 MB / 292 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.04191, allocations: 2.513 MB / 294.5 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.04333, allocations: 1.628 MB / 296.2 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.0472, allocations: 5.445 MB / 301.6 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.0472, allocations: 0 / 301.6 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0472, allocations: 0 / 301.6 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.934e-05/0.04727, allocations: 0 / 301.6 MB, free: 0.8047 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.1231/0.1704, allocations: 7.049 MB / 308.6 MB, free: 52.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.1705, allocations: 13.11 kB / 308.7 MB, free: 52.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/0.176, allocations: 2.569 MB / 311.2 MB, free: 51.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/0.18, allocations: 2.523 MB / 313.8 MB, free: 50.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.1802, allocations: 304.2 kB / 314.1 MB, free: 50.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005196/0.1807, allocations: 411.6 kB / 314.5 MB, free: 50.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/0.1895, allocations: 7.599 MB / 322.1 MB, free: 43.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.342e-05/0.1896, allocations: 55.86 kB / 322.1 MB, free: 43.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003407/0.1899, allocations: 191.3 kB / 322.3 MB, free: 43.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002088/0.192, allocations: 2.369 MB / 324.7 MB, free: 41.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008197/0.2002, allocations: 4.455 MB / 329.1 MB, free: 36.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03006/0.2303, allocations: 50.27 MB / 379.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008231/0.2385, allocations: 2.807 MB / 382.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.2399, allocations: 0.9865 MB / 383.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.2402, allocations: 149 kB / 383.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.2402, allocations: 58.7 kB / 383.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=221): time 4.679e-06/0.2402, allocations: 0 / 383.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=252): time 0.03685/0.2771, allocations: 17.64 MB / 401 MB, free: 11.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.2772, allocations: 162.5 kB / 401.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/0.2808, allocations: 3.779 MB / 405 MB, free: 7.812 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.281, allocations: 65.7 kB / 405 MB, free: 7.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/0.2827, allocations: 3.904 MB / 408.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007328/0.2835, allocations: 1.03 MB / 410 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/0.2851, allocations: 1.625 MB / 411.6 MB, free: 1.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2852, allocations: 484.7 kB / 412.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.2869, allocations: 0.974 MB / 413 MB, free: 15.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/0.2911, allocations: 7.006 MB / 420 MB, free: 6.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007002/0.2981, allocations: 8.846 MB / 428.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.405e-05/0.2982, allocations: 40 kB / 428.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01035/0.3086, allocations: 7.019 MB / 435.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.3086, allocations: 70.66 kB / 436 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.3087, allocations: 140 kB / 436.1 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.3102, allocations: 0.6909 MB / 436.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/0.3136, allocations: 1.836 MB / 438.7 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1348/0.4484, allocations: 3.333 MB / 442 MB, free: 103.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/0.4526, allocations: 460.2 kB / 442.5 MB, free: 103.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008872/0.4535, allocations: 487.6 kB / 442.9 MB, free: 103.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * 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 (875): * Single equations (assignments): 871 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001933/0.4555, allocations: 0.7316 MB / 443.7 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007259/0.4562, allocations: 470.5 kB / 444.1 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.4608, allocations: 2.949 MB / 447.1 MB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/0.4608, allocations: 36.23 kB / 447.1 MB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4608, allocations: 7.875 kB / 447.1 MB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.4608, allocations: 13.95 kB / 447.1 MB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009998/0.4708, allocations: 7.741 MB / 454.9 MB, free: 102.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.4708, allocations: 4.406 kB / 454.9 MB, free: 102.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.4722, allocations: 0.61 MB / 455.5 MB, free: 102.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.4734, allocations: 0.5013 MB / 456 MB, free: 102.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.4735, allocations: 99.81 kB / 456.1 MB, free: 102.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.4761, allocations: 3.086 MB / 459.2 MB, free: 100.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4761, allocations: 3.562 kB / 459.2 MB, free: 100.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005347/0.4815, allocations: 4.255 MB / 463.4 MB, free: 99.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.4826, allocations: 0.7981 MB / 464.2 MB, free: 99.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.4829, allocations: 57.88 kB / 464.3 MB, free: 99.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.4841, allocations: 209.2 kB / 464.5 MB, free: 99.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/0.4844, allocations: 218.8 kB / 464.7 MB, free: 99.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.4845, allocations: 127.5 kB / 464.8 MB, free: 99.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001754/0.4863, allocations: 1.628 MB / 466.5 MB, free: 98.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4863, allocations: 0 / 466.5 MB, free: 98.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003781/0.4901, allocations: 1.332 MB / 467.8 MB, free: 98.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (225): * Single equations (assignments): 221 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004257/0.4905, allocations: 221.6 kB / 468 MB, free: 98.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004927/0.4954, allocations: 4.116 MB / 472.1 MB, free: 94.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4954, allocations: 3.938 kB / 472.1 MB, free: 94.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.497, allocations: 1.386 MB / 473.5 MB, free: 93.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.4985, allocations: 0.5071 MB / 474 MB, free: 92.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5087, allocations: 9.777 MB / 483.8 MB, free: 83.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009931/0.5097, allocations: 1.496 MB / 485.3 MB, free: 81.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002698/0.5124, allocations: 1.958 MB / 487.2 MB, free: 79.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009829/0.5134, allocations: 468.1 kB / 487.7 MB, free: 79.19 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5134, allocations: 0 / 487.7 MB, free: 79.19 MB / 362.7 MB Notification: Performance of Templates: time 0.0552/0.5686, allocations: 51.28 MB / 0.5264 GB, free: 27.88 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.335652832873166]