Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.34 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1166, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01311/0.1298, allocations: 10.99 MB / 369.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1979/0.3277, allocations: 3.818 MB / 373.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.33, allocations: 64.75 kB / 373.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00677/0.3369, allocations: 2.679 MB / 376.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006075/0.343, allocations: 1.76 MB / 378.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.3452, allocations: 0.5679 MB / 378.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006638/0.3519, allocations: 3.58 MB / 382.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005064/0.357, allocations: 3.603 MB / 386 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.3599, allocations: 1.451 MB / 387.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.3628, allocations: 1.985 MB / 389.4 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007507/0.3636, allocations: 315.7 kB / 389.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.3658, allocations: 1.038 MB / 390.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.3674, allocations: 1.774 MB / 392.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.3694, allocations: 2.077 MB / 394.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006976/0.3764, allocations: 6.656 MB / 401.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3765, allocations: 0 / 401.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3765, allocations: 0 / 401.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002305/0.3767, allocations: 0 / 401.3 MB, free: 14.38 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.02025/0.397, allocations: 5.044 MB / 406.3 MB, free: 9.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.397, allocations: 12.03 kB / 406.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006594/0.4036, allocations: 1.848 MB / 408.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005442/0.4091, allocations: 2.246 MB / 410.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.4093, allocations: 223.4 kB / 410.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008068/0.4102, allocations: 301.7 kB / 410.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.4287, allocations: 10.01 MB / 420.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.4289, allocations: 39.59 kB / 421 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004282/0.4294, allocations: 144.9 kB / 421.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002929/0.4323, allocations: 1.814 MB / 422.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/0.4496, allocations: 8.955 MB / 431.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04784/0.4975, allocations: 37.74 MB / 469.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/0.5095, allocations: 3.584 MB / 473.2 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.5117, allocations: 1.684 MB / 474.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.5123, allocations: 355.6 kB / 475.2 MB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.5123, allocations: 47.06 kB / 475.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.286e-06/0.5123, allocations: 0 / 475.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.03854/0.5509, allocations: 12.67 MB / 487.9 MB, free: 5.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.551, allocations: 141.2 kB / 488.1 MB, free: 5.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006216/0.5572, allocations: 4.044 MB / 492.1 MB, free: 1.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004583/0.5577, allocations: 41.7 kB / 492.2 MB, free: 1.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.5601, allocations: 3.012 MB / 495.2 MB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007749/0.5609, allocations: 0.5388 MB / 495.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.5625, allocations: 1.18 MB / 496.9 MB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5627, allocations: 305.1 kB / 497.2 MB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.5654, allocations: 1.959 MB / 499.2 MB, free: 10.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005295/0.5707, allocations: 5.658 MB / 0.493 GB, free: 3.129 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008788/0.5795, allocations: 8.252 MB / 0.501 GB, free: 9.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.018e-05/0.5796, allocations: 36 kB / 0.5011 GB, free: 8.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01404/0.5936, allocations: 8.083 MB / 0.509 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.5938, allocations: 62.66 kB / 0.509 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/0.5939, allocations: 132 kB / 0.5092 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.5962, allocations: 0.9077 MB / 0.51 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/0.6002, allocations: 1.321 MB / 0.5113 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.6067, allocations: 5.196 MB / 0.5164 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/0.6112, allocations: 318.2 kB / 0.5167 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007612/0.612, allocations: 364 kB / 0.5171 GB, free: 8.484 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.004182/0.6162, allocations: 1.982 MB / 0.519 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/0.6176, allocations: 335.6 kB / 0.5193 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005391/0.623, allocations: 2.766 MB / 0.522 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/0.623, allocations: 12 kB / 0.522 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.623, allocations: 8 kB / 0.522 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.6231, allocations: 7.984 kB / 0.522 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.252/0.8751, allocations: 7.054 MB / 0.5289 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.8751, allocations: 2.5 kB / 0.5289 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.8763, allocations: 218.6 kB / 0.5291 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002246/0.8785, allocations: 0.7123 MB / 0.5298 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.8787, allocations: 38.53 kB / 0.5299 GB, free: 137.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006275/0.885, allocations: 4.741 MB / 0.5345 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8851, allocations: 2.188 kB / 0.5345 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008033/0.8931, allocations: 5.092 MB / 0.5395 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.8942, allocations: 390.2 kB / 0.5398 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00036/0.8946, allocations: 24.62 kB / 0.5399 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8957, allocations: 73.94 kB / 0.5399 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.896, allocations: 92.27 kB / 0.54 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.8962, allocations: 46.98 kB / 0.5401 GB, free: 133.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003757/0.8999, allocations: 2.529 MB / 0.5425 GB, free: 132.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8999, allocations: 3.562 kB / 0.5425 GB, free: 132.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004907/0.9049, allocations: 0.8847 MB / 0.5434 GB, free: 132.1 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.0003979/0.9053, allocations: 156.9 kB / 0.5436 GB, free: 132 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00668/0.912, allocations: 4.676 MB / 0.5481 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.912, allocations: 0 / 0.5481 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.9136, allocations: 1.344 MB / 0.5494 GB, free: 129.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.9161, allocations: 426.5 kB / 0.5498 GB, free: 129.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.9298, allocations: 8.323 MB / 0.558 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002765/0.9326, allocations: 3.047 MB / 0.561 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003635/0.9363, allocations: 1.85 MB / 0.5628 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005442/0.9368, allocations: 250.8 kB / 0.563 GB, free: 123.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.9369, allocations: 4 kB / 0.563 GB, free: 123.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05062/0.9875, allocations: 29.77 MB / 0.5921 GB, free: 94.14 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches