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.001487/0.001487, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.00191/0.00191, allocations: 168.3 kB / 25.33 MB, free: 9.445 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.8813/0.8813, allocations: 158.6 MB / 187.2 MB, free: 2.559 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.743e-06/1.743e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.593e-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.01329/0.01332, allocations: 13.43 MB / 264.5 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.0235, allocations: 4.303 MB / 268.8 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.02625, allocations: 99.56 kB / 268.9 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004872/0.03112, allocations: 4.038 MB / 272.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004108/0.03523, allocations: 2.251 MB / 275.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.03642, allocations: 0.7524 MB / 275.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004776/0.0412, allocations: 4.794 MB / 280.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004645/0.04584, allocations: 4.108 MB / 284.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005796/0.05164, allocations: 3.052 MB / 287.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.05554, allocations: 2.642 MB / 290.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.05679, allocations: 428 kB / 290.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.05886, allocations: 1.1 MB / 292 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002454/0.06131, allocations: 2.493 MB / 294.5 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002613/0.06392, allocations: 1.608 MB / 296.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007435/0.07136, allocations: 5.394 MB / 301.5 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.07137, allocations: 0 / 301.5 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.07137, allocations: 0 / 301.5 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003136/0.07169, allocations: 0 / 301.5 MB, free: 0.8867 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.1324/0.2041, allocations: 6.841 MB / 308.4 MB, free: 52.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.2042, allocations: 13.73 kB / 308.4 MB, free: 52.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006242/0.2104, allocations: 2.56 MB / 310.9 MB, free: 51.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/0.2154, allocations: 2.491 MB / 313.4 MB, free: 50.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.2157, allocations: 306.8 kB / 313.7 MB, free: 50.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008351/0.2165, allocations: 401.7 kB / 314.1 MB, free: 50.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.2266, allocations: 7.136 MB / 321.3 MB, free: 44.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.2267, allocations: 56.02 kB / 321.3 MB, free: 44.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/0.2271, allocations: 188.2 kB / 321.5 MB, free: 44.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001553/0.2287, allocations: 2.138 MB / 323.6 MB, free: 42.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00721/0.2359, allocations: 3.667 MB / 327.3 MB, free: 38.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03335/0.2692, allocations: 49.64 MB / 376.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.2737, allocations: 1.885 MB / 378.8 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.2747, allocations: 0.6108 MB / 379.4 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00688/0.2816, allocations: 4.96 MB / 384.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.2816, allocations: 54.31 kB / 384.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 6.061e-06/0.2816, allocations: 0 / 384.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=176): time 0.0193/0.3009, allocations: 10.24 MB / 394.7 MB, free: 1.895 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.301, allocations: 149.5 kB / 394.8 MB, free: 1.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004855/0.3058, allocations: 3.985 MB / 398.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.306, allocations: 57.09 kB / 398.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002385/0.3084, allocations: 4.074 MB / 403 MB, free: 9.602 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006929/0.3091, allocations: 0.756 MB / 403.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.3104, allocations: 1.467 MB / 405.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3105, allocations: 480.7 kB / 405.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.3118, allocations: 0.7043 MB / 406.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004116/0.3159, allocations: 7.123 MB / 413.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006847/0.3228, allocations: 8.649 MB / 422.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/0.3229, allocations: 44 kB / 422.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.00785/0.3307, allocations: 5.946 MB / 428.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.246e-05/0.3308, allocations: 68 kB / 428.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/0.3309, allocations: 156 kB / 428.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/0.3314, allocations: 315.5 kB / 428.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/0.3344, allocations: 1.634 MB / 430.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.336, allocations: 2.251 MB / 432.5 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/0.3394, allocations: 399.5 kB / 432.9 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/0.34, allocations: 425.8 kB / 433.3 MB, free: 5.203 MB / 362.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.001795/0.3418, allocations: 0.7325 MB / 434.1 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008856/0.3427, allocations: 418.8 kB / 434.5 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.3447, allocations: 1.305 MB / 435.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.3448, allocations: 20 kB / 435.8 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3448, allocations: 4 kB / 435.8 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3448, allocations: 11.91 kB / 435.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1412/0.486, allocations: 5.72 MB / 441.5 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.486, allocations: 6.562 kB / 441.5 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/0.4869, allocations: 327.7 kB / 441.9 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.4873, allocations: 105.9 kB / 442 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.4874, allocations: 38.77 kB / 442 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.4886, allocations: 1.97 MB / 444 MB, free: 106.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.4886, allocations: 9.656 kB / 444 MB, free: 106.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.4917, allocations: 2.595 MB / 446.6 MB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.4927, allocations: 0.5438 MB / 447.1 MB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.493, allocations: 35.19 kB / 447.2 MB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/0.4938, allocations: 107.8 kB / 447.3 MB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.494, allocations: 134.4 kB / 447.4 MB, free: 105.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.4941, allocations: 61.58 kB / 447.4 MB, free: 105.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002192/0.4962, allocations: 1.689 MB / 449.1 MB, free: 105.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4962, allocations: 0 / 449.1 MB, free: 105.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003746/0.5, allocations: 1.123 MB / 450.3 MB, free: 105.3 MB / 362.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.0004297/0.5004, allocations: 195.3 kB / 450.4 MB, free: 105.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004404/0.5048, allocations: 3.298 MB / 453.7 MB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5048, allocations: 1.375 kB / 453.7 MB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009203/0.5058, allocations: 0.8059 MB / 454.6 MB, free: 104.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.5076, allocations: 449.7 kB / 455 MB, free: 104.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.5198, allocations: 8.924 MB / 463.9 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.5209, allocations: 1.455 MB / 465.4 MB, free: 99.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002744/0.5237, allocations: 1.79 MB / 467.2 MB, free: 98.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.5242, allocations: 259.3 kB / 467.4 MB, free: 98.04 MB / 362.7 MB Notification: Performance of SimCode: time 2.816e-06/0.5242, allocations: 0 / 467.4 MB, free: 98.04 MB / 362.7 MB Notification: Performance of Templates: time 0.04388/0.5681, allocations: 30.25 MB / 497.7 MB, free: 68.56 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.05913696764037]