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.001157/0.001157, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.001082/0.001082, allocations: 191 kB / 18 MB, free: 5.219 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.422/1.422, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 51.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2823, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01184/0.2941, allocations: 11.12 MB / 411.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007768/0.302, allocations: 3.812 MB / 415.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.3037, allocations: 67.75 kB / 415.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004973/0.3088, allocations: 2.69 MB / 418.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.3134, allocations: 1.843 MB / 420.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.3149, allocations: 0.5693 MB / 420.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0047/0.3196, allocations: 3.597 MB / 424.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004334/0.324, allocations: 3.621 MB / 428 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.3264, allocations: 1.464 MB / 429.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.3294, allocations: 2.009 MB / 431.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009475/0.3303, allocations: 320 kB / 431.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.3333, allocations: 1.057 MB / 432.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003031/0.3363, allocations: 1.843 MB / 434.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003657/0.34, allocations: 2.124 MB / 436.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008195/0.3482, allocations: 6.805 MB / 443.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3482, allocations: 0 / 443.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3483, allocations: 0 / 443.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002743/0.3485, allocations: 0 / 443.7 MB, free: 13.72 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.01931/0.3679, allocations: 5.102 MB / 448.8 MB, free: 8.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.3679, allocations: 12.03 kB / 448.8 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006918/0.3748, allocations: 1.855 MB / 450.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005574/0.3805, allocations: 2.276 MB / 452.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/0.3807, allocations: 225.8 kB / 453.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/0.382, allocations: 299.8 kB / 453.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02099/0.403, allocations: 10.21 MB / 463.6 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.4032, allocations: 43.67 kB / 463.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/0.4042, allocations: 143.9 kB / 463.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003149/0.4074, allocations: 1.864 MB / 465.7 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/0.4268, allocations: 9.123 MB / 474.8 MB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05289/0.4798, allocations: 38.17 MB / 0.5009 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.4924, allocations: 3.573 MB / 0.5044 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002587/0.495, allocations: 1.688 MB / 0.5061 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.4957, allocations: 359.6 kB / 0.5064 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.4958, allocations: 43.12 kB / 0.5065 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 5.691e-06/0.4958, allocations: 0 / 0.5065 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04198/0.5378, allocations: 12.73 MB / 0.5189 GB, free: 3.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.5379, allocations: 145.2 kB / 0.519 GB, free: 3.559 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007618/0.5455, allocations: 4.06 MB / 0.523 GB, free: 15.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.5458, allocations: 41.7 kB / 0.523 GB, free: 15.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00311/0.5489, allocations: 3.051 MB / 0.526 GB, free: 12.33 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.55, allocations: 0.5403 MB / 0.5265 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002779/0.5528, allocations: 1.181 MB / 0.5277 GB, free: 10.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5529, allocations: 301.1 kB / 0.528 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.5561, allocations: 1.963 MB / 0.5299 GB, free: 8.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006035/0.5622, allocations: 5.684 MB / 0.5355 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2391/0.8013, allocations: 8.286 MB / 0.5435 GB, free: 118.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.156e-05/0.8014, allocations: 39.53 kB / 0.5436 GB, free: 118.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01259/0.814, allocations: 8.098 MB / 0.5515 GB, free: 115.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.8141, allocations: 61.81 kB / 0.5516 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.8142, allocations: 131.5 kB / 0.5517 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/0.8165, allocations: 0.9138 MB / 0.5526 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/0.8203, allocations: 1.322 MB / 0.5539 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.8256, allocations: 5.192 MB / 0.5589 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/0.8294, allocations: 304.5 kB / 0.5592 GB, free: 111.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005202/0.8299, allocations: 373.4 kB / 0.5596 GB, free: 111.4 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.002208/0.8322, allocations: 2.015 MB / 0.5615 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/0.8326, allocations: 338.7 kB / 0.5619 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.8367, allocations: 2.768 MB / 0.5646 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.8368, allocations: 16 kB / 0.5646 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.8368, allocations: 0 / 0.5646 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.8368, allocations: 11.97 kB / 0.5646 GB, free: 107.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0096/0.8464, allocations: 7.12 MB / 0.5716 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.8465, allocations: 4 kB / 0.5716 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.8474, allocations: 215.6 kB / 0.5718 GB, free: 99.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.8492, allocations: 0.7181 MB / 0.5725 GB, free: 99.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.8493, allocations: 35.25 kB / 0.5725 GB, free: 99.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/0.8539, allocations: 4.744 MB / 0.5771 GB, free: 94.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.854, allocations: 4.031 kB / 0.5771 GB, free: 94.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/0.8601, allocations: 5.087 MB / 0.5821 GB, free: 89.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/0.861, allocations: 392.6 kB / 0.5825 GB, free: 88.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.8613, allocations: 23.52 kB / 0.5825 GB, free: 88.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.8624, allocations: 71.91 kB / 0.5826 GB, free: 88.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.8626, allocations: 84.53 kB / 0.5826 GB, free: 88.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.8628, allocations: 51.97 kB / 0.5827 GB, free: 88.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003166/0.866, allocations: 2.549 MB / 0.5852 GB, free: 86.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.866, allocations: 2.188 kB / 0.5852 GB, free: 86.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004124/0.8701, allocations: 0.9049 MB / 0.5861 GB, free: 85.23 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.0003334/0.8704, allocations: 163.4 kB / 0.5862 GB, free: 85.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005684/0.8761, allocations: 4.675 MB / 0.5908 GB, free: 80.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.8762, allocations: 0 / 0.5908 GB, free: 80.42 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.8776, allocations: 1.346 MB / 0.5921 GB, free: 79.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.8798, allocations: 435.3 kB / 0.5925 GB, free: 78.64 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.8906, allocations: 8.412 MB / 0.6007 GB, free: 70.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/0.8929, allocations: 3.108 MB / 0.6038 GB, free: 67.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003204/0.8961, allocations: 1.836 MB / 0.6056 GB, free: 65.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.8967, allocations: 247.3 kB / 0.6058 GB, free: 64.97 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.8967, allocations: 0 / 0.6058 GB, free: 64.97 MB / 462.1 MB Notification: Performance of Templates: time 0.05174/0.9484, allocations: 32.04 MB / 0.6371 GB, free: 33.15 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/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