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.001195/0.001195, allocations: 111.9 kB / 18.4 MB, free: 4.688 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.001177/0.001177, allocations: 190.3 kB / 19.33 MB, free: 3.77 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.415/1.415, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001171/0.001171, allocations: 47.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.0869, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2128/0.2997, allocations: 11.75 MB / 387.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008371/0.3081, allocations: 3.913 MB / 391.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.3105, allocations: 67.44 kB / 391.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005484/0.316, allocations: 2.707 MB / 394.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006149/0.3221, allocations: 1.878 MB / 396.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.3241, allocations: 0.5756 MB / 396.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006753/0.3309, allocations: 3.751 MB / 400.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006489/0.3374, allocations: 3.697 MB / 404.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.3412, allocations: 1.522 MB / 405.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004637/0.3458, allocations: 2.136 MB / 407.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.3475, allocations: 339.8 kB / 408.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.3514, allocations: 1.061 MB / 409.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003058/0.3544, allocations: 1.933 MB / 411.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004915/0.3594, allocations: 2.241 MB / 413.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.3709, allocations: 7.181 MB / 420.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.371, allocations: 0 / 420.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.371, allocations: 4 kB / 420.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002935/0.3713, allocations: 0 / 420.6 MB, free: 2.691 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.02168/0.393, allocations: 5.31 MB / 425.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.393, allocations: 12.03 kB / 425.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007809/0.4009, allocations: 1.886 MB / 427.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/0.4066, allocations: 2.381 MB / 430.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.4069, allocations: 238 kB / 430.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.4083, allocations: 319.7 kB / 430.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/0.4316, allocations: 10.71 MB / 441.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/0.4318, allocations: 51.52 kB / 441.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001381/0.4332, allocations: 151.8 kB / 441.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003832/0.4371, allocations: 1.989 MB / 443.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.4572, allocations: 9.562 MB / 453.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05266/0.5099, allocations: 39.77 MB / 492.9 MB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/0.5238, allocations: 3.838 MB / 496.8 MB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002774/0.5267, allocations: 1.846 MB / 498.6 MB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.5274, allocations: 368 kB / 499 MB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.5274, allocations: 43.56 kB / 499 MB, free: 2.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.268e-06/0.5275, allocations: 0 / 499 MB, free: 2.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04577/0.5732, allocations: 13.78 MB / 0.5008 GB, free: 4.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.5733, allocations: 149.5 kB / 0.5009 GB, free: 3.965 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0071/0.5805, allocations: 4.155 MB / 0.505 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004159/0.5809, allocations: 45.7 kB / 0.505 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002742/0.5837, allocations: 3.172 MB / 0.5081 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.5847, allocations: 0.6096 MB / 0.5087 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002642/0.5874, allocations: 1.237 MB / 0.5099 GB, free: 10.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5875, allocations: 301.1 kB / 0.5102 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/0.5909, allocations: 2.135 MB / 0.5123 GB, free: 8.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00575/0.5967, allocations: 5.964 MB / 0.5181 GB, free: 336 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.6071, allocations: 8.768 MB / 0.5267 GB, free: 5.645 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/0.6073, allocations: 40 kB / 0.5267 GB, free: 5.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01651/0.6238, allocations: 8.58 MB / 0.5351 GB, free: 13.01 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.624, allocations: 64 kB / 0.5351 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/0.6242, allocations: 136 kB / 0.5353 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/0.6268, allocations: 0.9113 MB / 0.5362 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/0.6314, allocations: 1.4 MB / 0.5375 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007002/0.6384, allocations: 5.204 MB / 0.5426 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/0.6433, allocations: 327.6 kB / 0.5429 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.6445, allocations: 384 kB / 0.5433 GB, free: 4.461 MB / 478.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.004297/0.6488, allocations: 2.111 MB / 0.5454 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000917/0.6497, allocations: 347.5 kB / 0.5457 GB, free: 1.992 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2219/0.8716, allocations: 3.136 MB / 0.5487 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/0.8717, allocations: 21 kB / 0.5488 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.8717, allocations: 11.44 kB / 0.5488 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-05/0.8718, allocations: 7.766 kB / 0.5488 GB, free: 145.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.887, allocations: 7.793 MB / 0.5564 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.887, allocations: 1.844 kB / 0.5564 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.8884, allocations: 260.6 kB / 0.5566 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002297/0.8907, allocations: 0.7152 MB / 0.5573 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.8909, allocations: 36.25 kB / 0.5574 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/0.8968, allocations: 4.753 MB / 0.562 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8969, allocations: 1.719 kB / 0.562 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/0.9056, allocations: 5.681 MB / 0.5676 GB, free: 138.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.9072, allocations: 0.6221 MB / 0.5682 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/0.9077, allocations: 26.84 kB / 0.5682 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.909, allocations: 85.58 kB / 0.5683 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.9093, allocations: 103.5 kB / 0.5684 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.9094, allocations: 55.7 kB / 0.5684 GB, free: 138.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004048/0.9135, allocations: 2.606 MB / 0.571 GB, free: 137.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.9135, allocations: 0 / 0.571 GB, free: 137.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005005/0.9185, allocations: 0.9682 MB / 0.5719 GB, free: 137.5 MB / 478.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.0004865/0.919, allocations: 156.8 kB / 0.5721 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006765/0.9258, allocations: 5.102 MB / 0.5771 GB, free: 135.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.9259, allocations: 0 / 0.5771 GB, free: 135.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.9277, allocations: 1.532 MB / 0.5786 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.9305, allocations: 453.9 kB / 0.579 GB, free: 134.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.9449, allocations: 9.434 MB / 0.5882 GB, free: 130.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002722/0.9477, allocations: 3.233 MB / 0.5914 GB, free: 127.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.9488, allocations: 319.3 kB / 0.5917 GB, free: 127 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.9488, allocations: 0 / 0.5917 GB, free: 127 MB / 478.1 MB Notification: Performance of Templates: time 0.08454/1.033, allocations: 76.6 MB / 0.6665 GB, free: 50.22 MB / 478.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches