Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 113.8 kB / 18.3 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002236/0.002236, allocations: 219.8 kB / 19.26 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.61 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.121, allocations: 50.52 MB / 358.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0148/0.1359, allocations: 11 MB / 369.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2026/0.3385, allocations: 3.827 MB / 373 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.3404, allocations: 64.44 kB / 373.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004893/0.3454, allocations: 2.674 MB / 375.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004537/0.3499, allocations: 1.76 MB / 377.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.3515, allocations: 0.5779 MB / 378.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005132/0.3566, allocations: 3.577 MB / 381.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004414/0.3611, allocations: 3.594 MB / 385.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.3638, allocations: 1.452 MB / 386.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.3667, allocations: 1.982 MB / 388.7 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008762/0.3676, allocations: 315.9 kB / 389 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.3698, allocations: 1.034 MB / 390 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.3713, allocations: 1.782 MB / 391.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.3734, allocations: 2.078 MB / 393.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006182/0.3796, allocations: 6.43 MB / 400.3 MB, free: 14.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3796, allocations: 0 / 400.3 MB, free: 14.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3796, allocations: 0 / 400.3 MB, free: 14.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.3799, allocations: 0 / 400.3 MB, free: 14.51 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01801/0.3979, allocations: 5.043 MB / 405.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3979, allocations: 12.02 kB / 405.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006928/0.4049, allocations: 1.848 MB / 407.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004671/0.4096, allocations: 2.196 MB / 409.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.4098, allocations: 223.9 kB / 409.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009502/0.4107, allocations: 300.2 kB / 409.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.4307, allocations: 10.02 MB / 419.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.4309, allocations: 47.59 kB / 420 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004767/0.4313, allocations: 150.8 kB / 420.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003416/0.4348, allocations: 1.796 MB / 421.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.454, allocations: 8.962 MB / 430.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04992/0.504, allocations: 37.89 MB / 468.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/0.5176, allocations: 3.58 MB / 472.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002519/0.5201, allocations: 1.676 MB / 474 MB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/0.5208, allocations: 360.1 kB / 474.4 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.5208, allocations: 43.12 kB / 474.4 MB, free: 2.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.388e-06/0.5209, allocations: 4 kB / 474.4 MB, free: 2.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.04273/0.5636, allocations: 12.67 MB / 487.1 MB, free: 6.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5637, allocations: 141.2 kB / 487.3 MB, free: 5.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006169/0.5699, allocations: 4.048 MB / 491.3 MB, free: 1.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003211/0.5703, allocations: 48.91 kB / 491.3 MB, free: 1.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002406/0.5727, allocations: 3.01 MB / 494.4 MB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/0.5734, allocations: 0.5423 MB / 494.9 MB, free: 14.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/0.5751, allocations: 1.172 MB / 496.1 MB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5752, allocations: 305.1 kB / 496.4 MB, free: 12.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003058/0.5783, allocations: 1.963 MB / 498.3 MB, free: 10.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006135/0.5844, allocations: 5.654 MB / 0.4922 GB, free: 3.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.5951, allocations: 8.257 MB / 0.5002 GB, free: 9.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/0.5952, allocations: 40 kB / 0.5003 GB, free: 9.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01639/0.6116, allocations: 8.069 MB / 0.5082 GB, free: 1.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/0.6118, allocations: 60 kB / 0.5082 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001772/0.612, allocations: 132 kB / 0.5083 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.6146, allocations: 0.9144 MB / 0.5092 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004192/0.6188, allocations: 1.318 MB / 0.5105 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.6261, allocations: 5.189 MB / 0.5156 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/0.6304, allocations: 307.6 kB / 0.5159 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009717/0.6314, allocations: 371.1 kB / 0.5162 GB, free: 8.711 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (699): * Single equations (assignments): 695 * 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.003657/0.6351, allocations: 1.974 MB / 0.5182 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007416/0.6358, allocations: 335.6 kB / 0.5185 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005622/0.6415, allocations: 2.767 MB / 0.5212 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.213e-05/0.6416, allocations: 19.97 kB / 0.5212 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6416, allocations: 4 kB / 0.5212 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.271e-05/0.6416, allocations: 7.984 kB / 0.5212 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1905/0.8321, allocations: 7.073 MB / 0.5281 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.8322, allocations: 1.375 kB / 0.5281 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.8332, allocations: 212 kB / 0.5283 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/0.8354, allocations: 0.7159 MB / 0.529 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/0.8356, allocations: 31.52 kB / 0.5291 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005756/0.8414, allocations: 4.752 MB / 0.5337 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8414, allocations: 6.594 kB / 0.5337 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007941/0.8493, allocations: 5.083 MB / 0.5387 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.8505, allocations: 391.4 kB / 0.539 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004893/0.851, allocations: 18.12 kB / 0.5391 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.8522, allocations: 78.56 kB / 0.5391 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.8525, allocations: 92.09 kB / 0.5392 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.8526, allocations: 51.33 kB / 0.5393 GB, free: 133.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004222/0.8568, allocations: 2.528 MB / 0.5417 GB, free: 133 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.322e-06/0.8569, allocations: 1.375 kB / 0.5417 GB, free: 133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005247/0.8621, allocations: 0.8904 MB / 0.5426 GB, free: 132.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/0.8625, allocations: 147.6 kB / 0.5428 GB, free: 132.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006991/0.8695, allocations: 5.107 MB / 0.5477 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.8696, allocations: 2 kB / 0.5477 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.8711, allocations: 1.344 MB / 0.5491 GB, free: 130.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.8736, allocations: 431.4 kB / 0.5495 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.8857, allocations: 8.865 MB / 0.5581 GB, free: 126.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.8883, allocations: 3.053 MB / 0.5611 GB, free: 125.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/0.8891, allocations: 298.6 kB / 0.5614 GB, free: 125.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8892, allocations: 0 / 0.5614 GB, free: 125.1 MB / 446.1 MB Notification: Performance of Templates: time 0.3682/1.257, allocations: 70.81 MB / 0.6305 GB, free: 54.95 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches