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.001673/0.001673, allocations: 176.6 kB / 8.35 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 97.3 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.671e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 50.43 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5362, allocations: 98.54 MB / 486 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5366, allocations: 87.95 kB / 486.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.461/0.9977, allocations: 80.27 MB / 0.5531 GB, free: 95.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.9977, allocations: 2.375 kB / 0.5531 GB, free: 95.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002441/0.998, allocations: 79.75 kB / 0.5532 GB, free: 95.66 MB / 426.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.02082/1.019, allocations: 4.325 MB / 0.5574 GB, free: 94.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/1.019, allocations: 12.97 kB / 0.5574 GB, free: 94.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/1.032, allocations: 2.181 MB / 0.5595 GB, free: 93.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/1.046, allocations: 4.222 MB / 0.5637 GB, free: 93.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/1.046, allocations: 130.2 kB / 0.5638 GB, free: 93.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002901/1.049, allocations: 237.8 kB / 0.564 GB, free: 93.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01553/1.065, allocations: 6.02 MB / 0.5699 GB, free: 93.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/1.088, allocations: 9.261 MB / 0.5789 GB, free: 90.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005425/1.089, allocations: 61.28 kB / 0.579 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002438/1.091, allocations: 33.69 kB / 0.579 GB, free: 90.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001664/1.093, allocations: 0.9342 MB / 0.5799 GB, free: 90.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05381/1.147, allocations: 45.54 MB / 0.6244 GB, free: 57.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/1.151, allocations: 3.009 MB / 0.6273 GB, free: 55.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/1.153, allocations: 1.585 MB / 0.6289 GB, free: 55.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00779/1.161, allocations: 3.94 MB / 0.6327 GB, free: 52.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/1.161, allocations: 46.03 kB / 0.6328 GB, free: 52.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 4.939e-06/1.161, allocations: 4 kB / 0.6328 GB, free: 52.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=125): time 0.02054/1.181, allocations: 11.12 MB / 0.6436 GB, free: 47.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/1.182, allocations: 140.6 kB / 0.6438 GB, free: 47.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/1.186, allocations: 3.064 MB / 0.6468 GB, free: 46.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/1.186, allocations: 25.7 kB / 0.6468 GB, free: 46.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.187, allocations: 3.137 MB / 0.6499 GB, free: 43.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/1.188, allocations: 0.5036 MB / 0.6503 GB, free: 43.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/1.188, allocations: 0 / 0.6503 GB, free: 43.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002872/1.188, allocations: 0.5542 MB / 0.6509 GB, free: 43.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/1.19, allocations: 1.697 MB / 0.6525 GB, free: 41.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/1.194, allocations: 5.5 MB / 0.6579 GB, free: 34.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/1.197, allocations: 3.038 MB / 0.6609 GB, free: 31.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.767e-05/1.197, allocations: 40 kB / 0.6609 GB, free: 31.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01047/1.208, allocations: 6.988 MB / 0.6677 GB, free: 25.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/1.208, allocations: 64 kB / 0.6678 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.423e-05/1.208, allocations: 136 kB / 0.6679 GB, free: 25.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/1.21, allocations: 0.917 MB / 0.6688 GB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/1.213, allocations: 1.357 MB / 0.6702 GB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/1.218, allocations: 4.611 MB / 0.6747 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004515/1.223, allocations: 198.8 kB / 0.6748 GB, free: 19.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007407/1.224, allocations: 378.3 kB / 0.6752 GB, free: 19.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 (719): * Single equations (assignments): 715 * 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.0006994/1.224, allocations: 453.8 kB / 0.6756 GB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005814/1.225, allocations: 300.1 kB / 0.6759 GB, free: 18.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/1.229, allocations: 2.371 MB / 0.6782 GB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/1.229, allocations: 16.8 kB / 0.6783 GB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.229, allocations: 7.953 kB / 0.6783 GB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.229, allocations: 7.703 kB / 0.6783 GB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009753/1.239, allocations: 5.499 MB / 0.6836 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.239, allocations: 4 kB / 0.6836 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/1.24, allocations: 197.4 kB / 0.6838 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/1.242, allocations: 0.6989 MB / 0.6845 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.042e-05/1.242, allocations: 4 kB / 0.6845 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004296/1.246, allocations: 4.177 MB / 0.6886 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.246, allocations: 4.031 kB / 0.6886 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/1.252, allocations: 4.445 MB / 0.6929 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.253, allocations: 349.1 kB / 0.6933 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/1.253, allocations: 3.812 kB / 0.6933 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.254, allocations: 59.89 kB / 0.6933 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.254, allocations: 68.69 kB / 0.6934 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/1.255, allocations: 39.98 kB / 0.6934 GB, free: 3.113 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002872/1.257, allocations: 2.032 MB / 0.6954 GB, free: 1.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.257, allocations: 3.562 kB / 0.6954 GB, free: 1.094 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004866/1.262, allocations: 0.7735 MB / 0.6962 GB, free: 328 kB / 426.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 (93): * Single equations (assignments): 89 * 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.0003973/1.263, allocations: 153 kB / 0.6963 GB, free: 164 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006791/1.269, allocations: 4.06 MB / 0.7003 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.27, allocations: 0 / 0.7003 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.271, allocations: 1.129 MB / 0.7014 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.273, allocations: 329.5 kB / 0.7017 GB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.289, allocations: 6.634 MB / 0.7082 GB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/1.293, allocations: 3.183 MB / 0.7113 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.2721/1.565, allocations: 1.804 MB / 0.7131 GB, free: 94.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009236/1.566, allocations: 212.2 kB / 0.7133 GB, free: 94.96 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/1.566, allocations: 1.031 kB / 0.7133 GB, free: 94.96 MB / 442.7 MB Notification: Performance of Templates: time 0.06292/1.629, allocations: 26.74 MB / 0.7394 GB, free: 94.06 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/jenkins/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