Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.1 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 61.22 kB / 307.1 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1054, allocations: 50.53 MB / 357.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2456/0.351, allocations: 61.55 MB / 419.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0302/0.3813, allocations: 12.11 MB / 431.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01522/0.3966, allocations: 267.4 kB / 431.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007139/0.4037, allocations: 3.575 MB / 435.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.4101, allocations: 1.845 MB / 437 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.412, allocations: 0.6398 MB / 437.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006737/0.4188, allocations: 4.256 MB / 441.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005859/0.4247, allocations: 5.011 MB / 446.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.4276, allocations: 1.853 MB / 448.7 MB, free: 408 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.4314, allocations: 2.707 MB / 451.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008916/0.4323, allocations: 408 kB / 451.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.4345, allocations: 1.139 MB / 453 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.4364, allocations: 2.209 MB / 455.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.4392, allocations: 2.61 MB / 457.8 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006552/0.4457, allocations: 6.436 MB / 464.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4458, allocations: 0 / 464.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4458, allocations: 0 / 464.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002083/0.446, allocations: 0 / 464.2 MB, free: 0.8555 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02076/0.4668, allocations: 6.172 MB / 470.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4668, allocations: 8.031 kB / 470.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006711/0.4735, allocations: 1.96 MB / 472.4 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.4784, allocations: 2.624 MB / 475 MB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.4786, allocations: 291.5 kB / 475.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008401/0.4795, allocations: 379.8 kB / 475.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02245/0.502, allocations: 12.18 MB / 487.8 MB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.5021, allocations: 51.53 kB / 487.9 MB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000511/0.5026, allocations: 175.9 kB / 488.1 MB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004037/0.5067, allocations: 2.198 MB / 490.3 MB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0226/0.5293, allocations: 11.13 MB / 0.4896 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2615/0.7908, allocations: 46.59 MB / 0.5351 GB, free: 119.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/0.8098, allocations: 5.337 MB / 0.5404 GB, free: 118.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004798/0.8146, allocations: 3.303 MB / 0.5436 GB, free: 118.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/0.8154, allocations: 382.7 kB / 0.5439 GB, free: 118.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.8155, allocations: 54.92 kB / 0.544 GB, free: 118.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 5.991e-06/0.8155, allocations: 1.25 kB / 0.544 GB, free: 118.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07431/0.8898, allocations: 26.75 MB / 0.5701 GB, free: 107.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.8899, allocations: 155.8 kB / 0.5703 GB, free: 107.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005857/0.8958, allocations: 4.487 MB / 0.5747 GB, free: 103.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006401/0.8964, allocations: 57.7 kB / 0.5747 GB, free: 103 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.898, allocations: 3.426 MB / 0.5781 GB, free: 99.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.899, allocations: 0.8856 MB / 0.5789 GB, free: 98.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001812/0.9009, allocations: 1.442 MB / 0.5803 GB, free: 97.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.9009, allocations: 301.1 kB / 0.5806 GB, free: 96.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/0.9048, allocations: 3.283 MB / 0.5838 GB, free: 93.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005312/0.9101, allocations: 7.221 MB / 0.5909 GB, free: 84.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.9207, allocations: 11.31 MB / 0.6019 GB, free: 71.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.9209, allocations: 43.94 kB / 0.602 GB, free: 71.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01886/0.9398, allocations: 11.4 MB / 0.6131 GB, free: 60.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.9399, allocations: 64 kB / 0.6132 GB, free: 60.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/0.9401, allocations: 140 kB / 0.6133 GB, free: 60.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/0.9429, allocations: 1.129 MB / 0.6144 GB, free: 58.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006202/0.9491, allocations: 1.719 MB / 0.6161 GB, free: 57.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/0.9562, allocations: 6.342 MB / 0.6223 GB, free: 50.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005671/0.9619, allocations: 399.3 kB / 0.6226 GB, free: 50.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/0.9633, allocations: 455.8 kB / 0.6231 GB, free: 49.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.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 (834): * Single equations (assignments): 830 * 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.004333/0.9676, allocations: 2.333 MB / 0.6254 GB, free: 47.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/0.9688, allocations: 394.8 kB / 0.6257 GB, free: 47.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00963/0.9785, allocations: 6.11 MB / 0.6317 GB, free: 41.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.407e-05/0.9786, allocations: 31.52 kB / 0.6317 GB, free: 40.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.9786, allocations: 4 kB / 0.6317 GB, free: 40.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/0.9786, allocations: 15.91 kB / 0.6317 GB, free: 40.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/0.9999, allocations: 12.87 MB / 0.6443 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1, allocations: 4 kB / 0.6443 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/1.003, allocations: 0.5385 MB / 0.6448 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/1.005, allocations: 0.9371 MB / 0.6458 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004704/1.006, allocations: 88.97 kB / 0.6458 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006296/1.012, allocations: 6.057 MB / 0.6518 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.012, allocations: 4 kB / 0.6518 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/1.026, allocations: 10.33 MB / 0.6619 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.028, allocations: 0.8824 MB / 0.6627 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/1.029, allocations: 43.94 kB / 0.6628 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/1.032, allocations: 151.8 kB / 0.6629 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006323/1.033, allocations: 196.1 kB / 0.6631 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003437/1.033, allocations: 99.89 kB / 0.6632 GB, free: 8.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004676/1.038, allocations: 2.818 MB / 0.6659 GB, free: 5.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.038, allocations: 0 / 0.6659 GB, free: 5.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006348/1.044, allocations: 1.193 MB / 0.6671 GB, free: 4.492 MB / 446.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.0007587/1.045, allocations: 194.5 kB / 0.6673 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01621/1.061, allocations: 9.765 MB / 0.6768 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.061, allocations: 192 / 0.6768 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005134/1.066, allocations: 2.961 MB / 0.6797 GB, free: 7.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004621/1.071, allocations: 0.4938 MB / 0.6802 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/1.099, allocations: 14.7 MB / 0.6945 GB, free: 8.375 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00583/1.105, allocations: 3.616 MB / 0.6981 GB, free: 4.723 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/1.107, allocations: 467.1 kB / 0.6985 GB, free: 4.266 MB / 478.1 MB Notification: Performance of SimCode: time 1.193e-06/1.107, allocations: 0 / 0.6985 GB, free: 4.266 MB / 478.1 MB Notification: Performance of Templates: time 0.3094/1.416, allocations: 93.26 MB / 0.7896 GB, free: 123.3 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches