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: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001511, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001572/0.001572, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.404/1.404, allocations: 205.1 MB / 225 MB, free: 12.3 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.001225/0.001225, allocations: 51.94 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.09511, allocations: 46.63 MB / 328 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01465/0.1098, allocations: 13.76 MB / 341.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009053/0.1189, allocations: 4.377 MB / 346.1 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.121, allocations: 83.75 kB / 346.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006891/0.1279, allocations: 3.746 MB / 349.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.1338, allocations: 2.104 MB / 352 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.136, allocations: 0.6941 MB / 352.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00705/0.1431, allocations: 4.408 MB / 357.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005611/0.1488, allocations: 4.836 MB / 362 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.1519, allocations: 1.908 MB / 363.9 MB, free: 372 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/0.1557, allocations: 2.597 MB / 366.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.1568, allocations: 432 kB / 366.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.1591, allocations: 1.155 MB / 368 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002215/0.1614, allocations: 2.318 MB / 370.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003093/0.1645, allocations: 2.75 MB / 373.1 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1615/0.3259, allocations: 8.33 MB / 381.4 MB, free: 24.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.326, allocations: 0 / 381.4 MB, free: 24.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.326, allocations: 0 / 381.4 MB, free: 24.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003142/0.3263, allocations: 0.6562 kB / 381.4 MB, free: 24.13 MB / 318.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.02196/0.3483, allocations: 6.423 MB / 387.9 MB, free: 21.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3483, allocations: 9.344 kB / 387.9 MB, free: 21.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00754/0.3559, allocations: 1.985 MB / 389.9 MB, free: 21.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/0.3621, allocations: 2.769 MB / 392.6 MB, free: 20.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.3624, allocations: 309.2 kB / 392.9 MB, free: 20.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.3641, allocations: 404.7 kB / 393.3 MB, free: 20.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0269/0.391, allocations: 12.87 MB / 406.2 MB, free: 17.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001925/0.3913, allocations: 54.78 kB / 406.2 MB, free: 17.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008492/0.3921, allocations: 189.7 kB / 406.4 MB, free: 16.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006072/0.3982, allocations: 2.367 MB / 408.8 MB, free: 16.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03218/0.4304, allocations: 11.74 MB / 420.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07866/0.5091, allocations: 48.63 MB / 469.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/0.528, allocations: 5.574 MB / 474.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004705/0.5328, allocations: 3.481 MB / 478.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007563/0.5336, allocations: 384.3 kB / 478.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.5336, allocations: 62.97 kB / 478.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 5.59e-06/0.5336, allocations: 0 / 478.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.08081/0.6145, allocations: 27.94 MB / 0.4947 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/0.6146, allocations: 154.5 kB / 0.4949 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006627/0.6212, allocations: 4.603 MB / 0.4994 GB, free: 10.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007432/0.622, allocations: 61.7 kB / 0.4994 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/0.6247, allocations: 3.586 MB / 0.5029 GB, free: 6.773 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00142/0.6261, allocations: 0.948 MB / 0.5039 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002217/0.6283, allocations: 1.505 MB / 0.5053 GB, free: 4.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6285, allocations: 301.1 kB / 0.5056 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005153/0.6336, allocations: 3.457 MB / 0.509 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008146/0.6418, allocations: 7.523 MB / 0.5163 GB, free: 7.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/0.6562, allocations: 11.82 MB / 0.5279 GB, free: 9.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/0.6564, allocations: 44 kB / 0.5279 GB, free: 9.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.1967/0.8531, allocations: 11.89 MB / 0.5395 GB, free: 155.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.8533, allocations: 66.62 kB / 0.5396 GB, free: 155.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/0.8535, allocations: 142.7 kB / 0.5397 GB, free: 155.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/0.857, allocations: 1.131 MB / 0.5408 GB, free: 155.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007147/0.8641, allocations: 1.806 MB / 0.5426 GB, free: 155.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00813/0.8723, allocations: 6.344 MB / 0.5488 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006662/0.879, allocations: 427.8 kB / 0.5492 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/0.8807, allocations: 469.5 kB / 0.5496 GB, free: 153.2 MB / 446.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 (875): * Single equations (assignments): 871 * 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.00475/0.8855, allocations: 2.451 MB / 0.552 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/0.8866, allocations: 416.7 kB / 0.5524 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009838/0.8964, allocations: 6.473 MB / 0.5588 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/0.8965, allocations: 33.7 kB / 0.5588 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.8965, allocations: 6.781 kB / 0.5588 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-05/0.8966, allocations: 14.36 kB / 0.5588 GB, free: 150.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/0.9171, allocations: 13.61 MB / 0.5721 GB, free: 143.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/0.9172, allocations: 4 kB / 0.5721 GB, free: 143.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/0.9202, allocations: 0.5814 MB / 0.5727 GB, free: 142.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/0.9227, allocations: 0.9461 MB / 0.5736 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/0.9232, allocations: 95.83 kB / 0.5737 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006295/0.9295, allocations: 6.054 MB / 0.5796 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9295, allocations: 3.562 kB / 0.5796 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.9432, allocations: 10.92 MB / 0.5903 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/0.9455, allocations: 0.9436 MB / 0.5912 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009204/0.9465, allocations: 40 kB / 0.5912 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/0.949, allocations: 174.4 kB / 0.5914 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004827/0.9495, allocations: 196.1 kB / 0.5916 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/0.9497, allocations: 107.9 kB / 0.5917 GB, free: 123.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003563/0.9533, allocations: 2.895 MB / 0.5945 GB, free: 120.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9533, allocations: 0 / 0.5945 GB, free: 120.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005974/0.9593, allocations: 1.269 MB / 0.5958 GB, free: 119.4 MB / 446.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.0006038/0.9599, allocations: 190.1 kB / 0.5959 GB, free: 119.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01477/0.9747, allocations: 10.64 MB / 0.6063 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.9747, allocations: 4 kB / 0.6063 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003869/0.9786, allocations: 3.169 MB / 0.6094 GB, free: 105.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/0.982, allocations: 0.5084 MB / 0.6099 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1, allocations: 13.14 MB / 0.6228 GB, free: 91.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/1.004, allocations: 3.796 MB / 0.6265 GB, free: 88.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/1.006, allocations: 487 kB / 0.6269 GB, free: 87.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/1.006, allocations: 0 / 0.6269 GB, free: 87.6 MB / 446.1 MB Notification: Performance of Templates: time 0.2735/1.279, allocations: 98.35 MB / 0.723 GB, free: 145 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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