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.001877/0.001877, allocations: 74.56 kB / 21.24 MB, free: 0.5469 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.0029/0.0029, allocations: 151 kB / 24.49 MB, free: 3.727 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.434/1.434, allocations: 173.4 MB / 201.1 MB, free: 12.72 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.001591/0.001591, allocations: 47.09 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09431, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01564/0.1099, allocations: 11.47 MB / 383 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009298/0.1192, allocations: 4.089 MB / 387.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.1213, allocations: 95.56 kB / 387.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007415/0.1287, allocations: 3.629 MB / 390.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.1342, allocations: 2.093 MB / 393 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.1361, allocations: 0.6903 MB / 393.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006333/0.1424, allocations: 4.225 MB / 397.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005731/0.1481, allocations: 3.632 MB / 401.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.1516, allocations: 1.877 MB / 403.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004293/0.1559, allocations: 2.48 MB / 405.9 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.1571, allocations: 412 kB / 406.3 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.1598, allocations: 1.046 MB / 407.3 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003154/0.163, allocations: 2.294 MB / 409.6 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003995/0.167, allocations: 1.969 MB / 411.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.1794, allocations: 8.284 MB / 419.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1795, allocations: 4 kB / 419.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1795, allocations: 0 / 419.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002744/0.1797, allocations: 0 / 419.9 MB, free: 6.84 MB / 382.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.02063/0.2004, allocations: 6.44 MB / 426.3 MB, free: 348 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2004, allocations: 12.92 kB / 426.3 MB, free: 336 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007134/0.2075, allocations: 2.027 MB / 428.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006252/0.2138, allocations: 2.657 MB / 431 MB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/0.2141, allocations: 291.5 kB / 431.3 MB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.2153, allocations: 399.7 kB / 431.7 MB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02614/0.2415, allocations: 12.44 MB / 444.1 MB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/0.2417, allocations: 51.62 kB / 444.2 MB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001234/0.2429, allocations: 191.8 kB / 444.3 MB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004737/0.2476, allocations: 2.249 MB / 446.6 MB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02514/0.2728, allocations: 11.35 MB / 457.9 MB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2761/0.5489, allocations: 43.98 MB / 0.4902 GB, free: 59.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0171/0.566, allocations: 4.943 MB / 0.495 GB, free: 57.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003205/0.5692, allocations: 3.073 MB / 0.498 GB, free: 56.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005368/0.5698, allocations: 138.2 kB / 0.4981 GB, free: 56.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.5698, allocations: 58.03 kB / 0.4982 GB, free: 56.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=200): time 4.799e-06/0.5698, allocations: 2.031 kB / 0.4982 GB, free: 56.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.06984/0.6396, allocations: 27.66 MB / 0.5252 GB, free: 35.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.6397, allocations: 154.5 kB / 0.5253 GB, free: 35.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004888/0.6446, allocations: 4.04 MB / 0.5293 GB, free: 31.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005641/0.6451, allocations: 61.7 kB / 0.5293 GB, free: 31.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.6467, allocations: 3.645 MB / 0.5329 GB, free: 28.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.6478, allocations: 0.9196 MB / 0.5338 GB, free: 27.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002806/0.6506, allocations: 1.49 MB / 0.5353 GB, free: 25.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.6507, allocations: 301.1 kB / 0.5355 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004066/0.6547, allocations: 3.3 MB / 0.5388 GB, free: 22.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005377/0.6601, allocations: 7.249 MB / 0.5458 GB, free: 12.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.6705, allocations: 11.35 MB / 0.5569 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/0.6707, allocations: 40 kB / 0.557 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02384/0.6945, allocations: 11.43 MB / 0.5681 GB, free: 4.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.6947, allocations: 72.27 kB / 0.5682 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002643/0.695, allocations: 143.9 kB / 0.5683 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003421/0.6984, allocations: 1.121 MB / 0.5694 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007268/0.7057, allocations: 1.766 MB / 0.5712 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.7159, allocations: 6.164 MB / 0.5772 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006017/0.7219, allocations: 424.5 kB / 0.5776 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001358/0.7233, allocations: 463.8 kB / 0.578 GB, free: 9.789 MB / 462.1 MB 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.005097/0.7284, allocations: 2.363 MB / 0.5803 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/0.7295, allocations: 369.6 kB / 0.5807 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.743, allocations: 6.104 MB / 0.5867 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/0.7431, allocations: 31.81 kB / 0.5867 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/0.7431, allocations: 8 kB / 0.5867 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-05/0.7431, allocations: 11.97 kB / 0.5867 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02839/0.7715, allocations: 11.37 MB / 0.5978 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.7716, allocations: 0 / 0.5978 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003343/0.7749, allocations: 0.5694 MB / 0.5984 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00301/0.7779, allocations: 0.958 MB / 0.5993 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004918/0.7784, allocations: 103.3 kB / 0.5994 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009447/0.7878, allocations: 5.904 MB / 0.6052 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.7879, allocations: 11.94 kB / 0.6052 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/0.8067, allocations: 10.35 MB / 0.6153 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/0.8093, allocations: 0.7744 MB / 0.616 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/0.8105, allocations: 44 kB / 0.6161 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/0.8137, allocations: 175.7 kB / 0.6162 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007886/0.8145, allocations: 205.5 kB / 0.6164 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000513/0.815, allocations: 123.2 kB / 0.6166 GB, free: 2.141 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005147/0.8201, allocations: 2.326 MB / 0.6188 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8201, allocations: 0 / 0.6188 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006989/0.8271, allocations: 1.21 MB / 0.62 GB, free: 14.62 MB / 0.4981 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.0007454/0.8279, allocations: 186.5 kB / 0.6202 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0141/0.842, allocations: 7.524 MB / 0.6275 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.842, allocations: 0 / 0.6275 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00522/0.8472, allocations: 2.817 MB / 0.6303 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/0.8507, allocations: 446.7 kB / 0.6307 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/0.8747, allocations: 12.07 MB / 0.6425 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005645/0.8804, allocations: 3.145 MB / 0.6456 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006133/0.8865, allocations: 2.231 MB / 0.6478 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/0.8882, allocations: 448.1 kB / 0.6482 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.8882, allocations: 0 / 0.6482 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of Templates: time 0.2715/1.16, allocations: 48.45 MB / 0.6955 GB, free: 172.2 MB / 0.5294 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.099680684041232]