Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 105.5 kB / 17.73 MB, free: 5.238 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.001136/0.001136, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.557/1.557, 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.001298/0.001299, allocations: 55.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2626/0.3737, allocations: 11.75 MB / 386.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00989/0.3836, allocations: 3.911 MB / 390.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.3867, allocations: 70.78 kB / 390.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005471/0.3922, allocations: 2.713 MB / 393.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006642/0.3989, allocations: 1.921 MB / 395.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.4008, allocations: 0.5748 MB / 396.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007121/0.408, allocations: 3.754 MB / 399.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007104/0.4151, allocations: 3.694 MB / 403.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004373/0.4195, allocations: 1.526 MB / 405 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005372/0.4249, allocations: 2.135 MB / 407.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002216/0.4271, allocations: 339.9 kB / 407.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.4316, allocations: 1.056 MB / 408.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003714/0.4354, allocations: 1.935 MB / 410.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006122/0.4415, allocations: 2.24 MB / 412.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.4538, allocations: 7.184 MB / 419.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4538, allocations: 0 / 419.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4539, allocations: 4 kB / 419.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000306/0.4542, allocations: 4 kB / 419.9 MB, free: 2.621 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02138/0.4756, allocations: 5.31 MB / 425.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4756, allocations: 15.97 kB / 425.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00738/0.483, allocations: 1.882 MB / 427.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005931/0.489, allocations: 2.381 MB / 429.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.4893, allocations: 242 kB / 429.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.4907, allocations: 319.7 kB / 430.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.5144, allocations: 10.71 MB / 440.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.5147, allocations: 39.59 kB / 440.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.5159, allocations: 159.8 kB / 441 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.5196, allocations: 1.985 MB / 443 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/0.5403, allocations: 9.559 MB / 452.5 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05467/0.595, allocations: 39.77 MB / 492.3 MB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.6083, allocations: 3.833 MB / 496.1 MB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002974/0.6113, allocations: 1.854 MB / 498 MB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007895/0.6121, allocations: 368 kB / 498.3 MB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.6122, allocations: 47.56 kB / 498.4 MB, free: 1.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 6.422e-06/0.6122, allocations: 0 / 498.4 MB, free: 1.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04523/0.6574, allocations: 13.76 MB / 0.5001 GB, free: 4.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.6576, allocations: 153.4 kB / 0.5003 GB, free: 3.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008066/0.6657, allocations: 4.159 MB / 0.5044 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.6661, allocations: 49.69 kB / 0.5044 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.6687, allocations: 3.164 MB / 0.5075 GB, free: 12.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000909/0.6696, allocations: 0.6135 MB / 0.5081 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002316/0.672, allocations: 1.237 MB / 0.5093 GB, free: 10.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.6721, allocations: 301.1 kB / 0.5096 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/0.6754, allocations: 2.132 MB / 0.5117 GB, free: 8.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006123/0.6815, allocations: 5.96 MB / 0.5175 GB, free: 276 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.692, allocations: 8.772 MB / 0.5261 GB, free: 5.582 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/0.6922, allocations: 36 kB / 0.5261 GB, free: 5.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01685/0.7091, allocations: 8.584 MB / 0.5345 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.7093, allocations: 64 kB / 0.5345 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/0.7095, allocations: 136 kB / 0.5347 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.7119, allocations: 0.9114 MB / 0.5355 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004433/0.7163, allocations: 1.396 MB / 0.5369 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006773/0.7231, allocations: 5.208 MB / 0.542 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/0.7279, allocations: 331.6 kB / 0.5423 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/0.729, allocations: 387.9 kB / 0.5427 GB, free: 4.391 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (740): * Single equations (assignments): 736 * 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.005493/0.7345, allocations: 2.099 MB / 0.5447 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/0.7356, allocations: 347.5 kB / 0.5451 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.243/0.9787, allocations: 3.144 MB / 0.5481 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.707e-05/0.9788, allocations: 18.47 kB / 0.5482 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/0.9788, allocations: 5.469 kB / 0.5482 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-05/0.9789, allocations: 12.47 kB / 0.5482 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/0.9973, allocations: 7.804 MB / 0.5558 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.9974, allocations: 1.656 kB / 0.5558 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.9988, allocations: 259.5 kB / 0.556 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/1.001, allocations: 0.7159 MB / 0.5567 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/1.001, allocations: 35.95 kB / 0.5568 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/1.008, allocations: 4.752 MB / 0.5614 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.008, allocations: 1.375 kB / 0.5614 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008984/1.017, allocations: 5.683 MB / 0.567 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/1.019, allocations: 0.6229 MB / 0.5676 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/1.019, allocations: 27.22 kB / 0.5676 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.02, allocations: 82.48 kB / 0.5677 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/1.021, allocations: 107.8 kB / 0.5678 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.021, allocations: 57.91 kB / 0.5678 GB, free: 138.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003912/1.025, allocations: 2.604 MB / 0.5704 GB, free: 137.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.025, allocations: 0 / 0.5704 GB, free: 137.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005107/1.03, allocations: 0.9609 MB / 0.5713 GB, free: 137.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (123): * Single equations (assignments): 119 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004082/1.03, allocations: 156.7 kB / 0.5715 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006623/1.037, allocations: 5.106 MB / 0.5765 GB, free: 135.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.037, allocations: 0 / 0.5765 GB, free: 135.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.039, allocations: 1.537 MB / 0.578 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.041, allocations: 440.6 kB / 0.5784 GB, free: 134.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.054, allocations: 8.979 MB / 0.5871 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002589/1.057, allocations: 3.241 MB / 0.5903 GB, free: 127.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00357/1.061, allocations: 1.934 MB / 0.5922 GB, free: 125.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/1.061, allocations: 271.3 kB / 0.5925 GB, free: 125.5 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/1.061, allocations: 0 / 0.5925 GB, free: 125.5 MB / 478.1 MB Notification: Performance of Templates: time 0.05386/1.115, allocations: 33.83 MB / 0.6255 GB, free: 91.69 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches