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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009252/0.0009252, allocations: 87.92 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.605e-05, allocations: 8 kB / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3866/0.4925, allocations: 99.86 MB / 0.4901 GB, free: 5.887 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.4929, allocations: 85.55 kB / 0.4902 GB, free: 5.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2527/0.7457, allocations: 82.54 MB / 0.5708 GB, free: 4.375 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7457, allocations: 4 kB / 0.5708 GB, free: 4.371 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004105/0.7461, allocations: 80 kB / 0.5709 GB, free: 4.293 MB / 442.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.3116/1.058, allocations: 4.368 MB / 0.5752 GB, free: 78.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/1.058, allocations: 9.906 kB / 0.5752 GB, free: 78.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/1.069, allocations: 2.22 MB / 0.5773 GB, free: 78.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009657/1.078, allocations: 3.711 MB / 0.581 GB, free: 78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/1.079, allocations: 298.9 kB / 0.5812 GB, free: 77.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00204/1.081, allocations: 410.2 kB / 0.5816 GB, free: 77.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/1.101, allocations: 10.25 MB / 0.5916 GB, free: 75.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/1.101, allocations: 64.59 kB / 0.5917 GB, free: 75.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005963/1.102, allocations: 196 kB / 0.5919 GB, free: 75.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/1.103, allocations: 0.9399 MB / 0.5928 GB, free: 75.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/1.119, allocations: 8.43 MB / 0.601 GB, free: 75.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05628/1.176, allocations: 47.35 MB / 0.6473 GB, free: 43.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009984/1.186, allocations: 3.234 MB / 0.6504 GB, free: 42.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/1.188, allocations: 1.605 MB / 0.652 GB, free: 41.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006938/1.195, allocations: 4.058 MB / 0.656 GB, free: 39.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.195, allocations: 48.06 kB / 0.656 GB, free: 39.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.809e-06/1.195, allocations: 0 / 0.656 GB, free: 39.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.02146/1.217, allocations: 8.886 MB / 0.6647 GB, free: 35.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/1.217, allocations: 145.2 kB / 0.6648 GB, free: 34.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/1.222, allocations: 3.597 MB / 0.6683 GB, free: 33.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003621/1.223, allocations: 43.61 kB / 0.6684 GB, free: 33.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/1.225, allocations: 3.072 MB / 0.6714 GB, free: 31.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/1.225, allocations: 0.5119 MB / 0.6719 GB, free: 30.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/1.226, allocations: 112.4 kB / 0.672 GB, free: 30.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002913/1.226, allocations: 0.547 MB / 0.6725 GB, free: 30.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/1.228, allocations: 1.757 MB / 0.6742 GB, free: 29.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004489/1.233, allocations: 5.455 MB / 0.6796 GB, free: 24.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/1.237, allocations: 3.076 MB / 0.6826 GB, free: 22.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.489e-05/1.237, allocations: 39.47 kB / 0.6826 GB, free: 22.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01352/1.251, allocations: 7.65 MB / 0.6901 GB, free: 20.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-05/1.251, allocations: 63.28 kB / 0.6901 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/1.251, allocations: 132 kB / 0.6903 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/1.253, allocations: 0.9146 MB / 0.6912 GB, free: 20.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/1.257, allocations: 1.312 MB / 0.6924 GB, free: 19.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/1.263, allocations: 4.769 MB / 0.6971 GB, free: 17.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/1.268, allocations: 308.6 kB / 0.6974 GB, free: 17.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.269, allocations: 358.7 kB / 0.6977 GB, free: 17.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 690 * 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.0009289/1.27, allocations: 0.5524 MB / 0.6983 GB, free: 16.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/1.271, allocations: 330.4 kB / 0.6986 GB, free: 16.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/1.275, allocations: 2.45 MB / 0.701 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/1.275, allocations: 18.5 kB / 0.701 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.275, allocations: 7.562 kB / 0.701 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.275, allocations: 3.75 kB / 0.701 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.286, allocations: 6.29 MB / 0.7072 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/1.286, allocations: 0 / 0.7072 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009995/1.287, allocations: 203.1 kB / 0.7074 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/1.289, allocations: 0.6948 MB / 0.708 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.29, allocations: 23.94 kB / 0.7081 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004674/1.294, allocations: 4.341 MB / 0.7123 GB, free: 7.832 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.294, allocations: 0 / 0.7123 GB, free: 7.832 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/1.3, allocations: 4.531 MB / 0.7167 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.302, allocations: 397.3 kB / 0.7171 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/1.302, allocations: 24.81 kB / 0.7171 GB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.303, allocations: 68.94 kB / 0.7172 GB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/1.304, allocations: 80.89 kB / 0.7173 GB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/1.304, allocations: 35.05 kB / 0.7173 GB, free: 3.383 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004062/1.308, allocations: 2.506 MB / 0.7197 GB, free: 1.148 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.308, allocations: 0 / 0.7197 GB, free: 1.148 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005858/1.314, allocations: 0.9032 MB / 0.7206 GB, free: 256 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 88 * 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.0005307/1.314, allocations: 159.7 kB / 0.7208 GB, free: 104 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01085/1.325, allocations: 4.511 MB / 0.7252 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.325, allocations: 0 / 0.7252 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.327, allocations: 1.156 MB / 0.7263 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.33, allocations: 391.5 kB / 0.7267 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/1.346, allocations: 6.697 MB / 0.7332 GB, free: 5.457 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003988/1.35, allocations: 3.182 MB / 0.7363 GB, free: 3.031 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004639/1.355, allocations: 1.795 MB / 0.7381 GB, free: 1.906 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/1.356, allocations: 221.4 kB / 0.7383 GB, free: 1.699 MB / 458.7 MB Notification: Performance of SimCode: time 1.223e-06/1.356, allocations: 3.938 kB / 0.7383 GB, free: 1.695 MB / 458.7 MB Notification: Performance of Templates: time 0.3168/1.672, allocations: 31.18 MB / 0.7687 GB, free: 80.9 MB / 458.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches