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.001377/0.001377, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001381/0.001381, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.353/1.353, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001571/0.001571, allocations: 47.86 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2381, allocations: 52.2 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01457/0.2527, allocations: 13.2 MB / 435.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008126/0.2608, allocations: 4.302 MB / 440.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.2621, allocations: 95.56 kB / 440.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006663/0.2688, allocations: 3.792 MB / 444 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.2737, allocations: 2.089 MB / 446.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.2752, allocations: 0.6902 MB / 446.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005361/0.2805, allocations: 4.232 MB / 451 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004225/0.2848, allocations: 3.655 MB / 454.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.2876, allocations: 1.869 MB / 456.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003773/0.2914, allocations: 2.663 MB / 459.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008237/0.2922, allocations: 412 kB / 459.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.2943, allocations: 1.182 MB / 460.8 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.2964, allocations: 2.294 MB / 463.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002986/0.2994, allocations: 2.637 MB / 465.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009199/0.3086, allocations: 8.261 MB / 474 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3086, allocations: 0 / 474 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3086, allocations: 0 / 474 MB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001906/0.3088, allocations: 0 / 474 MB, free: 10.97 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01843/0.3273, allocations: 6.299 MB / 480.3 MB, free: 4.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3273, allocations: 12.03 kB / 480.3 MB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/0.3284, allocations: 0.8471 MB / 481.2 MB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/0.3349, allocations: 1.99 MB / 483.2 MB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006358/0.3412, allocations: 2.967 MB / 486.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.3415, allocations: 295.5 kB / 486.4 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008891/0.3423, allocations: 387.8 kB / 486.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/0.3643, allocations: 12.37 MB / 499.2 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.3645, allocations: 55.53 kB / 499.2 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004928/0.365, allocations: 179.8 kB / 499.4 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004093/0.369, allocations: 2.253 MB / 0.4899 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.3915, allocations: 11.3 MB / 0.5009 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2426/0.6341, allocations: 46.71 MB / 0.5465 GB, free: 77.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/0.6491, allocations: 4.731 MB / 0.5512 GB, free: 77.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002935/0.652, allocations: 3.076 MB / 0.5542 GB, free: 76.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/0.6525, allocations: 136.7 kB / 0.5543 GB, free: 76.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.6525, allocations: 51.19 kB / 0.5543 GB, free: 76.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.118e-06/0.6525, allocations: 3.531 kB / 0.5543 GB, free: 76.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.05889/0.7114, allocations: 26.85 MB / 0.5806 GB, free: 57.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.7115, allocations: 153.8 kB / 0.5807 GB, free: 56.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/0.7159, allocations: 4.519 MB / 0.5851 GB, free: 52.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004914/0.7164, allocations: 61.7 kB / 0.5852 GB, free: 52.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.7177, allocations: 3.604 MB / 0.5887 GB, free: 49.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007464/0.7185, allocations: 0.9156 MB / 0.5896 GB, free: 48.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.7198, allocations: 1.455 MB / 0.591 GB, free: 46.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.7199, allocations: 307.5 kB / 0.5913 GB, free: 46.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003278/0.7232, allocations: 3.272 MB / 0.5945 GB, free: 43.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004376/0.7275, allocations: 7.238 MB / 0.6016 GB, free: 34.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009015/0.7366, allocations: 11.33 MB / 0.6126 GB, free: 20.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.049e-05/0.7366, allocations: 40 kB / 0.6127 GB, free: 20.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.01522/0.7518, allocations: 11.42 MB / 0.6238 GB, free: 9.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.7519, allocations: 68.22 kB / 0.6239 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.683e-05/0.752, allocations: 140 kB / 0.624 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/0.7543, allocations: 1.122 MB / 0.6251 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/0.7597, allocations: 1.723 MB / 0.6268 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006173/0.7659, allocations: 6.238 MB / 0.6329 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005201/0.7711, allocations: 407.6 kB / 0.6333 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/0.7723, allocations: 451.8 kB / 0.6337 GB, free: 15.29 MB / 462.1 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.004084/0.7764, allocations: 2.353 MB / 0.636 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008876/0.7772, allocations: 429.1 kB / 0.6364 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.7877, allocations: 6.098 MB / 0.6424 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-05/0.7877, allocations: 27.94 kB / 0.6424 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.7877, allocations: 4 kB / 0.6424 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/0.7878, allocations: 15.95 kB / 0.6424 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0219/0.8097, allocations: 12.75 MB / 0.6549 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.8097, allocations: 4 kB / 0.6549 GB, free: 9.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/0.8125, allocations: 0.5343 MB / 0.6554 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/0.8151, allocations: 0.9568 MB / 0.6563 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/0.8154, allocations: 87.89 kB / 0.6564 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008236/0.8236, allocations: 5.982 MB / 0.6623 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.8236, allocations: 7.938 kB / 0.6623 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.8394, allocations: 10.35 MB / 0.6724 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/0.8419, allocations: 0.8367 MB / 0.6732 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000621/0.8426, allocations: 43.91 kB / 0.6732 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.8445, allocations: 159.8 kB / 0.6734 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004792/0.845, allocations: 189.5 kB / 0.6736 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/0.8453, allocations: 103.9 kB / 0.6737 GB, free: 6.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004081/0.8493, allocations: 2.834 MB / 0.6764 GB, free: 3.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8493, allocations: 0 / 0.6764 GB, free: 3.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004914/0.8543, allocations: 1.215 MB / 0.6776 GB, free: 2.055 MB / 494.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.01549/0.8697, allocations: 11.02 MB / 0.6884 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01198/0.8817, allocations: 7.478 MB / 0.6957 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.8817, allocations: 192 / 0.6957 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004397/0.8861, allocations: 2.802 MB / 0.6984 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/0.8891, allocations: 0.5003 MB / 0.6989 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2665/1.156, allocations: 59.89 MB / 0.7574 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/1.158, allocations: 3.669 MB / 0.761 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004111/1.163, allocations: 2.286 MB / 0.7632 GB, free: 189.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002563/1.165, allocations: 2.349 MB / 0.7655 GB, free: 187.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.165, allocations: 0 / 0.7655 GB, free: 187.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/1.299, allocations: 98.01 MB / 0.8612 GB, free: 91.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.92/22.22, allocations: 15.2 kB / 0.8612 GB, free: 91.05 MB / 0.545 GB " [Timeout remaining time 638] (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/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_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: 25.37296382780187]