Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008341/0.0008341, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8652/0.8652, allocations: 173.4 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.436e-05, allocations: 6.219 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01043/0.01046, allocations: 11.47 MB / 329.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007103/0.01756, allocations: 4.104 MB / 334 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.01945, allocations: 99.5 kB / 334.1 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004953/0.0244, allocations: 3.819 MB / 337.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.02883, allocations: 2.154 MB / 340.1 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.03033, allocations: 0.7445 MB / 340.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00502/0.03535, allocations: 4.604 MB / 345.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004035/0.03938, allocations: 3.9 MB / 349.3 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004447/0.04383, allocations: 2.795 MB / 352.1 MB, free: 4.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.04692, allocations: 2.544 MB / 354.7 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000858/0.04778, allocations: 416 kB / 355.1 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.04929, allocations: 1.096 MB / 356.2 MB, free: 456 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.05084, allocations: 2.388 MB / 358.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.05292, allocations: 1.55 MB / 360.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007662/0.06058, allocations: 8.278 MB / 368.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.06059, allocations: 0 / 368.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.06059, allocations: 4 kB / 368.4 MB, free: 4.188 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002678/0.06086, allocations: 0 / 368.4 MB, free: 4.188 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01466/0.07552, allocations: 6.447 MB / 374.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.07557, allocations: 12.92 kB / 374.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001364/0.07693, allocations: 0.8432 MB / 375.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/0.08104, allocations: 2.041 MB / 377.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005531/0.08657, allocations: 2.698 MB / 380.4 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.08677, allocations: 295.5 kB / 380.7 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/0.08831, allocations: 395.8 kB / 381.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/0.1061, allocations: 12.45 MB / 393.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000132/0.1063, allocations: 47.64 kB / 393.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004524/0.1067, allocations: 191.8 kB / 393.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.1091, allocations: 2.253 MB / 396 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.1257, allocations: 11.34 MB / 407.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.209/0.3347, allocations: 45.18 MB / 452.6 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009272/0.3439, allocations: 4.931 MB / 457.5 MB, free: 107.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/0.3467, allocations: 3.087 MB / 460.6 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.3471, allocations: 135.3 kB / 460.7 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.3471, allocations: 54.47 kB / 460.8 MB, free: 107.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 5.531e-06/0.3472, allocations: 0 / 460.8 MB, free: 107.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.03982/0.387, allocations: 27.81 MB / 488.6 MB, free: 87.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.387, allocations: 154.1 kB / 488.7 MB, free: 87.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/0.3915, allocations: 4.928 MB / 493.6 MB, free: 82.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005733/0.392, allocations: 67.97 kB / 493.7 MB, free: 82.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009854/0.393, allocations: 3.568 MB / 497.3 MB, free: 79.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007336/0.3938, allocations: 0.9134 MB / 498.2 MB, free: 78.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.3948, allocations: 1.474 MB / 499.7 MB, free: 76.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.155e-05/0.3949, allocations: 305.1 kB / 500 MB, free: 76.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.3973, allocations: 3.285 MB / 0.4915 GB, free: 73.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/0.4005, allocations: 7.242 MB / 0.4985 GB, free: 63.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007237/0.4078, allocations: 11.34 MB / 0.5096 GB, free: 50.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.771e-05/0.4078, allocations: 40 kB / 0.5096 GB, free: 50.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.01255/0.4204, allocations: 11.46 MB / 0.5208 GB, free: 39.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.4204, allocations: 71.03 kB / 0.5209 GB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.518e-05/0.4205, allocations: 140 kB / 0.521 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.422, allocations: 1.125 MB / 0.5221 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/0.4254, allocations: 1.751 MB / 0.5238 GB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/0.4298, allocations: 6.202 MB / 0.5299 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/0.4344, allocations: 447.6 kB / 0.5303 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.4354, allocations: 463.8 kB / 0.5308 GB, free: 28.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (833): * Single equations (assignments): 829 * 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.003672/0.4391, allocations: 2.361 MB / 0.5331 GB, free: 26.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008448/0.4399, allocations: 429.1 kB / 0.5335 GB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005602/0.4455, allocations: 6.156 MB / 0.5395 GB, free: 20 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.4455, allocations: 24 kB / 0.5395 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4456, allocations: 4 kB / 0.5395 GB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.4456, allocations: 7.969 kB / 0.5395 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.458, allocations: 12.29 MB / 0.5515 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.458, allocations: 4 kB / 0.5515 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.4594, allocations: 0.5697 MB / 0.5521 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/0.4606, allocations: 0.9567 MB / 0.553 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.4608, allocations: 99.73 kB / 0.5531 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.4648, allocations: 5.934 MB / 0.5589 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4648, allocations: 4 kB / 0.5589 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.4749, allocations: 10.41 MB / 0.5691 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/0.4769, allocations: 0.8756 MB / 0.5699 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/0.4775, allocations: 44 kB / 0.57 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4788, allocations: 199.7 kB / 0.5702 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.4791, allocations: 209.5 kB / 0.5704 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.4793, allocations: 115.9 kB / 0.5705 GB, free: 4.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003273/0.4825, allocations: 2.971 MB / 0.5734 GB, free: 1.074 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4825, allocations: 384 / 0.5734 GB, free: 1.074 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004546/0.4871, allocations: 1.289 MB / 0.5746 GB, free: 15.79 MB / 442.7 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.01026/0.4973, allocations: 11.08 MB / 0.5855 GB, free: 4.641 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009077/0.5064, allocations: 7.52 MB / 0.5928 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5064, allocations: 3.938 kB / 0.5928 GB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.5094, allocations: 2.817 MB / 0.5956 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.5121, allocations: 0.5226 MB / 0.5961 GB, free: 9.801 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2131/0.7252, allocations: 60.32 MB / 0.655 GB, free: 111.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.7278, allocations: 3.132 MB / 0.658 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003497/0.7313, allocations: 2.301 MB / 0.6603 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/0.7336, allocations: 2.402 MB / 0.6626 GB, free: 103.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.794e-06/0.7336, allocations: 4 kB / 0.6626 GB, free: 103.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/0.8344, allocations: 94.55 MB / 0.755 GB, free: 10.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.84, allocations: 0 / 0.755 GB, free: 10.07 MB / 458.7 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.13776340149343]