Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001625, allocations: 175 kB / 16.72 MB, free: 4.961 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.556/1.556, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007769/0.0007769, allocations: 89.34 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 8 kB / 327.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.02972/0.2458, allocations: 45.52 MB / 420.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.2681, allocations: 9.807 MB / 430.4 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01017/0.2783, allocations: 211.5 kB / 430.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008439/0.2868, allocations: 2.337 MB / 433 MB, free: 6.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02276/0.3096, allocations: 6.996 MB / 439.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.3136, allocations: 0.5383 MB / 440.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00743/0.3211, allocations: 4.41 MB / 444.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008864/0.33, allocations: 4.842 MB / 449.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.3331, allocations: 1.222 MB / 451 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.3371, allocations: 1.951 MB / 452.9 MB, free: 2.609 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.3383, allocations: 144 kB / 453.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.3411, allocations: 0.9126 MB / 454 MB, free: 1.555 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002797/0.3439, allocations: 1.663 MB / 455.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.3476, allocations: 1.893 MB / 457.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006709/0.3543, allocations: 5.518 MB / 463 MB, free: 8.445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3544, allocations: 0 / 463 MB, free: 8.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3544, allocations: 7.938 kB / 463 MB, free: 8.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002921/0.3547, allocations: 0 / 463 MB, free: 8.438 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01657/0.3713, allocations: 4.366 MB / 467.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/0.3714, allocations: 12.02 kB / 467.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00778/0.3791, allocations: 1.937 MB / 469.4 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00566/0.3849, allocations: 2.346 MB / 471.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.3852, allocations: 234 kB / 471.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.3869, allocations: 319.7 kB / 472.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/0.4104, allocations: 10.71 MB / 483 MB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/0.4107, allocations: 43.59 kB / 483 MB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/0.4118, allocations: 151.9 kB / 483.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003649/0.4155, allocations: 1.985 MB / 485.1 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/0.437, allocations: 9.547 MB / 494.7 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2287/0.6657, allocations: 39.89 MB / 0.522 GB, free: 79.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.6769, allocations: 3.836 MB / 0.5258 GB, free: 77.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.6792, allocations: 1.848 MB / 0.5276 GB, free: 76.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004869/0.6797, allocations: 364.2 kB / 0.5279 GB, free: 76.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.6797, allocations: 47.44 kB / 0.528 GB, free: 76.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 4.048e-06/0.6797, allocations: 2 kB / 0.528 GB, free: 76.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.03818/0.7179, allocations: 13.75 MB / 0.5414 GB, free: 65.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.718, allocations: 151.1 kB / 0.5416 GB, free: 64.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005106/0.7231, allocations: 4.136 MB / 0.5456 GB, free: 60.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003927/0.7236, allocations: 50.56 kB / 0.5457 GB, free: 60.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.7252, allocations: 3.172 MB / 0.5488 GB, free: 57.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006661/0.7258, allocations: 0.6165 MB / 0.5494 GB, free: 56.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.7261, allocations: 116 kB / 0.5495 GB, free: 56.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.7263, allocations: 0.5542 MB / 0.55 GB, free: 56.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/0.729, allocations: 2.116 MB / 0.5521 GB, free: 54.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004037/0.7331, allocations: 5.948 MB / 0.5579 GB, free: 46.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008128/0.7412, allocations: 8.761 MB / 0.5664 GB, free: 35.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.374e-05/0.7413, allocations: 43.84 kB / 0.5665 GB, free: 35.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01279/0.7541, allocations: 8.534 MB / 0.5748 GB, free: 27.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.7543, allocations: 69.78 kB / 0.5749 GB, free: 26.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.7544, allocations: 136 kB / 0.575 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.7566, allocations: 0.9132 MB / 0.5759 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/0.7607, allocations: 1.405 MB / 0.5773 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005263/0.766, allocations: 4.855 MB / 0.582 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/0.7703, allocations: 339.3 kB / 0.5823 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/0.7713, allocations: 384 kB / 0.5827 GB, free: 18.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (740): * Single equations (assignments): 736 * 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.003369/0.7747, allocations: 2.108 MB / 0.5848 GB, free: 16.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/0.7753, allocations: 347.5 kB / 0.5851 GB, free: 16.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005235/0.7806, allocations: 3.14 MB / 0.5882 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/0.7806, allocations: 20 kB / 0.5882 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.7807, allocations: 7.984 kB / 0.5882 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.7807, allocations: 3.984 kB / 0.5882 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.7934, allocations: 7.848 MB / 0.5959 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.7935, allocations: 4 kB / 0.5959 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.7947, allocations: 259.6 kB / 0.5961 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.7966, allocations: 0.7148 MB / 0.5968 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/0.7969, allocations: 38.62 kB / 0.5968 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/0.8018, allocations: 4.411 MB / 0.6011 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.8018, allocations: 12 kB / 0.6012 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0096/0.8114, allocations: 5.681 MB / 0.6067 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/0.8134, allocations: 0.6369 MB / 0.6073 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006859/0.8141, allocations: 24 kB / 0.6074 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.8156, allocations: 89.14 kB / 0.6074 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/0.8159, allocations: 108.7 kB / 0.6075 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.8161, allocations: 51.97 kB / 0.6076 GB, free: 9.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004606/0.8207, allocations: 2.583 MB / 0.6101 GB, free: 6.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8207, allocations: 0 / 0.6101 GB, free: 6.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005247/0.826, allocations: 0.9606 MB / 0.611 GB, free: 5.531 MB / 394.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 (123): * Single equations (assignments): 119 * 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.0004368/0.8264, allocations: 167.3 kB / 0.6112 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008361/0.8348, allocations: 5.057 MB / 0.6161 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8349, allocations: 0 / 0.6161 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002305/0.8372, allocations: 1.544 MB / 0.6177 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/0.8406, allocations: 411.3 kB / 0.618 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.8575, allocations: 11.14 MB / 0.6289 GB, free: 3.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003652/0.8612, allocations: 3.235 MB / 0.6321 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.8625, allocations: 319.3 kB / 0.6324 GB, free: 15.6 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.8625, allocations: 0 / 0.6324 GB, free: 15.6 MB / 426.7 MB Notification: Performance of Templates: time 0.2662/1.129, allocations: 75.19 MB / 0.7058 GB, free: 91.3 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches