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.001237/0.001237, allocations: 111.7 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.001374/0.001374, 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.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2223, allocations: 50.55 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0116/0.2339, allocations: 10.98 MB / 420.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006666/0.2406, allocations: 3.812 MB / 424.7 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2417, allocations: 67.81 kB / 424.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.2464, allocations: 2.687 MB / 427.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.25, allocations: 1.786 MB / 429.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2512, allocations: 0.5732 MB / 429.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004001/0.2552, allocations: 3.579 MB / 433.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00384/0.2591, allocations: 3.6 MB / 437 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.261, allocations: 1.456 MB / 438.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.2635, allocations: 1.986 MB / 440.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006681/0.2642, allocations: 316 kB / 440.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.2661, allocations: 1.038 MB / 441.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.2678, allocations: 1.8 MB / 443.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.27, allocations: 2.078 MB / 445.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006015/0.276, allocations: 6.65 MB / 452.3 MB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2761, allocations: 0 / 452.3 MB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2761, allocations: 0 / 452.3 MB, free: 6.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001374/0.2762, allocations: 0 / 452.3 MB, free: 6.996 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01594/0.2921, allocations: 5.051 MB / 457.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2922, allocations: 8.031 kB / 457.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006789/0.299, allocations: 1.852 MB / 459.2 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/0.3032, allocations: 2.233 MB / 461.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.3033, allocations: 225.7 kB / 461.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/0.3039, allocations: 303.8 kB / 462 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.3192, allocations: 10.02 MB / 472 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.793e-05/0.3193, allocations: 39.59 kB / 472.1 MB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004099/0.3197, allocations: 143.9 kB / 472.2 MB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003133/0.3228, allocations: 1.805 MB / 474 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.3385, allocations: 8.963 MB / 483 MB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03857/0.3771, allocations: 37.73 MB / 0.5085 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.3907, allocations: 3.588 MB / 0.512 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.3928, allocations: 1.694 MB / 0.5137 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.3933, allocations: 355.7 kB / 0.514 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3934, allocations: 51.05 kB / 0.514 GB, free: 10.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.406e-06/0.3934, allocations: 0 / 0.514 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04142/0.4348, allocations: 12.67 MB / 0.5264 GB, free: 14.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.4349, allocations: 145.1 kB / 0.5266 GB, free: 13.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0046/0.4395, allocations: 4.044 MB / 0.5305 GB, free: 9.773 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4396, allocations: 41.7 kB / 0.5305 GB, free: 9.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/0.4415, allocations: 3.008 MB / 0.5335 GB, free: 6.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000441/0.4419, allocations: 0.5442 MB / 0.534 GB, free: 6.125 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.4433, allocations: 1.166 MB / 0.5352 GB, free: 4.945 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4434, allocations: 317.1 kB / 0.5355 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/0.446, allocations: 1.955 MB / 0.5374 GB, free: 2.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1699/0.6159, allocations: 5.648 MB / 0.5429 GB, free: 118.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007525/0.6235, allocations: 8.261 MB / 0.5509 GB, free: 111.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/0.6237, allocations: 39.25 kB / 0.551 GB, free: 111.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01075/0.6344, allocations: 8.072 MB / 0.5589 GB, free: 109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/0.6345, allocations: 63 kB / 0.5589 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.785e-05/0.6346, allocations: 134.7 kB / 0.5591 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.6368, allocations: 0.9149 MB / 0.5599 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.64, allocations: 1.314 MB / 0.5612 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/0.6453, allocations: 5.197 MB / 0.5663 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.6483, allocations: 302 kB / 0.5666 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/0.6487, allocations: 367.5 kB / 0.5669 GB, free: 104.2 MB / 462.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.001953/0.6506, allocations: 1.989 MB / 0.5689 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.651, allocations: 329.2 kB / 0.5692 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.6554, allocations: 2.765 MB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.6554, allocations: 7.984 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6554, allocations: 0.875 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.6559, allocations: 385.6 kB / 0.5723 GB, free: 99.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.6562, allocations: 27.98 kB / 0.5723 GB, free: 99.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.6573, allocations: 67.75 kB / 0.5724 GB, free: 99.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.6576, allocations: 100.4 kB / 0.5725 GB, free: 99.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004711/0.6623, allocations: 3.24 MB / 0.5756 GB, free: 96.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003904/0.6662, allocations: 4.368 MB / 0.5799 GB, free: 92.08 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001028/0.6672, allocations: 1.086 MB / 0.581 GB, free: 91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002371/0.6696, allocations: 2.529 MB / 0.5834 GB, free: 88.46 MB / 462.1 MB Notification: Performance of Backend: time 2.61e-07/0.6696, allocations: 0 / 0.5834 GB, free: 88.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005245/0.6749, allocations: 3.922 MB / 0.5873 GB, free: 84.59 MB / 462.1 MB Notification: Performance of SimCode: time 0.008703/0.6836, allocations: 8.555 MB / 0.5956 GB, free: 75.99 MB / 462.1 MB Notification: Performance of Templates: time 0.05615/0.7398, allocations: 41.5 MB / 0.6361 GB, free: 34.67 MB / 462.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.0.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