Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008346/0.0008346, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 223.3 MB / 241 MB, free: 11.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007505/0.0007507, allocations: 101.2 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002292, allocations: 8 kB / 351.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2036, allocations: 50.4 MB / 402.2 MB, free: 32.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.02975/0.2334, allocations: 44.95 MB / 447.2 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01938/0.2528, allocations: 9.727 MB / 456.9 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007108/0.2599, allocations: 207.5 kB / 457.1 MB, free: 9.562 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006446/0.2664, allocations: 2.321 MB / 459.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01643/0.2829, allocations: 6.909 MB / 466.3 MB, free: 304 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.2854, allocations: 0.4993 MB / 466.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005288/0.2907, allocations: 4.18 MB / 471 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006174/0.2969, allocations: 4.249 MB / 475.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.2993, allocations: 1.164 MB / 476.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.3021, allocations: 1.83 MB / 478.2 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000711/0.3028, allocations: 128 kB / 478.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.3051, allocations: 0.7918 MB / 479.2 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002226/0.3073, allocations: 1.589 MB / 480.7 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.3089, allocations: 0.7882 MB / 481.5 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005836/0.3147, allocations: 5.226 MB / 486.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3147, allocations: 0 / 486.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3147, allocations: 4 kB / 486.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001107/0.3149, allocations: 0 / 486.8 MB, free: 11.75 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01436/0.3292, allocations: 4.267 MB / 491 MB, free: 7.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3293, allocations: 12.03 kB / 491 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006333/0.3356, allocations: 1.901 MB / 492.9 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/0.3398, allocations: 2.182 MB / 495.1 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.34, allocations: 229.8 kB / 495.3 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/0.3405, allocations: 299.8 kB / 495.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.3575, allocations: 10.21 MB / 0.494 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.3577, allocations: 43.59 kB / 0.494 GB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007504/0.3585, allocations: 143.9 kB / 0.4942 GB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003078/0.3616, allocations: 1.86 MB / 0.496 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1723/0.5339, allocations: 9.102 MB / 0.5049 GB, free: 94.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/0.5665, allocations: 38.26 MB / 0.5422 GB, free: 62.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.5774, allocations: 3.584 MB / 0.5457 GB, free: 58.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.579, allocations: 1.686 MB / 0.5474 GB, free: 56.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.5795, allocations: 362.2 kB / 0.5477 GB, free: 56.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.5795, allocations: 51.11 kB / 0.5478 GB, free: 56.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 4.559e-06/0.5795, allocations: 0 / 0.5478 GB, free: 56.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.03493/0.6145, allocations: 12.72 MB / 0.5602 GB, free: 43.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.6146, allocations: 137.2 kB / 0.5603 GB, free: 43.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004571/0.6191, allocations: 4.049 MB / 0.5643 GB, free: 39.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.6193, allocations: 45.7 kB / 0.5643 GB, free: 39.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.6206, allocations: 3.047 MB / 0.5673 GB, free: 36.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/0.621, allocations: 0.5509 MB / 0.5678 GB, free: 35.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.6212, allocations: 112 kB / 0.568 GB, free: 35.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.6215, allocations: 0.5418 MB / 0.5685 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.6238, allocations: 1.947 MB / 0.5704 GB, free: 33.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003286/0.6271, allocations: 5.665 MB / 0.5759 GB, free: 25.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.6302, allocations: 3.244 MB / 0.5791 GB, free: 22.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.65e-05/0.6303, allocations: 40 kB / 0.5791 GB, free: 22.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.009482/0.6398, allocations: 8.072 MB / 0.587 GB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.6399, allocations: 67.94 kB / 0.5871 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.435e-05/0.6399, allocations: 132 kB / 0.5872 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.6419, allocations: 0.9251 MB / 0.5881 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.645, allocations: 1.326 MB / 0.5894 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.6497, allocations: 4.865 MB / 0.5941 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.6527, allocations: 312.7 kB / 0.5944 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/0.6531, allocations: 364 kB / 0.5948 GB, free: 6.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (702): * Single equations (assignments): 698 * 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.002102/0.6552, allocations: 2.015 MB / 0.5968 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.6556, allocations: 335.6 kB / 0.5971 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004051/0.6596, allocations: 2.767 MB / 0.5998 GB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.6597, allocations: 20.45 kB / 0.5998 GB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.6597, allocations: 8 kB / 0.5998 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6597, allocations: 7.938 kB / 0.5998 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.6708, allocations: 7.131 MB / 0.6068 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.6708, allocations: 0 / 0.6068 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/0.6718, allocations: 223.7 kB / 0.607 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/0.6738, allocations: 0.7185 MB / 0.6077 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.6739, allocations: 31.98 kB / 0.6077 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/0.6794, allocations: 4.408 MB / 0.612 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6794, allocations: 7.969 kB / 0.612 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00738/0.6868, allocations: 5.095 MB / 0.617 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00093/0.6877, allocations: 400.6 kB / 0.6174 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/0.6883, allocations: 16 kB / 0.6174 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.6897, allocations: 83.73 kB / 0.6175 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/0.6899, allocations: 80.53 kB / 0.6176 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.69, allocations: 47.97 kB / 0.6176 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00411/0.6941, allocations: 2.522 MB / 0.6201 GB, free: 12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6942, allocations: 3.938 kB / 0.6201 GB, free: 12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004131/0.6983, allocations: 0.9153 MB / 0.621 GB, free: 11.09 MB / 410.7 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 (101): * Single equations (assignments): 97 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003968/0.6987, allocations: 149.6 kB / 0.6211 GB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006924/0.7056, allocations: 4.664 MB / 0.6257 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.7057, allocations: 0 / 0.6257 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.7075, allocations: 1.357 MB / 0.627 GB, free: 4.922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/0.7103, allocations: 406.1 kB / 0.6274 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.7262, allocations: 10.44 MB / 0.6376 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/0.7295, allocations: 3.089 MB / 0.6406 GB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000858/0.7304, allocations: 303.3 kB / 0.6409 GB, free: 6.609 MB / 426.7 MB Notification: Performance of SimCode: time 2.164e-06/0.7304, allocations: 0 / 0.6409 GB, free: 6.609 MB / 426.7 MB Notification: Performance of Templates: time 0.3083/1.039, allocations: 71.16 MB / 0.7104 GB, free: 107.6 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches