Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001892, allocations: 64.67 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1261, allocations: 50.52 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01559/0.1418, allocations: 12.99 MB / 370.6 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2283/0.3701, allocations: 4.28 MB / 374.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.3722, allocations: 81.19 kB / 374.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007071/0.3793, allocations: 3.716 MB / 378.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005648/0.385, allocations: 1.973 MB / 380.6 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.387, allocations: 0.6916 MB / 381.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006321/0.3933, allocations: 4.224 MB / 385.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008927/0.4023, allocations: 4.745 MB / 390.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.4063, allocations: 1.819 MB / 392.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/0.4101, allocations: 2.454 MB / 394.6 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.4116, allocations: 408.1 kB / 395 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.4146, allocations: 1.121 MB / 396.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002597/0.4172, allocations: 2.183 MB / 398.3 MB, free: 464 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004471/0.4217, allocations: 2.588 MB / 400.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009081/0.4308, allocations: 7.829 MB / 408.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.4309, allocations: 0 / 408.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4309, allocations: 4 kB / 408.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002939/0.4312, allocations: 0 / 408.7 MB, free: 6.398 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02462/0.4559, allocations: 6.183 MB / 414.9 MB, free: 260 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.4559, allocations: 8.031 kB / 414.9 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002573/0.4585, allocations: 0.8345 MB / 415.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008287/0.4668, allocations: 1.974 MB / 417.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006812/0.4737, allocations: 2.843 MB / 420.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.474, allocations: 290.7 kB / 420.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.4757, allocations: 387.9 kB / 421.2 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02753/0.5032, allocations: 12.18 MB / 433.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/0.5035, allocations: 47.53 kB / 433.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/0.5054, allocations: 186.7 kB / 433.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004575/0.51, allocations: 2.2 MB / 435.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/0.5348, allocations: 11.14 MB / 446.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06535/0.6002, allocations: 46.59 MB / 493.5 MB, free: 136 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/0.6187, allocations: 5.337 MB / 498.9 MB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004772/0.6235, allocations: 3.307 MB / 0.4904 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/0.6243, allocations: 374.6 kB / 0.4907 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.6244, allocations: 67.81 kB / 0.4908 GB, free: 6.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=200): time 4.598e-06/0.6244, allocations: 0 / 0.4908 GB, free: 6.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.07861/0.703, allocations: 26.76 MB / 0.5169 GB, free: 11.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.7031, allocations: 150.5 kB / 0.5171 GB, free: 11.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007401/0.7105, allocations: 4.5 MB / 0.5215 GB, free: 7.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006839/0.7112, allocations: 61.69 kB / 0.5215 GB, free: 7.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003249/0.7145, allocations: 3.425 MB / 0.5249 GB, free: 3.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/0.716, allocations: 0.875 MB / 0.5257 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003883/0.7199, allocations: 1.442 MB / 0.5271 GB, free: 1.469 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.72, allocations: 305.1 kB / 0.5274 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2214/0.9414, allocations: 3.27 MB / 0.5306 GB, free: 127.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009744/0.9512, allocations: 7.21 MB / 0.5377 GB, free: 122.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/0.9682, allocations: 11.29 MB / 0.5487 GB, free: 115 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002917/0.9685, allocations: 41.25 kB / 0.5487 GB, free: 115 MB / 446.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.02047/0.989, allocations: 11.38 MB / 0.5598 GB, free: 111.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.9892, allocations: 74.16 kB / 0.5599 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.9893, allocations: 137.2 kB / 0.5601 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.9918, allocations: 1.122 MB / 0.5611 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006057/0.9978, allocations: 1.715 MB / 0.5628 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/1.005, allocations: 6.346 MB / 0.569 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00701/1.012, allocations: 399.3 kB / 0.5694 GB, free: 108 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.014, allocations: 454.8 kB / 0.5698 GB, free: 107.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (830): * Single equations (assignments): 826 * 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.003893/1.018, allocations: 2.331 MB / 0.5721 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009073/1.019, allocations: 402.2 kB / 0.5725 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008292/1.027, allocations: 6.109 MB / 0.5785 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.946e-05/1.027, allocations: 24 kB / 0.5785 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.027, allocations: 9.734 kB / 0.5785 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/1.027, allocations: 7.969 kB / 0.5785 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.045, allocations: 12.86 MB / 0.5911 GB, free: 87.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.045, allocations: 0 / 0.5911 GB, free: 87.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.047, allocations: 0.5381 MB / 0.5916 GB, free: 86.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/1.05, allocations: 0.9514 MB / 0.5925 GB, free: 85.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00038/1.05, allocations: 89.14 kB / 0.5926 GB, free: 85.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/1.056, allocations: 6.06 MB / 0.5985 GB, free: 79.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.056, allocations: 11.88 kB / 0.5985 GB, free: 79.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.069, allocations: 10.32 MB / 0.6086 GB, free: 69.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.071, allocations: 0.8823 MB / 0.6095 GB, free: 68.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007074/1.071, allocations: 41.25 kB / 0.6095 GB, free: 68.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.074, allocations: 159.1 kB / 0.6097 GB, free: 68.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004976/1.074, allocations: 189.6 kB / 0.6098 GB, free: 68.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.074, allocations: 105.1 kB / 0.6099 GB, free: 67.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00378/1.078, allocations: 2.822 MB / 0.6127 GB, free: 65.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.7e-07/1.078, allocations: 1.531 kB / 0.6127 GB, free: 65.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007334/1.085, allocations: 1.193 MB / 0.6139 GB, free: 63.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.01243/1.098, allocations: 11 MB / 0.6246 GB, free: 52.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01346/1.111, allocations: 9.749 MB / 0.6341 GB, free: 43.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.111, allocations: 0 / 0.6341 GB, free: 43.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/1.115, allocations: 2.964 MB / 0.637 GB, free: 40.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.118, allocations: 0.5009 MB / 0.6375 GB, free: 39.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2904/1.408, allocations: 67.23 MB / 0.7032 GB, free: 159.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005974/1.414, allocations: 3.624 MB / 0.7067 GB, free: 159 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008273/1.422, allocations: 2.29 MB / 0.7089 GB, free: 158.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005403/1.428, allocations: 2.323 MB / 0.7112 GB, free: 158.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.233e-06/1.428, allocations: 0 / 0.7112 GB, free: 158.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/1.583, allocations: 95.65 MB / 0.8046 GB, free: 81.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/13.39, allocations: 4.375 kB / 0.8046 GB, free: 81.43 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches