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) 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 4.0.0+maint.om/package.mo", uses=false) 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: 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_4.0.0_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_4.0.0_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.001436/0.001436, allocations: 111.2 kB / 17.68 MB, free: 5.332 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.001642/0.001642, allocations: 192 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009938/0.000994, allocations: 53.17 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1017, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01367/0.1154, allocations: 13.1 MB / 364.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008786/0.1242, allocations: 4.294 MB / 368.9 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.1265, allocations: 79.81 kB / 369 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2/0.3265, allocations: 3.711 MB / 372.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007297/0.3339, allocations: 2.028 MB / 374.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.336, allocations: 0.6867 MB / 375.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008077/0.344, allocations: 4.221 MB / 379.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006997/0.3511, allocations: 4.759 MB / 384.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.3552, allocations: 1.846 MB / 386.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004197/0.3594, allocations: 2.473 MB / 388.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.3605, allocations: 414.8 kB / 389.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.3632, allocations: 1.14 MB / 390.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.365, allocations: 2.238 MB / 392.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002318/0.3673, allocations: 2.631 MB / 395.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008254/0.3756, allocations: 8.218 MB / 403.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.3757, allocations: 0 / 403.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3757, allocations: 0 / 403.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004597/0.3762, allocations: 0 / 403.3 MB, free: 13.06 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02143/0.3976, allocations: 6.22 MB / 409.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3977, allocations: 8.031 kB / 409.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006324/0.404, allocations: 1.95 MB / 411.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00645/0.4105, allocations: 2.71 MB / 414.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.4107, allocations: 294.7 kB / 414.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000932/0.4117, allocations: 399.7 kB / 414.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.4331, allocations: 12.37 MB / 427.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.4333, allocations: 47.59 kB / 427.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004746/0.4338, allocations: 184.9 kB / 427.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003884/0.4377, allocations: 2.254 MB / 429.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0237/0.4614, allocations: 11.29 MB / 441 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06207/0.5235, allocations: 46.79 MB / 487.8 MB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01734/0.5409, allocations: 5.344 MB / 493.2 MB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004243/0.5452, allocations: 3.316 MB / 496.5 MB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/0.5459, allocations: 384.6 kB / 496.9 MB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.546, allocations: 57.8 kB / 496.9 MB, free: 13.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=200): time 4.178e-06/0.546, allocations: 0 / 496.9 MB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.07093/0.6169, allocations: 26.8 MB / 0.5114 GB, free: 2.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.617, allocations: 154.5 kB / 0.5116 GB, free: 2.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005888/0.6229, allocations: 4.513 MB / 0.516 GB, free: 14.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006152/0.6236, allocations: 57.7 kB / 0.516 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002201/0.6258, allocations: 3.468 MB / 0.5194 GB, free: 10.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.6271, allocations: 0.8775 MB / 0.5203 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/0.6289, allocations: 1.456 MB / 0.5217 GB, free: 8.336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.629, allocations: 301.1 kB / 0.522 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004433/0.6335, allocations: 3.285 MB / 0.5252 GB, free: 4.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1935/0.827, allocations: 7.24 MB / 0.5323 GB, free: 140 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/0.8404, allocations: 11.33 MB / 0.5433 GB, free: 132.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001857/0.8406, allocations: 44.78 kB / 0.5434 GB, free: 132.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01929/0.8599, allocations: 11.43 MB / 0.5545 GB, free: 129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.8601, allocations: 65.56 kB / 0.5546 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/0.8602, allocations: 142.4 kB / 0.5547 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.8627, allocations: 1.127 MB / 0.5558 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005781/0.8685, allocations: 1.73 MB / 0.5575 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.8752, allocations: 6.343 MB / 0.5637 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00731/0.8826, allocations: 398.6 kB / 0.5641 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/0.8838, allocations: 457 kB / 0.5645 GB, free: 125.2 MB / 446.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 (837): * Single equations (assignments): 833 * 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.003557/0.8874, allocations: 2.356 MB / 0.5668 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/0.8881, allocations: 396.1 kB / 0.5672 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007916/0.896, allocations: 6.113 MB / 0.5732 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/0.8961, allocations: 24 kB / 0.5732 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.8961, allocations: 8 kB / 0.5732 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.8961, allocations: 13.94 kB / 0.5732 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.9131, allocations: 12.88 MB / 0.5858 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/0.9132, allocations: 4 kB / 0.5858 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/0.9161, allocations: 0.5385 MB / 0.5863 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.9183, allocations: 0.9449 MB / 0.5873 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/0.9187, allocations: 92.7 kB / 0.5874 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/0.9245, allocations: 6.054 MB / 0.5933 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9245, allocations: 7.938 kB / 0.5933 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.9362, allocations: 10.33 MB / 0.6034 GB, free: 90.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/0.9386, allocations: 0.8822 MB / 0.6042 GB, free: 89.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007801/0.9394, allocations: 40 kB / 0.6043 GB, free: 89.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.9415, allocations: 163.7 kB / 0.6044 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/0.942, allocations: 177.7 kB / 0.6046 GB, free: 89.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/0.9423, allocations: 107.9 kB / 0.6047 GB, free: 88.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003681/0.946, allocations: 2.83 MB / 0.6075 GB, free: 86.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.946, allocations: 0 / 0.6075 GB, free: 86.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005773/0.9517, allocations: 1.209 MB / 0.6086 GB, free: 84.89 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 (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.0004721/0.9522, allocations: 185.6 kB / 0.6088 GB, free: 84.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009731/0.962, allocations: 7.756 MB / 0.6164 GB, free: 76.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.962, allocations: 0 / 0.6164 GB, free: 76.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00355/0.9656, allocations: 2.976 MB / 0.6193 GB, free: 74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.9686, allocations: 0.4994 MB / 0.6198 GB, free: 73.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.9849, allocations: 11.88 MB / 0.6314 GB, free: 61.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/0.9881, allocations: 3.667 MB / 0.635 GB, free: 57.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00486/0.9929, allocations: 2.289 MB / 0.6372 GB, free: 55.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.9943, allocations: 423.1 kB / 0.6376 GB, free: 55.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.9943, allocations: 0 / 0.6376 GB, free: 55.18 MB / 446.1 MB Notification: Performance of Templates: time 0.08007/1.074, allocations: 50.45 MB / 0.6869 GB, free: 5.055 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (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 & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) 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) Reference file matches