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.001009/0.001009, allocations: 187 kB / 17.91 MB, free: 3.855 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.127/1.127, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0008976/0.0008976, allocations: 105 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007307/0.0007308, allocations: 39.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1846, allocations: 46.61 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.02965/0.2143, allocations: 50.22 MB / 424 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01944/0.2338, allocations: 10.33 MB / 434.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007341/0.2412, allocations: 211.5 kB / 434.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.2457, allocations: 2.7 MB / 437.3 MB, free: 1.828 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.2495, allocations: 1.766 MB / 439 MB, free: 60 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2506, allocations: 0.5227 MB / 439.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005225/0.2558, allocations: 5.533 MB / 445.1 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.2593, allocations: 3.657 MB / 448.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.261, allocations: 1.354 MB / 450.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.2634, allocations: 2.274 MB / 452.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004767/0.2639, allocations: 236 kB / 452.6 MB, free: 2.398 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.2655, allocations: 1.014 MB / 453.6 MB, free: 1.383 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.2669, allocations: 1.847 MB / 455.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.2689, allocations: 2.167 MB / 457.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.2743, allocations: 6.853 MB / 464.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2744, allocations: 0 / 464.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2744, allocations: 0 / 464.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.884e-05/0.2745, allocations: 0 / 464.5 MB, free: 6.477 MB / 346.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.01374/0.2882, allocations: 5.314 MB / 469.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2883, allocations: 8.031 kB / 469.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005959/0.2942, allocations: 1.886 MB / 471.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.2981, allocations: 2.35 MB / 474.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.2983, allocations: 238 kB / 474.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004868/0.2988, allocations: 315.8 kB / 474.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/0.3128, allocations: 10.72 MB / 485.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.038e-05/0.3129, allocations: 43.69 kB / 485.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000355/0.3133, allocations: 151.8 kB / 485.5 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002887/0.3162, allocations: 1.985 MB / 487.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.3311, allocations: 9.559 MB / 497 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1602/0.4913, allocations: 39.93 MB / 0.5244 GB, free: 79.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.502, allocations: 3.839 MB / 0.5281 GB, free: 77.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.5036, allocations: 1.846 MB / 0.5299 GB, free: 76.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004184/0.5041, allocations: 355.7 kB / 0.5303 GB, free: 75.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.5041, allocations: 51.25 kB / 0.5303 GB, free: 75.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.567e-06/0.5041, allocations: 3.438 kB / 0.5303 GB, free: 75.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.03295/0.5371, allocations: 13.77 MB / 0.5438 GB, free: 62.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.5371, allocations: 145.5 kB / 0.5439 GB, free: 62.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.5406, allocations: 4.167 MB / 0.548 GB, free: 58.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.5407, allocations: 45.7 kB / 0.548 GB, free: 58.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.5417, allocations: 3.161 MB / 0.5511 GB, free: 55.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.542, allocations: 0.6188 MB / 0.5517 GB, free: 54.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.5431, allocations: 1.218 MB / 0.5529 GB, free: 53.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.044e-05/0.5431, allocations: 305.1 kB / 0.5532 GB, free: 53.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.5453, allocations: 2.143 MB / 0.5553 GB, free: 51.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/0.5485, allocations: 5.952 MB / 0.5611 GB, free: 43.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/0.5542, allocations: 8.774 MB / 0.5697 GB, free: 32.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.786e-05/0.5543, allocations: 40 kB / 0.5697 GB, free: 32.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.00971/0.564, allocations: 8.574 MB / 0.5781 GB, free: 23.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.564, allocations: 65.88 kB / 0.5782 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.157e-05/0.5641, allocations: 139.9 kB / 0.5783 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.5661, allocations: 0.9151 MB / 0.5792 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/0.5692, allocations: 1.396 MB / 0.5805 GB, free: 21.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.5737, allocations: 4.867 MB / 0.5853 GB, free: 16.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.5766, allocations: 335.4 kB / 0.5856 GB, free: 16.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.5769, allocations: 391.2 kB / 0.586 GB, free: 15.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * 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 (740): * Single equations (assignments): 736 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001884/0.5788, allocations: 2.1 MB / 0.588 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.5791, allocations: 351.4 kB / 0.5884 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/0.5837, allocations: 3.144 MB / 0.5914 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.5837, allocations: 16 kB / 0.5915 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5837, allocations: 4 kB / 0.5915 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5838, allocations: 11.91 kB / 0.5915 GB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009723/0.5935, allocations: 7.832 MB / 0.5991 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.5935, allocations: 4 kB / 0.5991 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.5945, allocations: 259.6 kB / 0.5994 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/0.5963, allocations: 0.707 MB / 0.6001 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.5964, allocations: 35.97 kB / 0.6001 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.6014, allocations: 4.425 MB / 0.6044 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6014, allocations: 0 / 0.6044 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04052/0.6419, allocations: 26.2 MB / 0.63 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.6431, allocations: 0.6292 MB / 0.6306 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.6434, allocations: 24 kB / 0.6307 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.6446, allocations: 83.89 kB / 0.6307 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.6449, allocations: 108.8 kB / 0.6308 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.645, allocations: 51.64 kB / 0.6309 GB, free: 1.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003226/0.6483, allocations: 2.61 MB / 0.6334 GB, free: 14.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6483, allocations: 0 / 0.6334 GB, free: 14.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003935/0.6522, allocations: 1.241 MB / 0.6346 GB, free: 13.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.6525, allocations: 157.7 kB / 0.6348 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006292/0.6588, allocations: 5.08 MB / 0.6398 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6588, allocations: 0 / 0.6398 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.6608, allocations: 1.535 MB / 0.6413 GB, free: 6.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.6626, allocations: 421.4 kB / 0.6417 GB, free: 6.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1423/0.8049, allocations: 12.15 MB / 0.6535 GB, free: 139.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003284/0.8082, allocations: 3.29 MB / 0.6567 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004308/0.8126, allocations: 1.936 MB / 0.6586 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.8132, allocations: 272.1 kB / 0.6589 GB, free: 138.9 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.8133, allocations: 1.062 kB / 0.6589 GB, free: 138.9 MB / 426.7 MB Notification: Performance of Templates: time 0.05033/0.8636, allocations: 40.75 MB / 0.6987 GB, free: 106.7 MB / 426.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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