Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001222/0.001222, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.36/1.36, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001719/0.001719, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.08553, allocations: 46.62 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2021/0.2877, allocations: 13.76 MB / 388.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008851/0.2966, allocations: 4.361 MB / 392.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.2995, allocations: 84.94 kB / 392.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00749/0.3071, allocations: 3.744 MB / 396.6 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006522/0.3136, allocations: 2.107 MB / 398.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.3159, allocations: 0.693 MB / 399.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007653/0.3236, allocations: 4.407 MB / 403.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007033/0.3306, allocations: 4.847 MB / 408.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.3347, allocations: 1.908 MB / 410.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/0.3393, allocations: 2.604 MB / 413.2 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.3404, allocations: 432.2 kB / 413.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.3432, allocations: 1.144 MB / 414.7 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002719/0.3459, allocations: 2.322 MB / 417.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003811/0.3498, allocations: 2.758 MB / 419.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.3613, allocations: 8.657 MB / 428.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3613, allocations: 0 / 428.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3613, allocations: 0 / 428.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002921/0.3616, allocations: 0 / 428.5 MB, free: 9.879 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.03062/0.3923, allocations: 6.598 MB / 435.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.3924, allocations: 16.03 kB / 435.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003315/0.3957, allocations: 0.8805 MB / 436 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/0.4087, allocations: 2.029 MB / 438 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.419, allocations: 3.254 MB / 441.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/0.4195, allocations: 307.8 kB / 441.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/0.4217, allocations: 403.8 kB / 441.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03517/0.4569, allocations: 12.87 MB / 454.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/0.4572, allocations: 55.56 kB / 454.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001582/0.4588, allocations: 187.8 kB / 455.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005082/0.4639, allocations: 2.374 MB / 457.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02719/0.4912, allocations: 11.74 MB / 469.2 MB, free: 260 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07366/0.5649, allocations: 48.51 MB / 0.5055 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/0.584, allocations: 5.564 MB / 0.511 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005334/0.5893, allocations: 3.478 MB / 0.5144 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008386/0.5902, allocations: 380.4 kB / 0.5147 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/0.5903, allocations: 63.81 kB / 0.5148 GB, free: 4.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 6.933e-06/0.5903, allocations: 3.938 kB / 0.5148 GB, free: 4.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08539/0.6757, allocations: 28.26 MB / 0.5424 GB, free: 8.484 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.6759, allocations: 150.5 kB / 0.5425 GB, free: 8.305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009145/0.685, allocations: 4.629 MB / 0.5471 GB, free: 3.664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007363/0.6858, allocations: 69.7 kB / 0.5471 GB, free: 3.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1667/0.8525, allocations: 3.719 MB / 0.5508 GB, free: 148.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.854, allocations: 0.9927 MB / 0.5517 GB, free: 148.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00257/0.8565, allocations: 1.509 MB / 0.5532 GB, free: 148.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.8566, allocations: 304.4 kB / 0.5535 GB, free: 148.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005265/0.8619, allocations: 3.445 MB / 0.5569 GB, free: 147.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007032/0.8689, allocations: 7.513 MB / 0.5642 GB, free: 141.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/0.8821, allocations: 11.8 MB / 0.5757 GB, free: 132.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001938/0.8823, allocations: 44.91 kB / 0.5758 GB, free: 132.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01904/0.9014, allocations: 11.89 MB / 0.5874 GB, free: 128.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.9015, allocations: 66.34 kB / 0.5874 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.9016, allocations: 145 kB / 0.5876 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/0.9041, allocations: 1.124 MB / 0.5887 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005959/0.9101, allocations: 1.801 MB / 0.5904 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/0.9167, allocations: 6.354 MB / 0.5966 GB, free: 123.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005697/0.9224, allocations: 423.6 kB / 0.597 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/0.9235, allocations: 469.8 kB / 0.5975 GB, free: 122.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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 (871): * Single equations (assignments): 867 * 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.003975/0.9275, allocations: 2.443 MB / 0.5999 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/0.9283, allocations: 443.8 kB / 0.6003 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/0.9374, allocations: 6.485 MB / 0.6066 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/0.9374, allocations: 24 kB / 0.6067 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.9375, allocations: 4 kB / 0.6067 GB, free: 114.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.9375, allocations: 15.95 kB / 0.6067 GB, free: 114.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.9555, allocations: 13.49 MB / 0.6198 GB, free: 101.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.9555, allocations: 4 kB / 0.6199 GB, free: 101.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/0.9582, allocations: 0.5808 MB / 0.6204 GB, free: 100.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.9605, allocations: 0.9597 MB / 0.6214 GB, free: 99.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003503/0.9608, allocations: 89.58 kB / 0.6214 GB, free: 99.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006033/0.9669, allocations: 6.083 MB / 0.6274 GB, free: 93.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9669, allocations: 11.88 kB / 0.6274 GB, free: 93.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.9797, allocations: 10.95 MB / 0.6381 GB, free: 82.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.9816, allocations: 0.9574 MB / 0.639 GB, free: 81.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00078/0.9824, allocations: 43.98 kB / 0.6391 GB, free: 81.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/0.9847, allocations: 171.8 kB / 0.6392 GB, free: 81.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/0.9852, allocations: 193.6 kB / 0.6394 GB, free: 80.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/0.9855, allocations: 119.5 kB / 0.6395 GB, free: 80.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003609/0.9891, allocations: 2.896 MB / 0.6424 GB, free: 77.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9891, allocations: 0.75 kB / 0.6424 GB, free: 77.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005288/0.9944, allocations: 1.27 MB / 0.6436 GB, free: 76.57 MB / 478.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 (225): * Single equations (assignments): 221 * 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.01271/1.007, allocations: 11.62 MB / 0.6549 GB, free: 64.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/1.017, allocations: 8.148 MB / 0.6629 GB, free: 56.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.017, allocations: 192 / 0.6629 GB, free: 56.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003722/1.021, allocations: 3.162 MB / 0.666 GB, free: 53.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/1.024, allocations: 0.5222 MB / 0.6665 GB, free: 53.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08226/1.106, allocations: 62.44 MB / 0.7275 GB, free: 96 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005453/1.112, allocations: 3.799 MB / 0.7312 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006239/1.118, allocations: 2.389 MB / 0.7335 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00469/1.123, allocations: 2.446 MB / 0.7359 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/1.123, allocations: 0 / 0.7359 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3062/1.429, allocations: 94.78 MB / 0.8285 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.33/21.76, allocations: 7.922 kB / 0.8285 GB, free: 103.7 MB / 0.4981 GB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches