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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009952/0.0009953, allocations: 100.2 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009592/0.0009592, allocations: 39.95 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2433, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04748/0.2908, allocations: 65.56 MB / 465 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03237/0.3232, allocations: 12.95 MB / 478 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01753/0.3408, allocations: 283.3 kB / 478.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007167/0.3481, allocations: 3.721 MB / 482 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00656/0.3547, allocations: 1.9 MB / 483.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.3569, allocations: 0.628 MB / 484.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007996/0.3649, allocations: 6.264 MB / 490.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007042/0.372, allocations: 4.722 MB / 495.5 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.3754, allocations: 1.647 MB / 497.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004404/0.3799, allocations: 2.64 MB / 499.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.3813, allocations: 304 kB / 0.4884 GB, free: 12.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.3843, allocations: 1.104 MB / 0.4894 GB, free: 11.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002432/0.3868, allocations: 2.158 MB / 0.4915 GB, free: 9.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002963/0.3898, allocations: 2.528 MB / 0.494 GB, free: 6.555 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.261/0.6508, allocations: 7.876 MB / 0.5017 GB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.6508, allocations: 1.562 kB / 0.5017 GB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.6509, allocations: 0.9688 kB / 0.5017 GB, free: 15.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003252/0.6512, allocations: 0 / 0.5017 GB, free: 15.29 MB / 378.7 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.02497/0.6762, allocations: 6.216 MB / 0.5078 GB, free: 13.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6762, allocations: 7.844 kB / 0.5078 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008418/0.6847, allocations: 1.956 MB / 0.5097 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007536/0.6922, allocations: 2.651 MB / 0.5123 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.6926, allocations: 296.2 kB / 0.5126 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/0.6945, allocations: 390.5 kB / 0.5129 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/0.7185, allocations: 12.37 MB / 0.525 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.7187, allocations: 50.12 kB / 0.5251 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000582/0.7193, allocations: 182.8 kB / 0.5252 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003829/0.7231, allocations: 2.253 MB / 0.5274 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02154/0.7447, allocations: 11.29 MB / 0.5385 GB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08684/0.8316, allocations: 47 MB / 0.5844 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02096/0.8526, allocations: 5.331 MB / 0.5896 GB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004981/0.8576, allocations: 3.316 MB / 0.5928 GB, free: 168 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008995/0.8586, allocations: 382.5 kB / 0.5932 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.8587, allocations: 58.88 kB / 0.5932 GB, free: 15.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 6.712e-06/0.8587, allocations: 4 kB / 0.5932 GB, free: 15.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.09569/0.9544, allocations: 26.8 MB / 0.6194 GB, free: 4.812 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.9545, allocations: 154.9 kB / 0.6196 GB, free: 4.633 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/0.9648, allocations: 4.501 MB / 0.624 GB, free: 120 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008412/0.9657, allocations: 61.7 kB / 0.624 GB, free: 52 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003282/0.969, allocations: 3.462 MB / 0.6274 GB, free: 12.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001973/0.971, allocations: 0.8773 MB / 0.6283 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005817/0.9768, allocations: 1.456 MB / 0.6297 GB, free: 10.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.977, allocations: 309.1 kB / 0.63 GB, free: 9.965 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007385/0.9844, allocations: 3.281 MB / 0.6332 GB, free: 6.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/0.9954, allocations: 7.244 MB / 0.6402 GB, free: 13.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02068/1.016, allocations: 11.33 MB / 0.6513 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002005/1.016, allocations: 44 kB / 0.6514 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.03218/1.049, allocations: 11.43 MB / 0.6625 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003089/1.049, allocations: 64 kB / 0.6626 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003359/1.049, allocations: 140 kB / 0.6627 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004235/1.054, allocations: 1.13 MB / 0.6638 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009115/1.063, allocations: 1.726 MB / 0.6655 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.074, allocations: 6.008 MB / 0.6714 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008404/1.083, allocations: 399.6 kB / 0.6718 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/1.084, allocations: 458.3 kB / 0.6722 GB, free: 12.36 MB / 0.5105 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.005695/1.09, allocations: 2.357 MB / 0.6745 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.091, allocations: 410.8 kB / 0.6749 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.103, allocations: 6.102 MB / 0.6808 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/1.103, allocations: 24 kB / 0.6809 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.103, allocations: 4 kB / 0.6809 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/1.103, allocations: 7.969 kB / 0.6809 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2247/1.328, allocations: 12.93 MB / 0.6935 GB, free: 220.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/1.328, allocations: 3.938 kB / 0.6935 GB, free: 220.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002648/1.331, allocations: 0.5366 MB / 0.694 GB, free: 220.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/1.333, allocations: 0.9401 MB / 0.6949 GB, free: 220.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002861/1.334, allocations: 87.61 kB / 0.695 GB, free: 220.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005985/1.34, allocations: 5.716 MB / 0.7006 GB, free: 217.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.34, allocations: 7.875 kB / 0.7006 GB, free: 217.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06521/1.405, allocations: 46.39 MB / 0.7459 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.407, allocations: 0.885 MB / 0.7468 GB, free: 177.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/1.407, allocations: 40 kB / 0.7468 GB, free: 177.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.409, allocations: 159.8 kB / 0.747 GB, free: 177.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004659/1.41, allocations: 183.8 kB / 0.7472 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.41, allocations: 103.9 kB / 0.7473 GB, free: 177.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003379/1.413, allocations: 2.826 MB / 0.75 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.413, allocations: 4 kB / 0.75 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00526/1.419, allocations: 1.566 MB / 0.7515 GB, free: 172.9 MB / 0.5105 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.000402/1.419, allocations: 186.9 kB / 0.7517 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008683/1.428, allocations: 7.718 MB / 0.7593 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.428, allocations: 0 / 0.7593 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003268/1.431, allocations: 2.969 MB / 0.7622 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/1.434, allocations: 493.3 kB / 0.7626 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/1.453, allocations: 15.97 MB / 0.7782 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004199/1.457, allocations: 3.74 MB / 0.7819 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005923/1.463, allocations: 2.328 MB / 0.7842 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/1.465, allocations: 423.1 kB / 0.7846 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/1.465, allocations: 0 / 0.7846 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.09419/1.559, allocations: 64.25 MB / 0.8473 GB, free: 75.12 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches