Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002193/0.002193, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.889/2.889, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5035, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.03184/0.5354, allocations: 10.99 MB / 420.9 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.5517, allocations: 3.816 MB / 424.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007082/0.5589, allocations: 63.81 kB / 424.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.5713, allocations: 2.683 MB / 427.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007679/0.5791, allocations: 1.751 MB / 429.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006073/0.5852, allocations: 0.5809 MB / 429.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.5972, allocations: 3.579 MB / 433.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007837/0.6051, allocations: 3.596 MB / 437 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004809/0.61, allocations: 1.444 MB / 438.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02157/0.6316, allocations: 1.986 MB / 440.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001881/0.6335, allocations: 320 kB / 440.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004402/0.638, allocations: 1.034 MB / 441.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003937/0.642, allocations: 1.8 MB / 443.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0218/0.6638, allocations: 2.074 MB / 445.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02982/0.6937, allocations: 6.654 MB / 452.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.6938, allocations: 0 / 452.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6938, allocations: 0 / 452.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002836/0.6941, allocations: 0 / 452.3 MB, free: 7.027 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.07608/0.7702, allocations: 5.047 MB / 457.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.7703, allocations: 8.031 kB / 457.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.7819, allocations: 1.859 MB / 459.2 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009302/0.7912, allocations: 2.233 MB / 461.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.7917, allocations: 229.7 kB / 461.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.7937, allocations: 295.8 kB / 461.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05867/0.8524, allocations: 10.02 MB / 472 MB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003182/0.8528, allocations: 51.58 kB / 472 MB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/0.8541, allocations: 135.9 kB / 472.1 MB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005605/0.8597, allocations: 1.809 MB / 474 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05185/0.9116, allocations: 8.963 MB / 482.9 MB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09134/1.003, allocations: 37.74 MB / 0.5085 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/1.027, allocations: 3.584 MB / 0.512 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004347/1.031, allocations: 1.679 MB / 0.5136 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.032, allocations: 351.8 kB / 0.5139 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/1.032, allocations: 51 kB / 0.514 GB, free: 10.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 7.204e-06/1.032, allocations: 0 / 0.514 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.08971/1.122, allocations: 12.68 MB / 0.5264 GB, free: 14.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.122, allocations: 145.2 kB / 0.5265 GB, free: 13.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.135, allocations: 4.044 MB / 0.5305 GB, free: 9.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000469/1.135, allocations: 45.7 kB / 0.5305 GB, free: 9.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003819/1.139, allocations: 2.997 MB / 0.5334 GB, free: 6.715 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.141, allocations: 0.552 MB / 0.534 GB, free: 6.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004655/1.145, allocations: 1.17 MB / 0.5351 GB, free: 4.973 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/1.145, allocations: 305.1 kB / 0.5354 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004859/1.15, allocations: 1.963 MB / 0.5373 GB, free: 2.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5353/1.686, allocations: 5.65 MB / 0.5428 GB, free: 118.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03121/1.717, allocations: 8.255 MB / 0.5509 GB, free: 111.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003952/1.717, allocations: 39.34 kB / 0.5509 GB, free: 111.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.05015/1.767, allocations: 8.08 MB / 0.5588 GB, free: 109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004784/1.768, allocations: 63.62 kB / 0.5589 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005972/1.769, allocations: 136.7 kB / 0.559 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01414/1.783, allocations: 0.9067 MB / 0.5599 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/1.796, allocations: 1.318 MB / 0.5612 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/1.817, allocations: 5.19 MB / 0.5663 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01858/1.836, allocations: 304 kB / 0.5665 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006879/1.843, allocations: 363.4 kB / 0.5669 GB, free: 104.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (699): * Single equations (assignments): 695 * 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.01127/1.854, allocations: 1.99 MB / 0.5688 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.855, allocations: 328.6 kB / 0.5691 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0197/1.875, allocations: 2.765 MB / 0.5718 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.638e-05/1.875, allocations: 17.78 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/1.875, allocations: 5.75 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-05/1.875, allocations: 7.969 kB / 0.5719 GB, free: 100 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04904/1.924, allocations: 7.056 MB / 0.5788 GB, free: 92.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/1.924, allocations: 4 kB / 0.5788 GB, free: 92.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/1.926, allocations: 215.6 kB / 0.579 GB, free: 92.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009854/1.936, allocations: 0.7152 MB / 0.5797 GB, free: 92.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004725/1.937, allocations: 35.97 kB / 0.5797 GB, free: 92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/1.957, allocations: 4.747 MB / 0.5843 GB, free: 87.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.957, allocations: 4.031 kB / 0.5843 GB, free: 87.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02895/1.986, allocations: 5.089 MB / 0.5893 GB, free: 82.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.987, allocations: 389 kB / 0.5897 GB, free: 81.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.989, allocations: 28 kB / 0.5897 GB, free: 81.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008384/1.997, allocations: 67.91 kB / 0.5898 GB, free: 81.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006629/1.998, allocations: 92.47 kB / 0.5899 GB, free: 81.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003354/1.998, allocations: 47.91 kB / 0.5899 GB, free: 81.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01739/2.016, allocations: 2.537 MB / 0.5924 GB, free: 78.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.353e-06/2.016, allocations: 0 / 0.5924 GB, free: 78.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0143/2.03, allocations: 0.8853 MB / 0.5933 GB, free: 78.09 MB / 462.1 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 (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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008697/2.033, allocations: 157.2 kB / 0.5934 GB, free: 77.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01219/2.045, allocations: 4.67 MB / 0.598 GB, free: 73.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.045, allocations: 0 / 0.598 GB, free: 73.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03017/2.076, allocations: 1.35 MB / 0.5993 GB, free: 71.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005567/2.081, allocations: 430.9 kB / 0.5997 GB, free: 71.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08618/2.168, allocations: 8.745 MB / 0.6082 GB, free: 62.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/2.18, allocations: 3.056 MB / 0.6112 GB, free: 59.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/2.182, allocations: 299.3 kB / 0.6115 GB, free: 59.36 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/2.182, allocations: 0 / 0.6115 GB, free: 59.36 MB / 462.1 MB Notification: Performance of Templates: time 0.2984/2.486, allocations: 72.01 MB / 0.6818 GB, free: 3.395 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches