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.00127/0.00127, allocations: 111.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2078, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01258/0.2204, allocations: 12.97 MB / 422.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006965/0.2274, allocations: 4.298 MB / 427.2 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007538/0.2282, allocations: 83.75 kB / 427.3 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005966/0.2342, allocations: 3.703 MB / 431 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.2376, allocations: 1.972 MB / 433 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2388, allocations: 0.6941 MB / 433.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004069/0.2429, allocations: 4.225 MB / 437.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004392/0.2473, allocations: 4.738 MB / 442.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.2491, allocations: 1.83 MB / 444.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.2516, allocations: 2.449 MB / 446.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005819/0.2522, allocations: 408 kB / 447.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.2539, allocations: 1.124 MB / 448.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.2556, allocations: 2.205 MB / 450.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.2576, allocations: 2.579 MB / 453.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006475/0.2641, allocations: 8.075 MB / 461.3 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2641, allocations: 0 / 461.3 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2641, allocations: 4 kB / 461.3 MB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.405e-05/0.2642, 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.01682/0.281, allocations: 6.18 MB / 467.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.281, allocations: 8.031 kB / 467.5 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00653/0.2876, allocations: 1.963 MB / 469.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005125/0.2927, allocations: 2.667 MB / 472.1 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.2929, allocations: 287.5 kB / 472.4 MB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006657/0.2936, allocations: 395.6 kB / 472.8 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01767/0.3113, allocations: 12.17 MB / 484.9 MB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.3114, allocations: 47.53 kB / 485 MB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004979/0.3119, allocations: 183.8 kB / 485.2 MB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003754/0.3156, allocations: 2.194 MB / 487.4 MB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.3347, allocations: 11.14 MB / 498.5 MB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04785/0.3826, allocations: 46.39 MB / 0.5321 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/0.3993, allocations: 5.34 MB / 0.5373 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1673/0.5666, allocations: 3.309 MB / 0.5406 GB, free: 123.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/0.5673, allocations: 376.9 kB / 0.5409 GB, free: 122.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5673, allocations: 54.34 kB / 0.541 GB, free: 122.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 5.11e-06/0.5673, allocations: 0.5312 kB / 0.541 GB, free: 122.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.06178/0.6291, allocations: 26.75 MB / 0.5671 GB, free: 109.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6292, allocations: 154.5 kB / 0.5673 GB, free: 109.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/0.6331, allocations: 4.495 MB / 0.5716 GB, free: 104.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.6333, allocations: 53.7 kB / 0.5717 GB, free: 104.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.6345, allocations: 3.425 MB / 0.575 GB, free: 101.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.635, allocations: 0.8778 MB / 0.5759 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.6364, allocations: 1.438 MB / 0.5773 GB, free: 98.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.6364, allocations: 301.1 kB / 0.5776 GB, free: 98.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.6398, allocations: 3.296 MB / 0.5808 GB, free: 95.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004334/0.6441, allocations: 7.215 MB / 0.5879 GB, free: 86.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00838/0.6525, allocations: 11.31 MB / 0.5989 GB, free: 72.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.79e-05/0.6526, allocations: 40 kB / 0.5989 GB, free: 72.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01348/0.6661, allocations: 11.41 MB / 0.6101 GB, free: 61.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.6661, allocations: 64 kB / 0.6101 GB, free: 61.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/0.6662, allocations: 140.7 kB / 0.6103 GB, free: 61.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.6685, allocations: 1.126 MB / 0.6114 GB, free: 60.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004862/0.6734, allocations: 1.723 MB / 0.6131 GB, free: 58.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.6795, allocations: 6.336 MB / 0.6192 GB, free: 51.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/0.6834, allocations: 407.1 kB / 0.6196 GB, free: 51.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004352/0.6839, allocations: 455.8 kB / 0.6201 GB, free: 51.12 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.002381/0.6863, allocations: 2.33 MB / 0.6223 GB, free: 48.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.6868, allocations: 398.8 kB / 0.6227 GB, free: 48.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00807/0.6949, allocations: 6.109 MB / 0.6287 GB, free: 42.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.6949, allocations: 7.969 kB / 0.6287 GB, free: 42.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6949, allocations: 4 kB / 0.6287 GB, free: 42.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/0.6966, allocations: 0.8821 MB / 0.6296 GB, free: 41.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/0.6971, allocations: 40.38 kB / 0.6296 GB, free: 41.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/0.699, allocations: 159.8 kB / 0.6298 GB, free: 41.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/0.6994, allocations: 181.7 kB / 0.6299 GB, free: 40.96 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00921/0.7086, allocations: 6.561 MB / 0.6363 GB, free: 34.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008809/0.7175, allocations: 9.372 MB / 0.6455 GB, free: 25.03 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002368/0.7198, allocations: 2.526 MB / 0.648 GB, free: 22.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002775/0.7226, allocations: 2.818 MB / 0.6507 GB, free: 19.68 MB / 462.1 MB Notification: Performance of Backend: time 3.21e-07/0.7226, allocations: 0 / 0.6507 GB, free: 19.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007478/0.7301, allocations: 5.653 MB / 0.6562 GB, free: 14.06 MB / 462.1 MB Notification: Performance of SimCode: time 0.01108/0.7412, allocations: 10.48 MB / 0.6665 GB, free: 3.559 MB / 462.1 MB Notification: Performance of Templates: time 0.2691/1.01, allocations: 65.52 MB / 0.7304 GB, free: 176.5 MB / 0.5137 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