Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 119.4 kB / 18.41 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 192.3 kB / 21.35 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 247.1 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 47.92 kB / 358.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1056, allocations: 49.44 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01659/0.1222, allocations: 13.12 MB / 421.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.1332, allocations: 4.271 MB / 425.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.1361, allocations: 83.75 kB / 425.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008035/0.1442, allocations: 3.722 MB / 429.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2474/0.3917, allocations: 2.016 MB / 431.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.3938, allocations: 0.6894 MB / 432 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007771/0.4016, allocations: 4.229 MB / 436.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008847/0.4104, allocations: 4.762 MB / 441 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006262/0.4168, allocations: 1.846 MB / 442.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006571/0.4234, allocations: 2.474 MB / 445.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002513/0.426, allocations: 411.5 kB / 445.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/0.4315, allocations: 1.152 MB / 446.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004052/0.4355, allocations: 2.222 MB / 449.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006179/0.4418, allocations: 2.636 MB / 451.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.4548, allocations: 8.256 MB / 460 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.4549, allocations: 0 / 460 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.4549, allocations: 0 / 460 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003852/0.4553, allocations: 0 / 460 MB, free: 15.3 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02519/0.4805, allocations: 6.368 MB / 466.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4805, allocations: 10.22 kB / 466.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007697/0.4882, allocations: 1.98 MB / 468.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006642/0.4949, allocations: 2.717 MB / 471.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.4953, allocations: 298.1 kB / 471.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.4969, allocations: 390.4 kB / 471.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02846/0.5253, allocations: 12.36 MB / 484.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.5256, allocations: 59.28 kB / 484.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001124/0.5267, allocations: 178.8 kB / 484.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00467/0.5314, allocations: 2.258 MB / 486.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02659/0.558, allocations: 11.3 MB / 497.9 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07241/0.6305, allocations: 46.89 MB / 0.532 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01907/0.6496, allocations: 5.336 MB / 0.5372 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005158/0.6548, allocations: 3.309 MB / 0.5404 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008591/0.6557, allocations: 377.2 kB / 0.5408 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/0.6558, allocations: 55.81 kB / 0.5408 GB, free: 3.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 7.834e-06/0.6558, allocations: 0 / 0.5408 GB, free: 3.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.08654/0.7424, allocations: 27.09 MB / 0.5673 GB, free: 8.277 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.7426, allocations: 150.5 kB / 0.5674 GB, free: 8.098 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009435/0.752, allocations: 4.513 MB / 0.5719 GB, free: 3.566 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008205/0.7529, allocations: 57.7 kB / 0.5719 GB, free: 3.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003492/0.7564, allocations: 3.599 MB / 0.5754 GB, free: 15.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/0.7583, allocations: 0.9236 MB / 0.5763 GB, free: 15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004458/0.7628, allocations: 1.459 MB / 0.5778 GB, free: 13.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7629, allocations: 301.1 kB / 0.578 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005544/0.7685, allocations: 3.289 MB / 0.5812 GB, free: 9.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00966/0.7782, allocations: 7.239 MB / 0.5883 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/0.7941, allocations: 11.34 MB / 0.5994 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000149/0.7944, allocations: 40 kB / 0.5994 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=876) (initialization): time 0.0249/0.8193, allocations: 11.45 MB / 0.6106 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.8195, allocations: 69.7 kB / 0.6107 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002973/0.8198, allocations: 140 kB / 0.6108 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/0.8232, allocations: 1.125 MB / 0.6119 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007507/0.8308, allocations: 1.723 MB / 0.6136 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2104/1.041, allocations: 6.344 MB / 0.6198 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.047, allocations: 401.7 kB / 0.6202 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/1.049, allocations: 456 kB / 0.6206 GB, free: 166.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (837): * Single equations (assignments): 833 * 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.005608/1.054, allocations: 2.355 MB / 0.6229 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.056, allocations: 424.9 kB / 0.6233 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.067, allocations: 6.112 MB / 0.6293 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.039e-05/1.067, allocations: 26.53 kB / 0.6293 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/1.067, allocations: 5.094 kB / 0.6293 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-05/1.067, allocations: 13.06 kB / 0.6293 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.09, allocations: 12.8 MB / 0.6418 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.09, allocations: 6.484 kB / 0.6418 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/1.093, allocations: 0.5348 MB / 0.6424 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/1.095, allocations: 0.9458 MB / 0.6433 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004677/1.096, allocations: 85.33 kB / 0.6434 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006209/1.102, allocations: 6.088 MB / 0.6493 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.102, allocations: 3.812 kB / 0.6493 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.115, allocations: 10.36 MB / 0.6594 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/1.118, allocations: 0.9072 MB / 0.6603 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009244/1.119, allocations: 44.47 kB / 0.6604 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/1.121, allocations: 157.7 kB / 0.6605 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004984/1.122, allocations: 185 kB / 0.6607 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/1.122, allocations: 101.1 kB / 0.6608 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004291/1.126, allocations: 2.83 MB / 0.6635 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/1.126, allocations: 0 / 0.6635 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006516/1.133, allocations: 1.207 MB / 0.6647 GB, free: 153.3 MB / 0.5137 GB 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 (203): * Single equations (assignments): 199 * 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.0007304/1.133, allocations: 197.8 kB / 0.6649 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01067/1.144, allocations: 7.759 MB / 0.6725 GB, free: 145.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.144, allocations: 3.75 kB / 0.6725 GB, free: 145.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003833/1.148, allocations: 2.979 MB / 0.6754 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/1.152, allocations: 0.5017 MB / 0.6759 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.17, allocations: 12.58 MB / 0.6882 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/1.174, allocations: 3.668 MB / 0.6918 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/1.176, allocations: 463.1 kB / 0.6922 GB, free: 125.7 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/1.176, allocations: 0 / 0.6922 GB, free: 125.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1066/1.283, allocations: 94.94 MB / 0.7849 GB, free: 30.85 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.16530382190831]