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) 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 109.5 kB / 17.06 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001665, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 47.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2839, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01414/0.2981, allocations: 13.11 MB / 413.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009326/0.3075, allocations: 4.261 MB / 418.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.3102, allocations: 87.69 kB / 418.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006998/0.3172, allocations: 3.726 MB / 421.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007114/0.3244, allocations: 2.08 MB / 424 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.3271, allocations: 0.6824 MB / 424.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007541/0.3347, allocations: 4.239 MB / 428.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007506/0.3422, allocations: 4.769 MB / 433.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/0.3457, allocations: 1.842 MB / 435.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00397/0.3497, allocations: 2.48 MB / 438 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.3512, allocations: 412 kB / 438.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.354, allocations: 1.147 MB / 439.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002549/0.3566, allocations: 2.24 MB / 441.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002927/0.3596, allocations: 2.633 MB / 444.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.3699, allocations: 8.226 MB / 452.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.37, allocations: 0 / 452.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.37, allocations: 0 / 452.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003105/0.3703, allocations: 0 / 452.6 MB, free: 4.723 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.01987/0.3902, allocations: 6.219 MB / 458.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3902, allocations: 12.02 kB / 458.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006582/0.3968, allocations: 1.956 MB / 460.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/0.4022, allocations: 2.698 MB / 463.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.4025, allocations: 295.5 kB / 463.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008804/0.4033, allocations: 395.6 kB / 464.2 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.4256, allocations: 12.38 MB / 476.6 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.4258, allocations: 47.58 kB / 476.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005056/0.4263, allocations: 183.8 kB / 476.8 MB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003911/0.4302, allocations: 2.253 MB / 479.1 MB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.4536, allocations: 11.28 MB / 490.3 MB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06496/0.5186, allocations: 46.8 MB / 0.5246 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01626/0.5349, allocations: 5.344 MB / 0.5298 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003854/0.5388, allocations: 3.315 MB / 0.533 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005817/0.5394, allocations: 376.4 kB / 0.5334 GB, free: 4.887 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.5394, allocations: 55.81 kB / 0.5334 GB, free: 4.824 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 4.558e-06/0.5394, allocations: 4 kB / 0.5334 GB, free: 4.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.2787/0.8181, allocations: 26.81 MB / 0.5596 GB, free: 121.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.8182, allocations: 154.5 kB / 0.5598 GB, free: 121.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004606/0.8228, allocations: 4.508 MB / 0.5642 GB, free: 116.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004149/0.8233, allocations: 57.7 kB / 0.5642 GB, free: 116.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.8247, allocations: 3.46 MB / 0.5676 GB, free: 113.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007878/0.8255, allocations: 0.8775 MB / 0.5684 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.8271, allocations: 1.458 MB / 0.5699 GB, free: 110.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.605e-05/0.8272, allocations: 301.1 kB / 0.5702 GB, free: 110.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00357/0.8307, allocations: 3.289 MB / 0.5734 GB, free: 107.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00495/0.8357, allocations: 7.242 MB / 0.5804 GB, free: 98.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009165/0.8449, allocations: 11.34 MB / 0.5915 GB, free: 84.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.97e-05/0.845, allocations: 40 kB / 0.5916 GB, free: 84.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01662/0.8616, allocations: 11.43 MB / 0.6027 GB, free: 73.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.8617, allocations: 64 kB / 0.6028 GB, free: 73.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.8618, allocations: 140 kB / 0.6029 GB, free: 73.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/0.8642, allocations: 1.125 MB / 0.604 GB, free: 71.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005596/0.8698, allocations: 1.723 MB / 0.6057 GB, free: 70.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006347/0.8762, allocations: 6.344 MB / 0.6119 GB, free: 63.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005481/0.8817, allocations: 407.4 kB / 0.6123 GB, free: 63.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.8827, allocations: 451.8 kB / 0.6127 GB, free: 62.94 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.003369/0.8861, allocations: 2.356 MB / 0.615 GB, free: 60.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007277/0.8869, allocations: 402.8 kB / 0.6154 GB, free: 60.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008066/0.8949, allocations: 6.105 MB / 0.6214 GB, free: 54.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/0.895, allocations: 31.2 kB / 0.6214 GB, free: 54.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.895, allocations: 0 / 0.6214 GB, free: 54.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.895, allocations: 15.95 kB / 0.6214 GB, free: 54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.9116, allocations: 12.79 MB / 0.6339 GB, free: 41.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.9117, allocations: 0 / 0.6339 GB, free: 41.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/0.9142, allocations: 0.5424 MB / 0.6344 GB, free: 40.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.9164, allocations: 0.9516 MB / 0.6354 GB, free: 39.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/0.9167, allocations: 91.83 kB / 0.6354 GB, free: 39.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005988/0.9227, allocations: 6.074 MB / 0.6414 GB, free: 33.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.9227, allocations: 11.88 kB / 0.6414 GB, free: 33.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.9352, allocations: 10.34 MB / 0.6515 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/0.9369, allocations: 0.8901 MB / 0.6524 GB, free: 22.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005208/0.9374, allocations: 40 kB / 0.6524 GB, free: 21.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.9394, allocations: 155.8 kB / 0.6525 GB, free: 21.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004421/0.9398, allocations: 185.6 kB / 0.6527 GB, free: 21.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/0.9401, allocations: 103.9 kB / 0.6528 GB, free: 21.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00319/0.9433, allocations: 2.826 MB / 0.6556 GB, free: 18.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9433, allocations: 0 / 0.6556 GB, free: 18.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004869/0.9481, allocations: 1.206 MB / 0.6568 GB, free: 17.5 MB / 462.1 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 (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.0004128/0.9486, allocations: 194.4 kB / 0.6569 GB, free: 17.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009167/0.9577, allocations: 7.757 MB / 0.6645 GB, free: 9.574 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.9578, allocations: 0 / 0.6645 GB, free: 9.574 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003432/0.9612, allocations: 2.972 MB / 0.6674 GB, free: 6.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/0.9643, allocations: 0.4977 MB / 0.6679 GB, free: 6.098 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/0.9822, allocations: 11.89 MB / 0.6795 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004765/0.987, allocations: 3.664 MB / 0.6831 GB, free: 6.465 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004973/0.992, allocations: 2.289 MB / 0.6853 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.9933, allocations: 419.1 kB / 0.6857 GB, free: 3.758 MB / 478.1 MB Notification: Performance of SimCode: time 2.435e-06/0.9933, allocations: 0 / 0.6857 GB, free: 3.758 MB / 478.1 MB Notification: Performance of Templates: time 0.3594/1.353, allocations: 52.79 MB / 0.7373 GB, free: 176.5 MB / 0.5137 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches