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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.152/1.152, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 103.6 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007147/0.0007147, allocations: 47.92 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1871, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04325/0.2304, allocations: 66.22 MB / 440 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.2544, allocations: 13.04 MB / 453.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009782/0.2643, allocations: 283.3 kB / 453.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006458/0.2708, allocations: 3.733 MB / 457.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.2753, allocations: 1.988 MB / 459.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.2768, allocations: 0.6242 MB / 459.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006267/0.283, allocations: 6.532 MB / 466.2 MB, free: 4.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005375/0.2884, allocations: 4.785 MB / 471 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.291, allocations: 1.713 MB / 472.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00356/0.2946, allocations: 2.757 MB / 475.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.2957, allocations: 320 kB / 475.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.2979, allocations: 1.092 MB / 476.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.2996, allocations: 2.24 MB / 479.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.3018, allocations: 2.648 MB / 481.8 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00696/0.3088, allocations: 8.231 MB / 490 MB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3088, allocations: 0 / 490 MB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3088, allocations: 0 / 490 MB, free: 12.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001796/0.309, allocations: 0 / 490 MB, free: 12.9 MB / 378.7 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.01847/0.3275, allocations: 6.424 MB / 496.4 MB, free: 6.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3275, allocations: 12.03 kB / 496.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006582/0.3341, allocations: 1.983 MB / 498.4 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005596/0.3397, allocations: 2.764 MB / 0.4894 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.34, allocations: 303.8 kB / 0.4897 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.3411, allocations: 403.8 kB / 0.4901 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1502/0.4913, allocations: 12.89 MB / 0.5027 GB, free: 105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.4914, allocations: 42.06 kB / 0.5027 GB, free: 105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004014/0.4918, allocations: 183.5 kB / 0.5029 GB, free: 104.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003464/0.4953, allocations: 2.375 MB / 0.5052 GB, free: 104 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.5116, allocations: 11.74 MB / 0.5167 GB, free: 93.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03979/0.5514, allocations: 48.63 MB / 0.5642 GB, free: 43.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01441/0.5658, allocations: 5.577 MB / 0.5696 GB, free: 38.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/0.5692, allocations: 3.479 MB / 0.573 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005206/0.5697, allocations: 388.3 kB / 0.5734 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.5698, allocations: 55.81 kB / 0.5735 GB, free: 34.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=221): time 4.919e-06/0.5698, allocations: 4 kB / 0.5735 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.06008/0.6299, allocations: 27.94 MB / 0.6008 GB, free: 6.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.6299, allocations: 154.5 kB / 0.6009 GB, free: 5.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/0.6344, allocations: 4.611 MB / 0.6054 GB, free: 1.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004418/0.6349, allocations: 65.69 kB / 0.6055 GB, free: 1.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.6367, allocations: 3.571 MB / 0.609 GB, free: 13.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.6377, allocations: 0.9563 MB / 0.6099 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/0.6396, allocations: 1.506 MB / 0.6114 GB, free: 11.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.6397, allocations: 305.1 kB / 0.6116 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004287/0.644, allocations: 3.453 MB / 0.615 GB, free: 7.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00679/0.6508, allocations: 7.528 MB / 0.6224 GB, free: 13.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/0.6635, allocations: 11.81 MB / 0.6339 GB, free: 12 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.588e-05/0.6636, allocations: 44.05 kB / 0.6339 GB, free: 15.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0182/0.6818, allocations: 11.89 MB / 0.6456 GB, free: 4.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/0.6819, allocations: 68 kB / 0.6456 GB, free: 4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001616/0.6821, allocations: 144 kB / 0.6458 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/0.6848, allocations: 1.126 MB / 0.6469 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006056/0.6909, allocations: 1.801 MB / 0.6486 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1519/0.8428, allocations: 6.018 MB / 0.6545 GB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005081/0.8479, allocations: 422.3 kB / 0.6549 GB, free: 134.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008897/0.8488, allocations: 465.5 kB / 0.6553 GB, free: 134.4 MB / 426.7 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.003398/0.8522, allocations: 2.444 MB / 0.6577 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006881/0.8529, allocations: 414.5 kB / 0.6581 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009661/0.8626, allocations: 6.49 MB / 0.6645 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/0.8627, allocations: 27.47 kB / 0.6645 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8627, allocations: 3.5 kB / 0.6645 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.8627, allocations: 12.23 kB / 0.6645 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/0.8814, allocations: 13.62 MB / 0.6778 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.8814, allocations: 5.75 kB / 0.6778 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/0.884, allocations: 0.5744 MB / 0.6784 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002147/0.8861, allocations: 0.95 MB / 0.6793 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/0.8864, allocations: 90.33 kB / 0.6794 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005646/0.892, allocations: 5.726 MB / 0.685 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.8921, allocations: 4 kB / 0.685 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05928/0.9514, allocations: 47.32 MB / 0.7312 GB, free: 74.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/0.9532, allocations: 0.9352 MB / 0.7321 GB, free: 73.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/0.9537, allocations: 40 kB / 0.7321 GB, free: 73.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/0.9557, allocations: 178 kB / 0.7323 GB, free: 73.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004554/0.9562, allocations: 192.1 kB / 0.7325 GB, free: 73.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/0.9564, allocations: 111.9 kB / 0.7326 GB, free: 72.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002925/0.9593, allocations: 2.895 MB / 0.7354 GB, free: 70.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9593, allocations: 0 / 0.7354 GB, free: 70.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005039/0.9644, allocations: 1.624 MB / 0.737 GB, free: 68.47 MB / 426.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 (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.0003997/0.9648, allocations: 191.2 kB / 0.7372 GB, free: 68.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008577/0.9734, allocations: 8.125 MB / 0.7451 GB, free: 60.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9734, allocations: 3.938 kB / 0.7451 GB, free: 60.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003212/0.9766, allocations: 3.153 MB / 0.7482 GB, free: 57.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.9791, allocations: 0.4926 MB / 0.7487 GB, free: 56.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.9961, allocations: 16.79 MB / 0.7651 GB, free: 39.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003309/0.9995, allocations: 3.882 MB / 0.7689 GB, free: 35.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005621/1.005, allocations: 2.419 MB / 0.7712 GB, free: 33.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/1.007, allocations: 443 kB / 0.7717 GB, free: 32.89 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/1.007, allocations: 0 / 0.7717 GB, free: 32.89 MB / 426.7 MB Notification: Performance of Templates: time 0.2254/1.232, allocations: 66.12 MB / 0.8362 GB, free: 133.9 MB / 442.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches