Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.735/1.735, allocations: 205.2 MB / 219.8 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.0009502/0.0009502, allocations: 74.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.065e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5271, allocations: 98.91 MB / 468.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.5275, allocations: 84.7 kB / 469 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5125/1.04, allocations: 98.21 MB / 0.5539 GB, free: 90.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.426e-06/1.04, allocations: 0 / 0.5539 GB, free: 90.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002964/1.04, allocations: 103 kB / 0.554 GB, free: 90.65 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02224/1.063, allocations: 5.497 MB / 0.5594 GB, free: 88.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.063, allocations: 11.34 kB / 0.5594 GB, free: 88.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/1.074, allocations: 2.321 MB / 0.5617 GB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/1.087, allocations: 4.937 MB / 0.5665 GB, free: 87.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/1.087, allocations: 392.6 kB / 0.5669 GB, free: 87.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002801/1.09, allocations: 0.5154 MB / 0.5674 GB, free: 87.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03047/1.12, allocations: 12.9 MB / 0.58 GB, free: 83.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004248/1.121, allocations: 71.67 kB / 0.58 GB, free: 83.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002671/1.123, allocations: 253.9 kB / 0.5803 GB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001848/1.125, allocations: 1.199 MB / 0.5815 GB, free: 83.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02396/1.149, allocations: 11.01 MB / 0.5922 GB, free: 79.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06948/1.219, allocations: 57.18 MB / 0.6481 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/1.232, allocations: 5.146 MB / 0.6531 GB, free: 23.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003598/1.236, allocations: 3.168 MB / 0.6562 GB, free: 20.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/1.237, allocations: 0.6866 MB / 0.6568 GB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.237, allocations: 59.81 kB / 0.6569 GB, free: 19.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 5.41e-06/1.237, allocations: 0 / 0.6569 GB, free: 19.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.05905/1.296, allocations: 21.51 MB / 0.6779 GB, free: 14.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.296, allocations: 158.5 kB / 0.6781 GB, free: 13.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007158/1.304, allocations: 4.078 MB / 0.682 GB, free: 9.898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008024/1.304, allocations: 65.09 kB / 0.6821 GB, free: 9.832 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003185/1.308, allocations: 3.588 MB / 0.6856 GB, free: 6.242 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001564/1.309, allocations: 0.9561 MB / 0.6865 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/1.309, allocations: 136 kB / 0.6867 GB, free: 5.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004312/1.31, allocations: 0.5995 MB / 0.6873 GB, free: 4.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00459/1.315, allocations: 2.973 MB / 0.6902 GB, free: 1.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3657/1.68, allocations: 7.016 MB / 0.697 GB, free: 91.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009617/1.69, allocations: 4.516 MB / 0.7014 GB, free: 91.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002399/1.69, allocations: 41.62 kB / 0.7015 GB, free: 91.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02776/1.718, allocations: 10.84 MB / 0.712 GB, free: 91.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/1.718, allocations: 66.62 kB / 0.7121 GB, free: 91.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002579/1.718, allocations: 151.5 kB / 0.7123 GB, free: 91.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002796/1.721, allocations: 1.14 MB / 0.7134 GB, free: 91.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006908/1.728, allocations: 1.738 MB / 0.7151 GB, free: 91.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/1.736, allocations: 5.925 MB / 0.7209 GB, free: 89.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007781/1.743, allocations: 426 kB / 0.7213 GB, free: 89.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/1.745, allocations: 440 kB / 0.7217 GB, free: 89.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 653 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (873): * Single equations (assignments): 869 * 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.001624/1.747, allocations: 0.6429 MB / 0.7223 GB, free: 89.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.748, allocations: 413.9 kB / 0.7227 GB, free: 89.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00899/1.757, allocations: 5.501 MB / 0.7281 GB, free: 87.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.389e-05/1.757, allocations: 25.44 kB / 0.7281 GB, free: 87.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/1.757, allocations: 3.062 kB / 0.7281 GB, free: 87.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/1.757, allocations: 14.77 kB / 0.7281 GB, free: 87.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/1.779, allocations: 12.11 MB / 0.7399 GB, free: 83.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.779, allocations: 3.656 kB / 0.7399 GB, free: 83.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/1.781, allocations: 0.5013 MB / 0.7404 GB, free: 83.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/1.784, allocations: 0.9378 MB / 0.7413 GB, free: 83.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003663/1.784, allocations: 47.92 kB / 0.7414 GB, free: 83.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/1.791, allocations: 5.637 MB / 0.7469 GB, free: 80.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.791, allocations: 3.312 kB / 0.7469 GB, free: 80.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/1.805, allocations: 9.7 MB / 0.7564 GB, free: 76.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003223/1.808, allocations: 0.9086 MB / 0.7573 GB, free: 75.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008131/1.809, allocations: 46.09 kB / 0.7573 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.811, allocations: 180 kB / 0.7575 GB, free: 75.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004319/1.812, allocations: 153.9 kB / 0.7576 GB, free: 75.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.812, allocations: 71.14 kB / 0.7577 GB, free: 75.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00494/1.817, allocations: 2.84 MB / 0.7605 GB, free: 74.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.623e-06/1.817, allocations: 3 kB / 0.7605 GB, free: 74.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007898/1.825, allocations: 1.272 MB / 0.7617 GB, free: 74.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.0006113/1.825, allocations: 190.1 kB / 0.7619 GB, free: 74.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01088/1.836, allocations: 7.174 MB / 0.7689 GB, free: 69.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.836, allocations: 0 / 0.7689 GB, free: 69.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003575/1.84, allocations: 2.692 MB / 0.7715 GB, free: 66.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/1.843, allocations: 453.6 kB / 0.772 GB, free: 66.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.863, allocations: 10.13 MB / 0.7818 GB, free: 57.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/1.868, allocations: 3.906 MB / 0.7857 GB, free: 54.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006107/1.874, allocations: 2.332 MB / 0.7879 GB, free: 52.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.875, allocations: 312.9 kB / 0.7882 GB, free: 52.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.875, allocations: 0 / 0.7882 GB, free: 52.48 MB / 426.7 MB Notification: Performance of Templates: time 0.08264/1.958, allocations: 47.62 MB / 0.8347 GB, free: 7.844 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches