Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001235/0.001235, allocations: 179.3 kB / 16.41 MB, free: 5.727 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.302/1.302, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007417/0.0007417, allocations: 85.31 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04014/0.2609, allocations: 60.06 MB / 434.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02863/0.2896, allocations: 12.42 MB / 447 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01125/0.3008, allocations: 283.3 kB / 447.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009738/0.3106, allocations: 3.118 MB / 450.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02393/0.3346, allocations: 9.112 MB / 459.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.3386, allocations: 0.6124 MB / 460.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007888/0.3465, allocations: 5.207 MB / 465.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009421/0.356, allocations: 5.812 MB / 471.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.3592, allocations: 1.471 MB / 472.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.3631, allocations: 2.305 MB / 475 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.3643, allocations: 172 kB / 475.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.3671, allocations: 0.8114 MB / 475.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002854/0.37, allocations: 1.987 MB / 477.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.3719, allocations: 1.006 MB / 478.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007788/0.3797, allocations: 6.632 MB / 485.6 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3798, allocations: 0 / 485.6 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3798, allocations: 0 / 485.6 MB, free: 1.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003568/0.3802, allocations: 0 / 485.6 MB, free: 1.453 MB / 362.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.01918/0.3994, allocations: 5.344 MB / 490.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3994, allocations: 12.03 kB / 490.9 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007296/0.4067, allocations: 2.048 MB / 493 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.4127, allocations: 2.703 MB / 495.7 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.413, allocations: 303.8 kB / 496 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.4145, allocations: 407.7 kB / 496.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1915/0.6061, allocations: 12.86 MB / 0.4973 GB, free: 106 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/0.6063, allocations: 45.84 kB / 0.4973 GB, free: 106 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005933/0.6069, allocations: 188.8 kB / 0.4975 GB, free: 105.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004285/0.6112, allocations: 2.374 MB / 0.4998 GB, free: 105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.6329, allocations: 11.72 MB / 0.5113 GB, free: 98.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05145/0.6844, allocations: 48.61 MB / 0.5587 GB, free: 49.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/0.7007, allocations: 5.571 MB / 0.5642 GB, free: 43.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.7043, allocations: 3.478 MB / 0.5676 GB, free: 39.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/0.7049, allocations: 386.9 kB / 0.5679 GB, free: 39.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.7049, allocations: 63.81 kB / 0.568 GB, free: 39.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=221): time 6.262e-06/0.7049, allocations: 0 / 0.568 GB, free: 39.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.06793/0.7729, allocations: 27.96 MB / 0.5953 GB, free: 11.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.773, allocations: 154.5 kB / 0.5955 GB, free: 11.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/0.7782, allocations: 4.579 MB / 0.5999 GB, free: 6.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005924/0.7789, allocations: 61.7 kB / 0.6 GB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.7805, allocations: 3.579 MB / 0.6035 GB, free: 2.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.7815, allocations: 0.9518 MB / 0.6044 GB, free: 1.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.7818, allocations: 144 kB / 0.6045 GB, free: 1.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.7821, allocations: 0.6035 MB / 0.6051 GB, free: 1.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004648/0.7867, allocations: 3.434 MB / 0.6085 GB, free: 13.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007746/0.7945, allocations: 7.501 MB / 0.6158 GB, free: 4.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007313/0.8018, allocations: 4.951 MB / 0.6207 GB, free: 15.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-05/0.8019, allocations: 44 kB / 0.6207 GB, free: 15.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02121/0.8232, allocations: 11.85 MB / 0.6323 GB, free: 3.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.441e-05/0.8233, allocations: 68 kB / 0.6323 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.8235, allocations: 144 kB / 0.6325 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.8262, allocations: 1.151 MB / 0.6336 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/0.8328, allocations: 1.801 MB / 0.6353 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008037/0.8409, allocations: 6.014 MB / 0.6412 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005938/0.8469, allocations: 427.5 kB / 0.6416 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/0.8484, allocations: 476.1 kB / 0.6421 GB, free: 9.215 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005098/0.8535, allocations: 2.444 MB / 0.6445 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/0.8546, allocations: 414.7 kB / 0.6449 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1871/1.042, allocations: 6.479 MB / 0.6512 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/1.042, allocations: 28.27 kB / 0.6512 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.042, allocations: 9.25 kB / 0.6512 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/1.042, allocations: 17.41 kB / 0.6512 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/1.066, allocations: 13.61 MB / 0.6645 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/1.066, allocations: 2.969 kB / 0.6645 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/1.069, allocations: 0.5812 MB / 0.6651 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/1.071, allocations: 0.9538 MB / 0.666 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.071, allocations: 93.56 kB / 0.6661 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006216/1.078, allocations: 5.726 MB / 0.6717 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.078, allocations: 7.875 kB / 0.6717 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.091, allocations: 10.92 MB / 0.6824 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/1.093, allocations: 0.9411 MB / 0.6833 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/1.094, allocations: 41.69 kB / 0.6833 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.096, allocations: 175.9 kB / 0.6835 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000418/1.096, allocations: 197.6 kB / 0.6837 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002335/1.096, allocations: 113.8 kB / 0.6838 GB, free: 124.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003968/1.1, allocations: 2.864 MB / 0.6866 GB, free: 122.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.1, allocations: 3.344 kB / 0.6866 GB, free: 122.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005515/1.106, allocations: 1.268 MB / 0.6878 GB, free: 120.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004858/1.106, allocations: 187 kB / 0.688 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009792/1.116, allocations: 8.114 MB / 0.696 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.116, allocations: 0 / 0.696 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003617/1.12, allocations: 3.165 MB / 0.699 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/1.124, allocations: 0.4932 MB / 0.6995 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.147, allocations: 15.15 MB / 0.7143 GB, free: 93.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004603/1.151, allocations: 3.799 MB / 0.718 GB, free: 90.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/1.154, allocations: 483.1 kB / 0.7185 GB, free: 89.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/1.154, allocations: 0 / 0.7185 GB, free: 89.59 MB / 426.7 MB Notification: Performance of Templates: time 0.2736/1.427, allocations: 97.61 MB / 0.8138 GB, free: 140.9 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches