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.001387/0.001387, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2784, allocations: 50.53 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01469/0.2932, allocations: 12.97 MB / 422.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009944/0.3031, allocations: 4.291 MB / 427.2 MB, free: 236 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002535/0.3057, allocations: 83.75 kB / 427.3 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007146/0.3129, allocations: 3.699 MB / 431 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005666/0.3186, allocations: 1.972 MB / 432.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.3208, allocations: 0.6941 MB / 433.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00696/0.3277, allocations: 4.229 MB / 437.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007115/0.3349, allocations: 4.73 MB / 442.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.3387, allocations: 1.83 MB / 444.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004388/0.3431, allocations: 2.453 MB / 446.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001453/0.3446, allocations: 408 kB / 447.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.3478, allocations: 1.123 MB / 448.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002891/0.3507, allocations: 2.201 MB / 450.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004633/0.3553, allocations: 2.579 MB / 453.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.3666, allocations: 8.075 MB / 461.3 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3666, allocations: 0 / 461.3 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3667, allocations: 0 / 461.3 MB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003325/0.367, allocations: 0 / 461.3 MB, free: 14 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02278/0.3898, allocations: 6.176 MB / 467.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3899, allocations: 8.031 kB / 467.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007848/0.3977, allocations: 1.967 MB / 469.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005539/0.4033, allocations: 2.675 MB / 472.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.4035, allocations: 291.4 kB / 472.4 MB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009468/0.4045, allocations: 395.6 kB / 472.8 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02326/0.4278, allocations: 12.17 MB / 484.9 MB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.428, allocations: 43.59 kB / 485 MB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005648/0.4285, allocations: 183.8 kB / 485.2 MB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004105/0.4326, allocations: 2.194 MB / 487.3 MB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.4555, allocations: 11.15 MB / 498.5 MB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06438/0.5199, allocations: 46.38 MB / 0.5321 GB, free: 8.309 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01815/0.5381, allocations: 5.34 MB / 0.5373 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2283/0.7664, allocations: 3.316 MB / 0.5406 GB, free: 123.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007681/0.7672, allocations: 370.4 kB / 0.5409 GB, free: 122.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.7673, allocations: 57.06 kB / 0.541 GB, free: 122.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 5.19e-06/0.7673, allocations: 0 / 0.541 GB, free: 122.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.06822/0.8355, allocations: 26.75 MB / 0.5671 GB, free: 109.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.8356, allocations: 162.4 kB / 0.5672 GB, free: 109.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004736/0.8404, allocations: 4.484 MB / 0.5716 GB, free: 104.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005723/0.841, allocations: 57.7 kB / 0.5717 GB, free: 104.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.8424, allocations: 3.43 MB / 0.575 GB, free: 101.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008948/0.8433, allocations: 0.8733 MB / 0.5759 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.845, allocations: 1.446 MB / 0.5773 GB, free: 98.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.845, allocations: 301.1 kB / 0.5776 GB, free: 98.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/0.8486, allocations: 3.289 MB / 0.5808 GB, free: 95.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.8535, allocations: 7.211 MB / 0.5878 GB, free: 86.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009763/0.8633, allocations: 11.32 MB / 0.5989 GB, free: 72.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.8634, allocations: 40 kB / 0.5989 GB, free: 72.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01728/0.8807, allocations: 11.41 MB / 0.6101 GB, free: 61.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.8808, allocations: 64 kB / 0.6101 GB, free: 61.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/0.8809, allocations: 143.9 kB / 0.6103 GB, free: 61.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.8835, allocations: 1.13 MB / 0.6114 GB, free: 60.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005772/0.8893, allocations: 1.716 MB / 0.613 GB, free: 58.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/0.8958, allocations: 6.339 MB / 0.6192 GB, free: 51.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005459/0.9013, allocations: 403.5 kB / 0.6196 GB, free: 51.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009251/0.9023, allocations: 451.8 kB / 0.62 GB, free: 51.08 MB / 462.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.003266/0.9056, allocations: 2.326 MB / 0.6223 GB, free: 48.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007377/0.9063, allocations: 398.8 kB / 0.6227 GB, free: 48.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008547/0.9149, allocations: 6.109 MB / 0.6287 GB, free: 42.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/0.9149, allocations: 24 kB / 0.6287 GB, free: 42.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.9149, allocations: 7.938 kB / 0.6287 GB, free: 42.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.915, allocations: 15.95 kB / 0.6287 GB, free: 42.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/0.9326, allocations: 12.75 MB / 0.6412 GB, free: 29.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.9327, allocations: 4 kB / 0.6412 GB, free: 29.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/0.9355, allocations: 0.5346 MB / 0.6417 GB, free: 28.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/0.9379, allocations: 0.9522 MB / 0.6426 GB, free: 27.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003311/0.9382, allocations: 87.83 kB / 0.6427 GB, free: 27.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006108/0.9443, allocations: 6.081 MB / 0.6486 GB, free: 21.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9444, allocations: 0 / 0.6486 GB, free: 21.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/0.9567, allocations: 10.35 MB / 0.6587 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/0.9587, allocations: 0.8824 MB / 0.6596 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007146/0.9594, allocations: 40 kB / 0.6596 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/0.9616, allocations: 156 kB / 0.6598 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004598/0.9621, allocations: 182 kB / 0.66 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/0.9623, allocations: 107.9 kB / 0.6601 GB, free: 9.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003391/0.9657, allocations: 2.822 MB / 0.6628 GB, free: 6.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.9657, allocations: 0 / 0.6628 GB, free: 6.945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005366/0.9711, allocations: 1.193 MB / 0.664 GB, free: 5.758 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.0005233/0.9716, allocations: 189.3 kB / 0.6642 GB, free: 5.566 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.982, allocations: 7.74 MB / 0.6717 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.9821, allocations: 0 / 0.6717 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004448/0.9865, allocations: 2.966 MB / 0.6746 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.9896, allocations: 0.4976 MB / 0.6751 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/1.01, allocations: 12.3 MB / 0.6871 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004187/1.014, allocations: 3.616 MB / 0.6907 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/1.016, allocations: 479 kB / 0.6911 GB, free: 9.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/1.016, allocations: 0 / 0.6911 GB, free: 9.91 MB / 494.1 MB Notification: Performance of Templates: time 0.3401/1.356, allocations: 94 MB / 0.7829 GB, free: 128.1 MB / 0.5138 GB 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