Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001089/0.001088, allocations: 110.5 kB / 17.93 MB, free: 5.676 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.0009979/0.000998, allocations: 193.8 kB / 18.86 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 56.3 kB / 280.8 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09669, allocations: 46.63 MB / 327.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04571/0.1424, allocations: 50.2 MB / 377.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1979/0.3404, allocations: 10.24 MB / 387.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009735/0.3502, allocations: 210.1 kB / 388.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005679/0.3559, allocations: 2.617 MB / 390.7 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004667/0.3606, allocations: 1.748 MB / 392.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.3621, allocations: 0.5407 MB / 393 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005324/0.3674, allocations: 3.795 MB / 396.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004653/0.3721, allocations: 3.888 MB / 400.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.3752, allocations: 1.556 MB / 402.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.3783, allocations: 2.355 MB / 404.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009004/0.3793, allocations: 339.7 kB / 404.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.3815, allocations: 1.075 MB / 406 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.3832, allocations: 1.959 MB / 408 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.386, allocations: 2.26 MB / 410.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00582/0.3918, allocations: 5.714 MB / 415.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3919, allocations: 0 / 415.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3919, allocations: 0 / 415.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000263/0.3922, allocations: 0 / 415.9 MB, free: 13.79 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0197/0.4119, allocations: 5.309 MB / 421.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.412, allocations: 12.03 kB / 421.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007212/0.4192, allocations: 1.881 MB / 423.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/0.4241, allocations: 2.349 MB / 425.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.4244, allocations: 244.8 kB / 425.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/0.4258, allocations: 311.4 kB / 426 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.4473, allocations: 10.72 MB / 436.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002871/0.4477, allocations: 47.61 kB / 436.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/0.4491, allocations: 158.2 kB / 436.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003547/0.4527, allocations: 1.979 MB / 438.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.4738, allocations: 9.57 MB / 448.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05341/0.5273, allocations: 39.92 MB / 488.4 MB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/0.5408, allocations: 3.846 MB / 492.3 MB, free: 248 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.5434, allocations: 1.848 MB / 494.1 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.5441, allocations: 362 kB / 494.5 MB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.5441, allocations: 47.5 kB / 494.5 MB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 5.009e-06/0.5442, allocations: 0 / 494.5 MB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04489/0.589, allocations: 13.76 MB / 0.4964 GB, free: 56 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/0.5892, allocations: 145.5 kB / 0.4965 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005772/0.595, allocations: 4.163 MB / 0.5006 GB, free: 11.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003789/0.5954, allocations: 51.73 kB / 0.5006 GB, free: 11.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/0.5975, allocations: 3.159 MB / 0.5037 GB, free: 8.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008401/0.5983, allocations: 0.6195 MB / 0.5043 GB, free: 7.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001559/0.5999, allocations: 1.225 MB / 0.5055 GB, free: 6.629 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.6, allocations: 301.1 kB / 0.5058 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003032/0.6031, allocations: 2.139 MB / 0.5079 GB, free: 4.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/0.6084, allocations: 5.956 MB / 0.5137 GB, free: 12.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.6184, allocations: 8.778 MB / 0.5223 GB, free: 1.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/0.6186, allocations: 36 kB / 0.5223 GB, free: 1.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01658/0.6352, allocations: 8.576 MB / 0.5307 GB, free: 8.996 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.491e-05/0.6353, allocations: 68.03 kB / 0.5307 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/0.6355, allocations: 132 kB / 0.5309 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.6379, allocations: 0.9178 MB / 0.5318 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004617/0.6426, allocations: 1.396 MB / 0.5331 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/0.6493, allocations: 5.21 MB / 0.5382 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005009/0.6544, allocations: 323.6 kB / 0.5385 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/0.6555, allocations: 388 kB / 0.5389 GB, free: 444 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (740): * Single equations (assignments): 736 * 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.2232/0.8787, allocations: 2.102 MB / 0.5409 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008908/0.8796, allocations: 351.2 kB / 0.5413 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00723/0.8868, allocations: 3.14 MB / 0.5443 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.12e-05/0.887, allocations: 17.62 kB / 0.5444 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.887, allocations: 4.062 kB / 0.5444 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/0.887, allocations: 8.578 kB / 0.5444 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.9024, allocations: 7.821 MB / 0.552 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.9024, allocations: 2.656 kB / 0.552 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.9038, allocations: 256.8 kB / 0.5523 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.906, allocations: 0.7253 MB / 0.553 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/0.9062, allocations: 39.59 kB / 0.553 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005662/0.9119, allocations: 4.747 MB / 0.5576 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.9119, allocations: 1.219 kB / 0.5576 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008427/0.9203, allocations: 5.678 MB / 0.5632 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/0.922, allocations: 0.6279 MB / 0.5638 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/0.9224, allocations: 26.59 kB / 0.5638 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.9237, allocations: 82.61 kB / 0.5639 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/0.924, allocations: 102.9 kB / 0.564 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.9242, allocations: 54.94 kB / 0.564 GB, free: 119.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003278/0.9275, allocations: 2.607 MB / 0.5666 GB, free: 118.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.001e-06/0.9275, allocations: 3.969 kB / 0.5666 GB, free: 118.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004576/0.9321, allocations: 0.963 MB / 0.5675 GB, free: 118.6 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 (123): * Single equations (assignments): 119 * 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.0003958/0.9325, allocations: 165.8 kB / 0.5677 GB, free: 118.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008977/0.9415, allocations: 5.728 MB / 0.5733 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9415, allocations: 0 / 0.5733 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.9435, allocations: 1.534 MB / 0.5748 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.9466, allocations: 437.9 kB / 0.5752 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.9637, allocations: 11.48 MB / 0.5864 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.9663, allocations: 3.236 MB / 0.5896 GB, free: 103.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.9673, allocations: 315.3 kB / 0.5899 GB, free: 102.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.684e-06/0.9673, allocations: 2.438 kB / 0.5899 GB, free: 102.9 MB / 462.1 MB Notification: Performance of Templates: time 0.08377/1.051, allocations: 75.94 MB / 0.664 GB, free: 26.92 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches