Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 109.4 kB / 17.16 MB, free: 6.082 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.001333/0.001333, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 47.56 kB / 300.6 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 49.45 MB / 350.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2695/0.3799, allocations: 65.56 MB / 415.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03568/0.4156, allocations: 12.96 MB / 428.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01517/0.4308, allocations: 279.4 kB / 428.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007292/0.4382, allocations: 3.725 MB / 432.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005976/0.4442, allocations: 1.893 MB / 434.5 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.4461, allocations: 0.6242 MB / 435.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007664/0.4538, allocations: 6.244 MB / 441.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006139/0.46, allocations: 4.73 MB / 446.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.463, allocations: 1.647 MB / 447.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.4667, allocations: 2.64 MB / 450.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.468, allocations: 308 kB / 450.7 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.4708, allocations: 1.096 MB / 451.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.4733, allocations: 2.151 MB / 453.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.4762, allocations: 2.536 MB / 456.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005951/0.4822, allocations: 6.486 MB / 462.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4822, allocations: 0 / 462.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4822, allocations: 0 / 462.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001982/0.4824, allocations: 0 / 462.9 MB, free: 3.887 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01974/0.5021, allocations: 6.219 MB / 469.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5022, allocations: 12.03 kB / 469.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006416/0.5086, allocations: 1.952 MB / 471.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004873/0.5135, allocations: 2.655 MB / 473.8 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.5137, allocations: 283.5 kB / 474 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008444/0.5146, allocations: 395.7 kB / 474.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02335/0.538, allocations: 12.37 MB / 486.8 MB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.5382, allocations: 47.59 kB / 486.8 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007124/0.5389, allocations: 187.8 kB / 487 MB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004134/0.543, allocations: 2.249 MB / 489.3 MB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/0.5657, allocations: 11.3 MB / 0.4888 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3066/0.8724, allocations: 46.99 MB / 0.5347 GB, free: 83.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/0.8912, allocations: 5.342 MB / 0.5399 GB, free: 82.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004416/0.8957, allocations: 3.312 MB / 0.5432 GB, free: 82.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.8963, allocations: 380.2 kB / 0.5435 GB, free: 82.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.8964, allocations: 56.97 kB / 0.5436 GB, free: 82.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 5.461e-06/0.8964, allocations: 0 / 0.5436 GB, free: 82.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07449/0.9709, allocations: 26.8 MB / 0.5698 GB, free: 77.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.971, allocations: 151.9 kB / 0.5699 GB, free: 77.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006122/0.9771, allocations: 4.499 MB / 0.5743 GB, free: 73.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007648/0.9779, allocations: 64.05 kB / 0.5744 GB, free: 73.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.9797, allocations: 3.471 MB / 0.5778 GB, free: 69.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.9809, allocations: 0.8758 MB / 0.5786 GB, free: 68.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/0.9827, allocations: 1.456 MB / 0.58 GB, free: 67.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.9828, allocations: 301.1 kB / 0.5803 GB, free: 67.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/0.9863, allocations: 3.285 MB / 0.5835 GB, free: 63.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005033/0.9914, allocations: 7.247 MB / 0.5906 GB, free: 54.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.002, allocations: 11.34 MB / 0.6017 GB, free: 42.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001538/1.002, allocations: 40 kB / 0.6017 GB, free: 42.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01852/1.021, allocations: 11.42 MB / 0.6129 GB, free: 31.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.051e-05/1.021, allocations: 65.42 kB / 0.6129 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/1.021, allocations: 136.8 kB / 0.6131 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/1.023, allocations: 1.121 MB / 0.6142 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005848/1.029, allocations: 1.731 MB / 0.6158 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006567/1.036, allocations: 6.011 MB / 0.6217 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/1.042, allocations: 399.6 kB / 0.6221 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/1.043, allocations: 455.8 kB / 0.6225 GB, free: 21.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (837): * Single equations (assignments): 833 * 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.004508/1.048, allocations: 2.358 MB / 0.6248 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.049, allocations: 402.7 kB / 0.6252 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008897/1.058, allocations: 6.107 MB / 0.6312 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.623e-05/1.058, allocations: 25.08 kB / 0.6312 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/1.058, allocations: 5.094 kB / 0.6312 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/1.058, allocations: 11.95 kB / 0.6312 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/1.079, allocations: 12.93 MB / 0.6438 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/1.079, allocations: 4 kB / 0.6439 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/1.082, allocations: 0.5339 MB / 0.6444 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002717/1.084, allocations: 0.9507 MB / 0.6453 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000564/1.085, allocations: 87.89 kB / 0.6454 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007634/1.093, allocations: 5.712 MB / 0.651 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.093, allocations: 4 kB / 0.651 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/1.11, allocations: 10.34 MB / 0.6611 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/1.113, allocations: 0.8839 MB / 0.6619 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/1.114, allocations: 44 kB / 0.662 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/1.117, allocations: 159.8 kB / 0.6621 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007843/1.118, allocations: 184 kB / 0.6623 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004759/1.118, allocations: 103.9 kB / 0.6624 GB, free: 12.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005613/1.124, allocations: 2.826 MB / 0.6652 GB, free: 9.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.195e-06/1.124, allocations: 4 kB / 0.6652 GB, free: 9.926 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007081/1.131, allocations: 1.219 MB / 0.6663 GB, free: 8.715 MB / 478.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.0009543/1.132, allocations: 181.3 kB / 0.6665 GB, free: 8.551 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01331/1.145, allocations: 7.724 MB / 0.6741 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.146, allocations: 0 / 0.6741 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004961/1.151, allocations: 2.979 MB / 0.677 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004496/1.155, allocations: 474.3 kB / 0.6774 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.181, allocations: 14.84 MB / 0.6919 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005911/1.187, allocations: 3.656 MB / 0.6955 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/1.189, allocations: 467.1 kB / 0.6959 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of SimCode: time 8.71e-07/1.189, allocations: 0 / 0.6959 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.3267/1.516, allocations: 94.17 MB / 0.7879 GB, free: 156.1 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches