Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001668/0.001668, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.602/1.602, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007306/0.0007306, allocations: 85.55 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 12 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2655, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3734, allocations: 98.48 MB / 475.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.3736, allocations: 87.95 kB / 475.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3474/0.7211, allocations: 83.78 MB / 0.5463 GB, free: 71.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.7211, allocations: 0 / 0.5463 GB, free: 71.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001671/0.7213, allocations: 80 kB / 0.5463 GB, free: 71.68 MB / 378.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.01313/0.7344, allocations: 4.609 MB / 0.5508 GB, free: 67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.7345, allocations: 8.031 kB / 0.5508 GB, free: 67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008286/0.7428, allocations: 2.179 MB / 0.553 GB, free: 64.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00617/0.749, allocations: 3.432 MB / 0.5563 GB, free: 61.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.7492, allocations: 321.5 kB / 0.5566 GB, free: 61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.7505, allocations: 423.8 kB / 0.557 GB, free: 60.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.7674, allocations: 10.78 MB / 0.5676 GB, free: 48.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.7677, allocations: 59.41 kB / 0.5676 GB, free: 48.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009078/0.7686, allocations: 207.9 kB / 0.5678 GB, free: 48.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/0.7698, allocations: 1.002 MB / 0.5688 GB, free: 47.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.784, allocations: 8.948 MB / 0.5775 GB, free: 38.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04107/0.8251, allocations: 48.97 MB / 0.6254 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009498/0.8346, allocations: 3.524 MB / 0.6288 GB, free: 304 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.8371, allocations: 1.814 MB / 0.6306 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006977/0.8441, allocations: 4.343 MB / 0.6348 GB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.8441, allocations: 51.5 kB / 0.6349 GB, free: 9.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 4.218e-06/0.8442, allocations: 3.938 kB / 0.6349 GB, free: 9.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.1958/1.04, allocations: 11.99 MB / 0.6466 GB, free: 100 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/1.04, allocations: 148.2 kB / 0.6467 GB, free: 99.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/1.045, allocations: 4.179 MB / 0.6508 GB, free: 99.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001992/1.045, allocations: 46.92 kB / 0.6508 GB, free: 99.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.047, allocations: 3.193 MB / 0.654 GB, free: 98.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/1.047, allocations: 0.5828 MB / 0.6545 GB, free: 97.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/1.048, allocations: 118.9 kB / 0.6546 GB, free: 97.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002371/1.048, allocations: 0.5528 MB / 0.6552 GB, free: 97.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/1.051, allocations: 1.989 MB / 0.6571 GB, free: 97.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004349/1.055, allocations: 5.809 MB / 0.6628 GB, free: 92.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008143/1.063, allocations: 8.479 MB / 0.6711 GB, free: 87.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.063, allocations: 42.34 kB / 0.6711 GB, free: 87.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01346/1.077, allocations: 8.225 MB / 0.6792 GB, free: 84.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-05/1.077, allocations: 63.66 kB / 0.6792 GB, free: 84.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/1.077, allocations: 134.2 kB / 0.6793 GB, free: 84.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/1.079, allocations: 0.9036 MB / 0.6802 GB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004063/1.083, allocations: 1.383 MB / 0.6816 GB, free: 84.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/1.088, allocations: 4.784 MB / 0.6862 GB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/1.093, allocations: 331.4 kB / 0.6866 GB, free: 81.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.094, allocations: 371.5 kB / 0.6869 GB, free: 81.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * 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 (732): * Single equations (assignments): 728 * 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.003443/1.098, allocations: 2.111 MB / 0.689 GB, free: 80.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005903/1.098, allocations: 344.5 kB / 0.6893 GB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/1.103, allocations: 2.873 MB / 0.6921 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.103, allocations: 17.41 kB / 0.6921 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.103, allocations: 3.656 kB / 0.6921 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.103, allocations: 11.25 kB / 0.6921 GB, free: 79.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.115, allocations: 7.025 MB / 0.699 GB, free: 76.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.115, allocations: 4 kB / 0.699 GB, free: 76.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.116, allocations: 241.4 kB / 0.6992 GB, free: 76.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/1.118, allocations: 0.7037 MB / 0.6999 GB, free: 76.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/1.118, allocations: 24.55 kB / 0.6999 GB, free: 76.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004415/1.122, allocations: 4.339 MB / 0.7042 GB, free: 73.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.122, allocations: 4 kB / 0.7042 GB, free: 73.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006557/1.129, allocations: 5.114 MB / 0.7092 GB, free: 68.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/1.13, allocations: 0.6169 MB / 0.7098 GB, free: 68.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/1.131, allocations: 23.84 kB / 0.7098 GB, free: 68.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.132, allocations: 86.11 kB / 0.7099 GB, free: 68.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/1.132, allocations: 85.81 kB / 0.71 GB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.132, allocations: 43.06 kB / 0.71 GB, free: 68.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003692/1.136, allocations: 2.61 MB / 0.7126 GB, free: 66.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.136, allocations: 0 / 0.7126 GB, free: 66.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004656/1.141, allocations: 0.9567 MB / 0.7135 GB, free: 65.11 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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.0003483/1.141, allocations: 163.9 kB / 0.7137 GB, free: 64.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005964/1.147, allocations: 4.768 MB / 0.7183 GB, free: 60.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.147, allocations: 0 / 0.7183 GB, free: 60.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.149, allocations: 1.364 MB / 0.7196 GB, free: 59.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/1.151, allocations: 422 kB / 0.72 GB, free: 59.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/1.164, allocations: 10.45 MB / 0.7302 GB, free: 49.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003252/1.167, allocations: 3.238 MB / 0.7334 GB, free: 47.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00461/1.172, allocations: 1.87 MB / 0.7352 GB, free: 45.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/1.173, allocations: 239.8 kB / 0.7355 GB, free: 45.73 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/1.173, allocations: 4 kB / 0.7355 GB, free: 45.73 MB / 410.7 MB Notification: Performance of Templates: time 0.05099/1.224, allocations: 32.93 MB / 0.7676 GB, free: 14.34 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches