Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 244.7 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007666/0.0007665, allocations: 100 kB / 296.8 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002394/0.0002395, allocations: 4 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 51.29 MB / 408 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04489/0.2422, allocations: 59.49 MB / 467.5 MB, free: 16 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0254/0.2677, allocations: 12.37 MB / 479.9 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009313/0.277, allocations: 283.3 kB / 480.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008705/0.2857, allocations: 3.103 MB / 483.3 MB, free: 228 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02129/0.3071, allocations: 9.052 MB / 492.3 MB, free: 7.137 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.3113, allocations: 0.6514 MB / 493 MB, free: 6.484 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007186/0.3186, allocations: 5.09 MB / 498.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009058/0.3276, allocations: 6.242 MB / 0.4925 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.3304, allocations: 1.413 MB / 0.4939 GB, free: 9.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00315/0.3335, allocations: 2.184 MB / 0.496 GB, free: 7.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005503/0.3341, allocations: 164 kB / 0.4962 GB, free: 7.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.3359, allocations: 0.9321 MB / 0.4971 GB, free: 6.336 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.3377, allocations: 1.901 MB / 0.4989 GB, free: 4.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002277/0.34, allocations: 2.176 MB / 0.5011 GB, free: 2.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1896/0.5295, allocations: 6.335 MB / 0.5073 GB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5296, allocations: 3.875 kB / 0.5073 GB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5296, allocations: 0 / 0.5073 GB, free: 12.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002928/0.5299, allocations: 2.062 kB / 0.5073 GB, free: 12.31 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.01688/0.5468, allocations: 5.175 MB / 0.5123 GB, free: 10.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5468, allocations: 8.938 kB / 0.5123 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00721/0.554, allocations: 2.044 MB / 0.5143 GB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005514/0.5596, allocations: 2.626 MB / 0.5169 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.5598, allocations: 299.6 kB / 0.5172 GB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.561, allocations: 389 kB / 0.5175 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/0.5838, allocations: 12.35 MB / 0.5296 GB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/0.584, allocations: 51.88 kB / 0.5296 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007009/0.5847, allocations: 178.5 kB / 0.5298 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003679/0.5884, allocations: 2.261 MB / 0.532 GB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.6088, allocations: 11.27 MB / 0.543 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05585/0.6646, allocations: 46.99 MB / 0.5889 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01635/0.681, allocations: 5.361 MB / 0.5942 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004267/0.6853, allocations: 3.307 MB / 0.5974 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.686, allocations: 389.8 kB / 0.5978 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.6861, allocations: 55.16 kB / 0.5978 GB, free: 9.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 4.749e-06/0.6861, allocations: 4 kB / 0.5978 GB, free: 9.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.07534/0.7614, allocations: 26.8 MB / 0.624 GB, free: 1.863 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.7616, allocations: 153.7 kB / 0.6241 GB, free: 1.684 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009262/0.7709, allocations: 4.479 MB / 0.6285 GB, free: 13.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006957/0.7716, allocations: 61.7 kB / 0.6286 GB, free: 13.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002601/0.7743, allocations: 3.465 MB / 0.6319 GB, free: 9.672 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/0.7756, allocations: 0.8783 MB / 0.6328 GB, free: 8.801 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008939/0.7765, allocations: 136 kB / 0.6329 GB, free: 8.668 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004874/0.777, allocations: 0.5892 MB / 0.6335 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005345/0.7824, allocations: 3.269 MB / 0.6367 GB, free: 4.801 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007749/0.7902, allocations: 7.222 MB / 0.6438 GB, free: 11.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/0.8038, allocations: 11.32 MB / 0.6548 GB, free: 15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/0.8039, allocations: 40 kB / 0.6548 GB, free: 14.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02111/0.825, allocations: 11.4 MB / 0.666 GB, free: 4.383 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.8252, allocations: 64 kB / 0.666 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/0.8254, allocations: 140 kB / 0.6662 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/0.8283, allocations: 1.125 MB / 0.6673 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006391/0.8347, allocations: 1.728 MB / 0.669 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007937/0.8426, allocations: 6.005 MB / 0.6748 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005504/0.8482, allocations: 407.5 kB / 0.6752 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/0.8496, allocations: 457.8 kB / 0.6757 GB, free: 10.55 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005239/0.8548, allocations: 2.363 MB / 0.678 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/0.8559, allocations: 398.8 kB / 0.6783 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/0.8669, allocations: 6.12 MB / 0.6843 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.857e-05/0.867, allocations: 24 kB / 0.6843 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.867, allocations: 4 kB / 0.6843 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.867, allocations: 14.67 kB / 0.6844 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.215/1.082, allocations: 12.91 MB / 0.697 GB, free: 199.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/1.082, allocations: 0 / 0.697 GB, free: 199.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/1.085, allocations: 0.547 MB / 0.6975 GB, free: 199.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/1.087, allocations: 0.9436 MB / 0.6984 GB, free: 199.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004819/1.088, allocations: 84.5 kB / 0.6985 GB, free: 199.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005933/1.094, allocations: 5.722 MB / 0.7041 GB, free: 196.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.094, allocations: 4.781 kB / 0.7041 GB, free: 196.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.106, allocations: 10.34 MB / 0.7142 GB, free: 191.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.108, allocations: 0.8906 MB / 0.7151 GB, free: 190.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000672/1.109, allocations: 43.52 kB / 0.7151 GB, free: 190.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.111, allocations: 157.7 kB / 0.7153 GB, free: 190.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000467/1.112, allocations: 190 kB / 0.7154 GB, free: 190.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.112, allocations: 97.78 kB / 0.7155 GB, free: 190.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004224/1.116, allocations: 2.804 MB / 0.7183 GB, free: 188 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.31e-07/1.116, allocations: 0 / 0.7183 GB, free: 188 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005928/1.122, allocations: 1.208 MB / 0.7194 GB, free: 186.8 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00056/1.123, allocations: 191.4 kB / 0.7196 GB, free: 186.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009735/1.132, allocations: 7.704 MB / 0.7272 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.132, allocations: 2.516 kB / 0.7272 GB, free: 179.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/1.136, allocations: 2.974 MB / 0.7301 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/1.141, allocations: 498.8 kB / 0.7305 GB, free: 175.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/1.159, allocations: 14.44 MB / 0.7446 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003235/1.163, allocations: 3.658 MB / 0.7482 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/1.165, allocations: 471.1 kB / 0.7487 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/1.165, allocations: 3.281 kB / 0.7487 GB, free: 157.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.09975/1.265, allocations: 93.34 MB / 0.8398 GB, free: 64.08 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches