Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.22 kB / 306.9 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09669, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2324/0.3292, allocations: 61.56 MB / 419 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03105/0.3603, allocations: 12.2 MB / 431.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01194/0.3723, allocations: 271.3 kB / 431.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007169/0.3795, allocations: 3.701 MB / 435.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005742/0.3853, allocations: 1.864 MB / 437 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.3874, allocations: 0.6281 MB / 437.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007907/0.3953, allocations: 6.195 MB / 443.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007129/0.4025, allocations: 4.712 MB / 448.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.4059, allocations: 1.627 MB / 450.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004225/0.4101, allocations: 2.617 MB / 452.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.4116, allocations: 304 kB / 453.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.4145, allocations: 1.073 MB / 454.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003017/0.4176, allocations: 2.104 MB / 456.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004504/0.4221, allocations: 2.489 MB / 458.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007368/0.4295, allocations: 6.366 MB / 465.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4295, allocations: 0 / 465.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.4295, allocations: 0 / 465.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003326/0.4299, allocations: 7.938 kB / 465.1 MB, free: 15.86 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02219/0.4521, allocations: 6.172 MB / 471.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4522, allocations: 12.03 kB / 471.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007528/0.4597, allocations: 1.963 MB / 473.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005891/0.4656, allocations: 2.62 MB / 475.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.466, allocations: 291.5 kB / 476.2 MB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.4676, allocations: 387.7 kB / 476.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02621/0.4939, allocations: 12.17 MB / 488.7 MB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002457/0.4941, allocations: 51.53 kB / 488.8 MB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001453/0.4956, allocations: 179.8 kB / 489 MB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004291/0.4999, allocations: 2.19 MB / 491.2 MB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02378/0.5237, allocations: 11.13 MB / 0.4905 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2588/0.7825, allocations: 46.59 MB / 0.536 GB, free: 119.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/0.8003, allocations: 5.338 MB / 0.5412 GB, free: 118.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00459/0.805, allocations: 3.308 MB / 0.5444 GB, free: 118.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/0.8057, allocations: 374.5 kB / 0.5448 GB, free: 118.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.8057, allocations: 64.09 kB / 0.5449 GB, free: 118.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.689e-06/0.8058, allocations: 0 / 0.5449 GB, free: 118.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06817/0.8739, allocations: 26.76 MB / 0.571 GB, free: 107.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.874, allocations: 150.5 kB / 0.5711 GB, free: 107.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/0.8794, allocations: 4.49 MB / 0.5755 GB, free: 102.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006442/0.88, allocations: 61.7 kB / 0.5756 GB, free: 102.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.8817, allocations: 3.425 MB / 0.5789 GB, free: 99.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.8828, allocations: 0.8776 MB / 0.5798 GB, free: 98.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/0.8845, allocations: 1.446 MB / 0.5812 GB, free: 97.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.8846, allocations: 305.1 kB / 0.5815 GB, free: 96.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/0.8883, allocations: 3.281 MB / 0.5847 GB, free: 93.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005488/0.8938, allocations: 7.219 MB / 0.5917 GB, free: 84.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.904, allocations: 11.31 MB / 0.6028 GB, free: 71.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.9041, allocations: 40 kB / 0.6028 GB, free: 71.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01763/0.9218, allocations: 11.39 MB / 0.614 GB, free: 60 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/0.9219, allocations: 67.94 kB / 0.614 GB, free: 59.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.922, allocations: 140 kB / 0.6141 GB, free: 59.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/0.9245, allocations: 1.136 MB / 0.6153 GB, free: 58.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005761/0.9303, allocations: 1.712 MB / 0.6169 GB, free: 56.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006284/0.9366, allocations: 6.006 MB / 0.6228 GB, free: 50.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00543/0.9421, allocations: 403.4 kB / 0.6232 GB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/0.9434, allocations: 451.8 kB / 0.6236 GB, free: 49.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (834): * Single equations (assignments): 830 * 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.004559/0.948, allocations: 2.332 MB / 0.6259 GB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/0.9492, allocations: 394.8 kB / 0.6263 GB, free: 47.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009837/0.9591, allocations: 6.118 MB / 0.6322 GB, free: 41.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/0.9592, allocations: 28 kB / 0.6323 GB, free: 41.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.9592, allocations: 11.98 kB / 0.6323 GB, free: 41.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/0.9592, allocations: 7.969 kB / 0.6323 GB, free: 41.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02209/0.9813, allocations: 12.85 MB / 0.6448 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/0.9814, allocations: 4 kB / 0.6448 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/0.9842, allocations: 0.5423 MB / 0.6454 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.9865, allocations: 0.9444 MB / 0.6463 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005357/0.9871, allocations: 87.56 kB / 0.6464 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005939/0.993, allocations: 5.711 MB / 0.652 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9931, allocations: 8 kB / 0.652 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.006, allocations: 10.34 MB / 0.6621 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.009, allocations: 0.8871 MB / 0.6629 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/1.01, allocations: 44.88 kB / 0.663 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/1.013, allocations: 155.8 kB / 0.6631 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006963/1.013, allocations: 181.6 kB / 0.6633 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004207/1.014, allocations: 103.9 kB / 0.6634 GB, free: 8.941 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004831/1.019, allocations: 2.824 MB / 0.6661 GB, free: 6.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.41e-07/1.019, allocations: 0 / 0.6661 GB, free: 6.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00686/1.025, allocations: 1.19 MB / 0.6673 GB, free: 4.934 MB / 446.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0008787/1.026, allocations: 184.8 kB / 0.6675 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.038, allocations: 7.718 MB / 0.675 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.038, allocations: 4 kB / 0.675 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004997/1.043, allocations: 2.958 MB / 0.6779 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005006/1.048, allocations: 483.8 kB / 0.6784 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/1.073, allocations: 14.69 MB / 0.6927 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005561/1.079, allocations: 3.628 MB / 0.6963 GB, free: 7.215 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002319/1.081, allocations: 467.1 kB / 0.6967 GB, free: 6.758 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/1.081, allocations: 4 kB / 0.6967 GB, free: 6.754 MB / 478.1 MB Notification: Performance of Templates: time 0.2953/1.377, allocations: 93.25 MB / 0.7878 GB, free: 131.5 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches