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.00126/0.00126, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001334, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 60.72 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1339, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01377/0.1477, allocations: 12.98 MB / 371.9 MB, free: 300 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2351/0.3828, allocations: 4.288 MB / 376.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/0.386, allocations: 80.81 kB / 376.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00805/0.3941, allocations: 3.709 MB / 380 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007094/0.4012, allocations: 1.974 MB / 381.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.4036, allocations: 0.6976 MB / 382.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00842/0.412, allocations: 4.219 MB / 386.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006614/0.4187, allocations: 4.736 MB / 391.6 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004769/0.4235, allocations: 1.829 MB / 393.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004892/0.4284, allocations: 2.457 MB / 395.9 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001519/0.43, allocations: 406.6 kB / 396.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.433, allocations: 1.122 MB / 397.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002242/0.4352, allocations: 2.185 MB / 399.6 MB, free: 456 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003671/0.4389, allocations: 2.585 MB / 402.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009545/0.4485, allocations: 8.066 MB / 410.2 MB, free: 6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4485, allocations: 0 / 410.2 MB, free: 6 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4485, allocations: 0 / 410.2 MB, free: 6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002484/0.4488, allocations: 0 / 410.2 MB, free: 6 MB / 318.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.02177/0.4706, allocations: 6.174 MB / 416.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4707, allocations: 12.03 kB / 416.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006687/0.4773, allocations: 1.96 MB / 418.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006809/0.4842, allocations: 2.667 MB / 421 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.4845, allocations: 292.6 kB / 421.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.4855, allocations: 398.6 kB / 421.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.5081, allocations: 12.18 MB / 433.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.5083, allocations: 47.53 kB / 433.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004887/0.5088, allocations: 180.7 kB / 434.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003734/0.5125, allocations: 2.196 MB / 436.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/0.5344, allocations: 11.13 MB / 447.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06001/0.5945, allocations: 46.4 MB / 493.9 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01727/0.6118, allocations: 5.336 MB / 499.2 MB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/0.6165, allocations: 3.319 MB / 0.4907 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006948/0.6172, allocations: 378.4 kB / 0.4911 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.6173, allocations: 51.81 kB / 0.4911 GB, free: 7.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=200): time 4.428e-06/0.6173, allocations: 0 / 0.4911 GB, free: 7.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.07177/0.689, allocations: 26.75 MB / 0.5173 GB, free: 12.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.6892, allocations: 158.5 kB / 0.5174 GB, free: 12.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006341/0.6956, allocations: 4.488 MB / 0.5218 GB, free: 8.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007189/0.6963, allocations: 64.36 kB / 0.5219 GB, free: 8.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002646/0.699, allocations: 3.418 MB / 0.5252 GB, free: 4.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001588/0.7006, allocations: 0.8804 MB / 0.5261 GB, free: 3.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00232/0.7029, allocations: 1.442 MB / 0.5275 GB, free: 2.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7031, allocations: 305.1 kB / 0.5278 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2111/0.9142, allocations: 3.283 MB / 0.531 GB, free: 135.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009039/0.9232, allocations: 7.22 MB / 0.538 GB, free: 130.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/0.9388, allocations: 11.3 MB / 0.5491 GB, free: 122.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003775/0.9393, allocations: 39.06 kB / 0.5491 GB, free: 122.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02317/0.9624, allocations: 11.4 MB / 0.5602 GB, free: 118.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.9626, allocations: 65.75 kB / 0.5603 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/0.9628, allocations: 139.4 kB / 0.5604 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/0.9655, allocations: 1.128 MB / 0.5615 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00613/0.9716, allocations: 1.719 MB / 0.5632 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/0.9784, allocations: 6.343 MB / 0.5694 GB, free: 115.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006352/0.9848, allocations: 396.2 kB / 0.5698 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/0.9865, allocations: 459.2 kB / 0.5702 GB, free: 115.1 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.004319/0.9908, allocations: 2.329 MB / 0.5725 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009104/0.9917, allocations: 403.2 kB / 0.5729 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008253/1, allocations: 6.109 MB / 0.5788 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.356e-05/1, allocations: 24 kB / 0.5789 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1, allocations: 8 kB / 0.5789 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/1, allocations: 11.95 kB / 0.5789 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/1.019, allocations: 12.82 MB / 0.5914 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.019, allocations: 4 kB / 0.5914 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/1.021, allocations: 0.5385 MB / 0.5919 GB, free: 94.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/1.023, allocations: 0.9487 MB / 0.5929 GB, free: 93.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/1.024, allocations: 83.89 kB / 0.5929 GB, free: 93.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005793/1.03, allocations: 6.041 MB / 0.5988 GB, free: 87.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.03, allocations: 7.938 kB / 0.5988 GB, free: 87.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.041, allocations: 10.33 MB / 0.6089 GB, free: 77.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/1.044, allocations: 0.8862 MB / 0.6098 GB, free: 76.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005947/1.044, allocations: 43.94 kB / 0.6098 GB, free: 76.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.046, allocations: 151.8 kB / 0.61 GB, free: 76.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/1.047, allocations: 185.6 kB / 0.6102 GB, free: 76.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/1.047, allocations: 103.8 kB / 0.6103 GB, free: 75.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003377/1.05, allocations: 2.822 MB / 0.613 GB, free: 73.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.05, allocations: 0 / 0.613 GB, free: 73.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006109/1.056, allocations: 1.183 MB / 0.6142 GB, free: 71.95 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.0004697/1.057, allocations: 191.1 kB / 0.6144 GB, free: 71.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00973/1.067, allocations: 7.748 MB / 0.6219 GB, free: 64.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.067, allocations: 0 / 0.6219 GB, free: 64.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.07, allocations: 2.968 MB / 0.6248 GB, free: 61.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.073, allocations: 0.4941 MB / 0.6253 GB, free: 60.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/1.089, allocations: 11.78 MB / 0.6368 GB, free: 48.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002994/1.092, allocations: 3.616 MB / 0.6403 GB, free: 45.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004514/1.097, allocations: 2.297 MB / 0.6426 GB, free: 42.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/1.098, allocations: 423.1 kB / 0.643 GB, free: 42.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/1.098, allocations: 0 / 0.643 GB, free: 42.4 MB / 446.1 MB Notification: Performance of Templates: time 0.08271/1.181, allocations: 50.15 MB / 0.692 GB, free: 8.574 MB / 462.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 -s cvode -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