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.001503/0.001502, allocations: 180.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001071/0.00107, allocations: 82.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.862e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09131, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5238, allocations: 98.21 MB / 467.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5242, allocations: 86.61 kB / 467.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6662/1.19, allocations: 84.84 MB / 0.5393 GB, free: 90.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.19, allocations: 0 / 0.5393 GB, free: 90.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000299/1.191, allocations: 79.78 kB / 0.5394 GB, free: 90.96 MB / 410.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.02707/1.218, allocations: 4.494 MB / 0.5437 GB, free: 89.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.218, allocations: 9.219 kB / 0.5438 GB, free: 89.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/1.236, allocations: 2.218 MB / 0.5459 GB, free: 89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/1.254, allocations: 4.469 MB / 0.5503 GB, free: 88.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004457/1.255, allocations: 323.7 kB / 0.5506 GB, free: 88.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002552/1.257, allocations: 432.5 kB / 0.551 GB, free: 88.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/1.29, allocations: 10.71 MB / 0.5615 GB, free: 85.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003492/1.29, allocations: 61.78 kB / 0.5615 GB, free: 85.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002244/1.292, allocations: 207.5 kB / 0.5617 GB, free: 85.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002456/1.295, allocations: 1.003 MB / 0.5627 GB, free: 85.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/1.322, allocations: 8.845 MB / 0.5713 GB, free: 84.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07259/1.394, allocations: 48.98 MB / 0.6192 GB, free: 47.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/1.412, allocations: 3.489 MB / 0.6226 GB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/1.416, allocations: 1.772 MB / 0.6243 GB, free: 45.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/1.427, allocations: 4.359 MB / 0.6286 GB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.427, allocations: 51.22 kB / 0.6286 GB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.691e-06/1.427, allocations: 0 / 0.6286 GB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.03812/1.466, allocations: 9.751 MB / 0.6381 GB, free: 33.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/1.466, allocations: 152.9 kB / 0.6383 GB, free: 33.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01309/1.479, allocations: 3.691 MB / 0.6419 GB, free: 30.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005361/1.479, allocations: 41.7 kB / 0.6419 GB, free: 30.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003833/1.483, allocations: 3.12 MB / 0.645 GB, free: 27.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.485, allocations: 0.5857 MB / 0.6455 GB, free: 26.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/1.486, allocations: 116 kB / 0.6457 GB, free: 26.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008019/1.487, allocations: 0.5575 MB / 0.6462 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006669/1.493, allocations: 1.924 MB / 0.6481 GB, free: 24.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00758/1.501, allocations: 5.73 MB / 0.6537 GB, free: 17.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007371/1.508, allocations: 3.285 MB / 0.6569 GB, free: 14.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.509, allocations: 40 kB / 0.6569 GB, free: 14.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02267/1.531, allocations: 7.98 MB / 0.6647 GB, free: 7.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.531, allocations: 64 kB / 0.6648 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/1.532, allocations: 136 kB / 0.6649 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004335/1.536, allocations: 0.9206 MB / 0.6658 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008413/1.544, allocations: 1.385 MB / 0.6672 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009032/1.554, allocations: 4.774 MB / 0.6718 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007031/1.561, allocations: 327.6 kB / 0.6721 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/1.562, allocations: 387.3 kB / 0.6725 GB, free: 15.75 MB / 426.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 () * 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.002399/1.565, allocations: 0.5679 MB / 0.6731 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.566, allocations: 343.5 kB / 0.6734 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.577, allocations: 2.807 MB / 0.6761 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.099e-05/1.577, allocations: 27.89 kB / 0.6762 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.577, allocations: 4 kB / 0.6762 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-05/1.577, allocations: 7.969 kB / 0.6762 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/1.601, allocations: 6.955 MB / 0.683 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/1.601, allocations: 7.656 kB / 0.683 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/1.603, allocations: 239.6 kB / 0.6832 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004003/1.607, allocations: 0.7029 MB / 0.6839 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003471/1.608, allocations: 28 kB / 0.6839 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3092/1.917, allocations: 4.317 MB / 0.6881 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.917, allocations: 2.391 kB / 0.6881 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.932, allocations: 5.094 MB / 0.6931 GB, free: 93.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/1.934, allocations: 0.6167 MB / 0.6937 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.935, allocations: 22.06 kB / 0.6937 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/1.939, allocations: 84.8 kB / 0.6938 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/1.939, allocations: 86.92 kB / 0.6939 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.939, allocations: 44.16 kB / 0.6939 GB, free: 93.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008022/1.947, allocations: 2.567 MB / 0.6964 GB, free: 93.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.004e-06/1.948, allocations: 0 / 0.6964 GB, free: 93.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007484/1.955, allocations: 0.9617 MB / 0.6974 GB, free: 93.29 MB / 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 (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.0007866/1.956, allocations: 159.8 kB / 0.6975 GB, free: 93.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01171/1.968, allocations: 4.664 MB / 0.7021 GB, free: 93.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.968, allocations: 3.938 kB / 0.7021 GB, free: 93.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003074/1.971, allocations: 1.334 MB / 0.7034 GB, free: 92.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.975, allocations: 409.3 kB / 0.7038 GB, free: 92.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/1.997, allocations: 7.659 MB / 0.7113 GB, free: 91.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007309/2.005, allocations: 3.327 MB / 0.7145 GB, free: 90.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/2.006, allocations: 284.2 kB / 0.7148 GB, free: 90.69 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/2.006, allocations: 0 / 0.7148 GB, free: 90.69 MB / 426.7 MB Notification: Performance of Templates: time 0.1367/2.143, allocations: 71.99 MB / 0.7851 GB, free: 51.76 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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches