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.001672/0.001672, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002028/0.002028, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2332, allocations: 50.55 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01255/0.2458, allocations: 12.98 MB / 421.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008421/0.2542, allocations: 4.287 MB / 426 MB, free: 204 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.2564, allocations: 79.81 kB / 426.1 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006841/0.2633, allocations: 3.711 MB / 429.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.2683, allocations: 2.019 MB / 431.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.2701, allocations: 0.6902 MB / 432.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005475/0.2756, allocations: 4.225 MB / 436.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005992/0.2816, allocations: 4.737 MB / 441.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.2845, allocations: 1.83 MB / 443.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.288, allocations: 2.453 MB / 445.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.2892, allocations: 408 kB / 446.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.2917, allocations: 1.123 MB / 447.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.2942, allocations: 2.205 MB / 449.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003875/0.2981, allocations: 2.591 MB / 452.1 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009252/0.3073, allocations: 8.109 MB / 460.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3074, allocations: 0 / 460.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3074, allocations: 0 / 460.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002544/0.3076, allocations: 0 / 460.2 MB, free: 13.86 MB / 382.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.01997/0.3276, allocations: 6.339 MB / 466.5 MB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3277, allocations: 8.031 kB / 466.5 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001863/0.3295, allocations: 0.8307 MB / 467.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007086/0.3366, allocations: 2.006 MB / 469.4 MB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005893/0.3426, allocations: 2.926 MB / 472.3 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.3428, allocations: 287.5 kB / 472.6 MB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/0.3443, allocations: 387.8 kB / 473 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/0.3664, allocations: 12.18 MB / 485.1 MB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/0.3666, allocations: 47.62 kB / 485.2 MB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000945/0.3676, allocations: 183.8 kB / 485.4 MB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00378/0.3714, allocations: 2.19 MB / 487.6 MB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/0.3929, allocations: 11.14 MB / 498.7 MB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05649/0.4494, allocations: 46.47 MB / 0.5324 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/0.4664, allocations: 5.344 MB / 0.5376 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1849/0.6513, allocations: 3.305 MB / 0.5408 GB, free: 122.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000585/0.6519, allocations: 370.7 kB / 0.5412 GB, free: 122.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.652, allocations: 59.09 kB / 0.5413 GB, free: 122.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 4.929e-06/0.652, allocations: 2.297 kB / 0.5413 GB, free: 122.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.06318/0.7152, allocations: 27.02 MB / 0.5676 GB, free: 107.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.7153, allocations: 154.5 kB / 0.5678 GB, free: 107.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00489/0.7202, allocations: 4.51 MB / 0.5722 GB, free: 103 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005763/0.7207, allocations: 57.7 kB / 0.5722 GB, free: 102.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.7222, allocations: 3.556 MB / 0.5757 GB, free: 99.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00083/0.723, allocations: 0.9177 MB / 0.5766 GB, free: 98.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.7245, allocations: 1.452 MB / 0.578 GB, free: 97.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.7246, allocations: 305 kB / 0.5783 GB, free: 97.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/0.728, allocations: 3.273 MB / 0.5815 GB, free: 93.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004635/0.7326, allocations: 7.208 MB / 0.5886 GB, free: 84.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009546/0.7422, allocations: 11.3 MB / 0.5996 GB, free: 71.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.422e-05/0.7423, allocations: 40 kB / 0.5996 GB, free: 71.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01553/0.7579, allocations: 11.4 MB / 0.6108 GB, free: 59.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.758, allocations: 67.94 kB / 0.6108 GB, free: 59.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.371e-05/0.7581, allocations: 142.8 kB / 0.611 GB, free: 59.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/0.7604, allocations: 1.121 MB / 0.6121 GB, free: 58.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005384/0.7657, allocations: 1.715 MB / 0.6137 GB, free: 56.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/0.7719, allocations: 6.339 MB / 0.6199 GB, free: 50.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005092/0.777, allocations: 403.7 kB / 0.6203 GB, free: 50.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/0.7779, allocations: 451.8 kB / 0.6207 GB, free: 49.61 MB / 462.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.002978/0.7809, allocations: 2.334 MB / 0.623 GB, free: 47.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000693/0.7816, allocations: 425.2 kB / 0.6234 GB, free: 46.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008124/0.7897, allocations: 6.109 MB / 0.6294 GB, free: 40.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/0.7898, allocations: 31.77 kB / 0.6294 GB, free: 40.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.7898, allocations: 4 kB / 0.6294 GB, free: 40.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/0.7898, allocations: 9.047 kB / 0.6294 GB, free: 40.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/0.8068, allocations: 12.75 MB / 0.6419 GB, free: 27.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.8068, allocations: 4 kB / 0.6419 GB, free: 27.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/0.8093, allocations: 0.5385 MB / 0.6424 GB, free: 27.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002169/0.8115, allocations: 0.9488 MB / 0.6433 GB, free: 26.35 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/0.8118, allocations: 83.89 kB / 0.6434 GB, free: 26.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005941/0.8178, allocations: 6.09 MB / 0.6494 GB, free: 20.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8178, allocations: 7.938 kB / 0.6494 GB, free: 20.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/0.83, allocations: 10.36 MB / 0.6595 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/0.8321, allocations: 0.9081 MB / 0.6604 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006229/0.8327, allocations: 40 kB / 0.6604 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/0.8347, allocations: 156.2 kB / 0.6606 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004878/0.8352, allocations: 184.8 kB / 0.6607 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/0.8354, allocations: 103.9 kB / 0.6608 GB, free: 8.219 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003438/0.8389, allocations: 2.826 MB / 0.6636 GB, free: 5.391 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8389, allocations: 3.938 kB / 0.6636 GB, free: 5.387 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005345/0.8442, allocations: 1.187 MB / 0.6648 GB, free: 4.199 MB / 462.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.0135/0.8577, allocations: 11.03 MB / 0.6755 GB, free: 9.105 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01133/0.8691, allocations: 7.722 MB / 0.6831 GB, free: 1.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.8692, allocations: 0 / 0.6831 GB, free: 1.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00424/0.8734, allocations: 2.97 MB / 0.686 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.8764, allocations: 0.4954 MB / 0.6865 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2864/1.163, allocations: 59.58 MB / 0.7446 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003231/1.166, allocations: 3.627 MB / 0.7482 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004298/1.17, allocations: 2.283 MB / 0.7504 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002773/1.173, allocations: 2.318 MB / 0.7527 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of SimCode: time 6.92e-07/1.173, allocations: 0 / 0.7527 GB, free: 184.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1661/1.339, allocations: 91.49 MB / 0.842 GB, free: 97.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.4/20.74, allocations: 11.69 kB / 0.842 GB, free: 97.45 MB / 0.5294 GB (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