Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001757/0.001757, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003057/0.003057, allocations: 69.81 kB / 307.9 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1547, allocations: 50.54 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01422/0.1689, allocations: 10.97 MB / 369.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1854/0.3544, allocations: 3.831 MB / 373.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.3564, allocations: 64.09 kB / 373.3 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.3616, allocations: 2.681 MB / 376 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.3664, allocations: 1.757 MB / 377.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.3681, allocations: 0.5728 MB / 378.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005707/0.3739, allocations: 3.581 MB / 381.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004629/0.3785, allocations: 3.598 MB / 385.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.3813, allocations: 1.445 MB / 386.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.3841, allocations: 1.986 MB / 388.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009565/0.3851, allocations: 314.8 kB / 389.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.3874, allocations: 1.035 MB / 390.3 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.3892, allocations: 1.781 MB / 392 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00245/0.3917, allocations: 2.078 MB / 394.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007029/0.3987, allocations: 6.421 MB / 400.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.838e-05/0.3988, allocations: 9.266 kB / 400.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3988, allocations: 0 / 400.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002512/0.3991, allocations: 0 / 400.6 MB, free: 14.42 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01982/0.4189, allocations: 5.049 MB / 405.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.419, allocations: 8.031 kB / 405.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007146/0.4261, allocations: 1.855 MB / 407.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/0.4312, allocations: 2.191 MB / 409.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.4314, allocations: 223.7 kB / 409.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009245/0.4324, allocations: 296.5 kB / 410.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.4528, allocations: 10.02 MB / 420.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.4529, allocations: 43.59 kB / 420.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004464/0.4534, allocations: 141.7 kB / 420.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003406/0.4568, allocations: 1.812 MB / 422.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.4765, allocations: 8.965 MB / 431.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05319/0.5297, allocations: 37.88 MB / 469 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/0.5433, allocations: 3.586 MB / 472.6 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002586/0.5459, allocations: 1.676 MB / 474.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/0.5466, allocations: 356.2 kB / 474.6 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.5467, allocations: 47.06 kB / 474.7 MB, free: 2.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.536e-06/0.5467, allocations: 0 / 474.7 MB, free: 2.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.04347/0.5901, allocations: 12.68 MB / 487.4 MB, free: 6.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.5903, allocations: 141.2 kB / 487.5 MB, free: 5.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00632/0.5966, allocations: 4.044 MB / 491.5 MB, free: 1.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003397/0.597, allocations: 41.7 kB / 491.6 MB, free: 1.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.5995, allocations: 3.013 MB / 494.6 MB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008618/0.6004, allocations: 0.5431 MB / 495.1 MB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001607/0.602, allocations: 1.177 MB / 496.3 MB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6021, allocations: 309 kB / 496.6 MB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/0.6052, allocations: 1.955 MB / 498.6 MB, free: 10.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00641/0.6116, allocations: 5.662 MB / 0.4924 GB, free: 3.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/0.6237, allocations: 8.25 MB / 0.5005 GB, free: 9.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/0.6239, allocations: 36 kB / 0.5005 GB, free: 9.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01747/0.6414, allocations: 8.075 MB / 0.5084 GB, free: 1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.6416, allocations: 60 kB / 0.5085 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/0.6418, allocations: 132 kB / 0.5086 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/0.6445, allocations: 0.9068 MB / 0.5095 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004441/0.6489, allocations: 1.325 MB / 0.5108 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007612/0.6566, allocations: 5.192 MB / 0.5158 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/0.6609, allocations: 313.8 kB / 0.5161 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008678/0.6618, allocations: 364 kB / 0.5165 GB, free: 8.582 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (699): * Single equations (assignments): 695 * 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.003751/0.6655, allocations: 1.981 MB / 0.5184 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007512/0.6663, allocations: 335.6 kB / 0.5187 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005832/0.6721, allocations: 2.763 MB / 0.5214 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/0.6722, allocations: 21.02 kB / 0.5215 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6722, allocations: 4.281 kB / 0.5215 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.6723, allocations: 3.984 kB / 0.5215 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2044/0.8766, allocations: 7.078 MB / 0.5284 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.8767, allocations: 4.531 kB / 0.5284 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.8778, allocations: 213.6 kB / 0.5286 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/0.88, allocations: 0.7127 MB / 0.5293 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.8803, allocations: 37.3 kB / 0.5293 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/0.8862, allocations: 4.743 MB / 0.5339 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.8863, allocations: 5.281 kB / 0.5339 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008445/0.8947, allocations: 5.087 MB / 0.5389 GB, free: 133.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.8959, allocations: 388.2 kB / 0.5393 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/0.8963, allocations: 18.84 kB / 0.5393 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.8975, allocations: 77.64 kB / 0.5394 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.8978, allocations: 91.73 kB / 0.5395 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.8979, allocations: 47.11 kB / 0.5395 GB, free: 133.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004211/0.9021, allocations: 2.533 MB / 0.542 GB, free: 132.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.9022, allocations: 0 / 0.542 GB, free: 132.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005426/0.9076, allocations: 0.8885 MB / 0.5429 GB, free: 132.8 MB / 446.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 (101): * Single equations (assignments): 97 * 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.0004642/0.9081, allocations: 155.8 kB / 0.543 GB, free: 132.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007356/0.9154, allocations: 5.108 MB / 0.548 GB, free: 131.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.9155, allocations: 3.875 kB / 0.548 GB, free: 131.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.917, allocations: 1.345 MB / 0.5493 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.9194, allocations: 429.7 kB / 0.5497 GB, free: 130.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.9322, allocations: 8.852 MB / 0.5584 GB, free: 126.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/0.9348, allocations: 3.06 MB / 0.5613 GB, free: 125.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008621/0.9357, allocations: 296.6 kB / 0.5616 GB, free: 124.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.9357, allocations: 0 / 0.5616 GB, free: 124.8 MB / 446.1 MB Notification: Performance of Templates: time 0.07651/1.012, allocations: 70.8 MB / 0.6308 GB, free: 54.75 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches