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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 104.7 kB / 17.15 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 47.92 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09629, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.05017/0.1465, allocations: 50.2 MB / 376.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2544/0.401, allocations: 10.33 MB / 387.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01201/0.4132, allocations: 210.6 kB / 387.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005554/0.4187, allocations: 2.703 MB / 390 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004818/0.4236, allocations: 1.767 MB / 391.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.4248, allocations: 0.5147 MB / 392.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005575/0.4304, allocations: 5.507 MB / 397.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.4341, allocations: 3.665 MB / 401.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.4361, allocations: 1.35 MB / 402.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.4384, allocations: 2.265 MB / 405.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004608/0.4389, allocations: 240 kB / 405.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.4407, allocations: 1.031 MB / 406.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.4419, allocations: 1.846 MB / 408.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.4434, allocations: 2.155 MB / 410.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006058/0.4495, allocations: 6.854 MB / 417.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4495, allocations: 4 kB / 417.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4495, allocations: 0 / 417.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001897/0.4497, allocations: 3.938 kB / 417.2 MB, free: 12.05 MB / 334.1 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.01893/0.4687, allocations: 5.31 MB / 422.6 MB, free: 6.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4687, allocations: 8.031 kB / 422.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006616/0.4753, allocations: 1.888 MB / 424.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004892/0.4803, allocations: 2.345 MB / 426.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.4805, allocations: 241.6 kB / 427 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008103/0.4813, allocations: 312.8 kB / 427.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.5008, allocations: 10.72 MB / 438.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.5009, allocations: 39.69 kB / 438.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000468/0.5014, allocations: 151.2 kB / 438.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003218/0.5046, allocations: 1.987 MB / 440.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.5227, allocations: 9.565 MB / 449.8 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/0.5688, allocations: 39.93 MB / 489.7 MB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/0.5822, allocations: 3.847 MB / 493.6 MB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.5845, allocations: 1.844 MB / 495.4 MB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005371/0.5851, allocations: 363.9 kB / 495.8 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5851, allocations: 51.44 kB / 495.8 MB, free: 11.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.577e-06/0.5851, allocations: 4 kB / 495.8 MB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.0465/0.6316, allocations: 13.76 MB / 0.4976 GB, free: 13.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.6318, allocations: 141.5 kB / 0.4978 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006159/0.638, allocations: 4.167 MB / 0.5018 GB, free: 9.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003788/0.6384, allocations: 49.7 kB / 0.5019 GB, free: 9.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002118/0.6405, allocations: 3.161 MB / 0.505 GB, free: 6.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008413/0.6414, allocations: 0.6142 MB / 0.5056 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.643, allocations: 1.221 MB / 0.5068 GB, free: 4.535 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6431, allocations: 301.1 kB / 0.5071 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/0.6462, allocations: 2.143 MB / 0.5092 GB, free: 2.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005893/0.6521, allocations: 5.961 MB / 0.515 GB, free: 10.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.6632, allocations: 8.774 MB / 0.5235 GB, free: 15.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/0.6634, allocations: 43.98 kB / 0.5236 GB, free: 15.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01676/0.6802, allocations: 8.572 MB / 0.532 GB, free: 6.902 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.6803, allocations: 64 kB / 0.532 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/0.6805, allocations: 136 kB / 0.5321 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/0.6829, allocations: 0.9101 MB / 0.533 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004799/0.6877, allocations: 1.404 MB / 0.5344 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2397/0.9275, allocations: 4.855 MB / 0.5391 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00523/0.9328, allocations: 326.9 kB / 0.5395 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/0.9343, allocations: 388.4 kB / 0.5398 GB, free: 122.4 MB / 462.1 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.004611/0.9389, allocations: 2.112 MB / 0.5419 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007754/0.9397, allocations: 350.1 kB / 0.5422 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006571/0.9463, allocations: 3.143 MB / 0.5453 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-05/0.9463, allocations: 18.5 kB / 0.5453 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.9464, allocations: 3.312 kB / 0.5453 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/0.9464, allocations: 6.797 kB / 0.5453 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.9591, allocations: 7.819 MB / 0.553 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.9592, allocations: 3.031 kB / 0.553 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.9604, allocations: 263.4 kB / 0.5532 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.9624, allocations: 0.7164 MB / 0.5539 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.9625, allocations: 38.83 kB / 0.554 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/0.9674, allocations: 4.41 MB / 0.5583 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9674, allocations: 8.531 kB / 0.5583 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008165/0.9756, allocations: 5.674 MB / 0.5638 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.9771, allocations: 0.6274 MB / 0.5644 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004411/0.9776, allocations: 27 kB / 0.5644 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.9788, allocations: 83 kB / 0.5645 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003181/0.9791, allocations: 101.8 kB / 0.5646 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.9793, allocations: 60.05 kB / 0.5647 GB, free: 116.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00369/0.983, allocations: 2.604 MB / 0.5672 GB, free: 115.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.983, allocations: 0 / 0.5672 GB, free: 115.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004897/0.9879, allocations: 0.9629 MB / 0.5682 GB, free: 115.1 MB / 462.1 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.0004115/0.9883, allocations: 168.6 kB / 0.5683 GB, free: 115 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006937/0.9953, allocations: 5.071 MB / 0.5733 GB, free: 113.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.9953, allocations: 0 / 0.5733 GB, free: 113.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.9973, allocations: 1.538 MB / 0.5748 GB, free: 113.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1, allocations: 416.2 kB / 0.5752 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.015, allocations: 11.03 MB / 0.5859 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.018, allocations: 3.247 MB / 0.5891 GB, free: 101.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004047/1.022, allocations: 1.929 MB / 0.591 GB, free: 99.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/1.022, allocations: 268 kB / 0.5913 GB, free: 99.55 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/1.022, allocations: 0 / 0.5913 GB, free: 99.55 MB / 462.1 MB Notification: Performance of Templates: time 0.058/1.08, allocations: 35.77 MB / 0.6262 GB, free: 63.91 MB / 462.1 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/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