Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 111 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 196.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 51.91 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2854, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01133/0.2968, allocations: 11.11 MB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.3042, allocations: 3.816 MB / 416.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.3059, allocations: 63.88 kB / 416.4 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004911/0.3109, allocations: 2.698 MB / 419.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.3155, allocations: 1.805 MB / 420.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.3169, allocations: 0.5576 MB / 421.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004742/0.3217, allocations: 3.591 MB / 425.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004502/0.3262, allocations: 3.619 MB / 428.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.3289, allocations: 1.468 MB / 430.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.332, allocations: 2.009 MB / 432.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.333, allocations: 320 kB / 432.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.3358, allocations: 1.061 MB / 433.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.3384, allocations: 1.839 MB / 435.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002907/0.3413, allocations: 2.124 MB / 437.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009737/0.351, allocations: 6.806 MB / 444.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3511, allocations: 0 / 444.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.3511, allocations: 3.984 kB / 444.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002271/0.3513, allocations: 0 / 444.3 MB, free: 13.81 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01761/0.369, allocations: 5.098 MB / 449.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.369, allocations: 15.97 kB / 449.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/0.3757, allocations: 1.851 MB / 451.3 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004417/0.3802, allocations: 2.276 MB / 453.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.3804, allocations: 221.8 kB / 453.8 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008608/0.3812, allocations: 303.8 kB / 454 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.3994, allocations: 10.22 MB / 464.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.3996, allocations: 39.62 kB / 464.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004784/0.4001, allocations: 143.9 kB / 464.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003249/0.4033, allocations: 1.868 MB / 466.3 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.4215, allocations: 9.123 MB / 475.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04764/0.4692, allocations: 38.16 MB / 0.5016 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.4823, allocations: 3.581 MB / 0.5051 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.4847, allocations: 1.672 MB / 0.5067 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005986/0.4853, allocations: 367.5 kB / 0.507 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.4854, allocations: 47.11 kB / 0.5071 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 5.3e-06/0.4854, allocations: 0 / 0.5071 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04179/0.5272, allocations: 12.73 MB / 0.5195 GB, free: 3.824 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.5273, allocations: 141.2 kB / 0.5197 GB, free: 3.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005848/0.5331, allocations: 4.06 MB / 0.5236 GB, free: 15.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.5336, allocations: 49.64 kB / 0.5237 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002082/0.5357, allocations: 3.051 MB / 0.5266 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007684/0.5364, allocations: 0.5403 MB / 0.5272 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/0.5381, allocations: 1.174 MB / 0.5283 GB, free: 10.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.5382, allocations: 301.1 kB / 0.5286 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/0.5411, allocations: 1.967 MB / 0.5305 GB, free: 8.414 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00535/0.5464, allocations: 5.68 MB / 0.5361 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2682/0.8146, allocations: 8.289 MB / 0.5442 GB, free: 118.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-05/0.8148, allocations: 39.34 kB / 0.5442 GB, free: 118.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01262/0.8274, allocations: 8.109 MB / 0.5521 GB, free: 115.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.8275, allocations: 60.09 kB / 0.5522 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/0.8277, allocations: 132.2 kB / 0.5523 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/0.8299, allocations: 0.9053 MB / 0.5532 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/0.834, allocations: 1.33 MB / 0.5545 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.8399, allocations: 5.192 MB / 0.5596 GB, free: 112.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/0.8449, allocations: 303.6 kB / 0.5598 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/0.8461, allocations: 371.4 kB / 0.5602 GB, free: 111.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (702): * Single equations (assignments): 698 * 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.003132/0.8493, allocations: 2.011 MB / 0.5622 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005684/0.8499, allocations: 339.1 kB / 0.5625 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.8543, allocations: 2.77 MB / 0.5652 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.8543, allocations: 16 kB / 0.5652 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.8543, allocations: 4 kB / 0.5652 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.8543, allocations: 3.984 kB / 0.5652 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.8644, allocations: 7.123 MB / 0.5722 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.8644, allocations: 0 / 0.5722 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009673/0.8654, allocations: 215.7 kB / 0.5724 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.8672, allocations: 0.7155 MB / 0.5731 GB, free: 99.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.8674, allocations: 30.61 kB / 0.5731 GB, free: 99.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004674/0.872, allocations: 4.756 MB / 0.5778 GB, free: 94.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.8721, allocations: 3.938 kB / 0.5778 GB, free: 94.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006146/0.8782, allocations: 5.087 MB / 0.5827 GB, free: 89.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/0.879, allocations: 388.6 kB / 0.5831 GB, free: 89.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/0.8794, allocations: 24 kB / 0.5831 GB, free: 89.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.8806, allocations: 67.91 kB / 0.5832 GB, free: 88.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.8808, allocations: 96.52 kB / 0.5833 GB, free: 88.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.965e-05/0.8809, allocations: 51.48 kB / 0.5833 GB, free: 88.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002848/0.8838, allocations: 2.541 MB / 0.5858 GB, free: 86.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8838, allocations: 0 / 0.5858 GB, free: 86.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003996/0.8878, allocations: 0.901 MB / 0.5867 GB, free: 85.38 MB / 462.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.0003605/0.8882, allocations: 166.8 kB / 0.5868 GB, free: 85.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00563/0.8938, allocations: 4.682 MB / 0.5914 GB, free: 80.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8938, allocations: 4 kB / 0.5914 GB, free: 80.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.8952, allocations: 1.349 MB / 0.5927 GB, free: 79.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.8976, allocations: 431.7 kB / 0.5931 GB, free: 78.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.9093, allocations: 8.849 MB / 0.6018 GB, free: 69.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/0.912, allocations: 3.104 MB / 0.6048 GB, free: 66.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008999/0.9129, allocations: 299.3 kB / 0.6051 GB, free: 66.45 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9129, allocations: 0 / 0.6051 GB, free: 66.45 MB / 462.1 MB Notification: Performance of Templates: time 0.08021/0.9932, allocations: 72.37 MB / 0.6758 GB, free: 10.14 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches