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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 190.2 kB / 22.92 MB, free: 5.48 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "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.001782/0.001782, allocations: 54.73 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3506, allocations: 49.12 MB / 394.5 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01318/0.3638, allocations: 11.84 MB / 406.4 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.3744, allocations: 3.945 MB / 410.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.378, allocations: 67.56 kB / 410.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006487/0.3845, allocations: 2.763 MB / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.3916, allocations: 1.925 MB / 415.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.3935, allocations: 0.577 MB / 415.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007552/0.4011, allocations: 3.752 MB / 419.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004849/0.4059, allocations: 2.605 MB / 422 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.4095, allocations: 1.535 MB / 423.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.4137, allocations: 2.291 MB / 425.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008458/0.4145, allocations: 343.9 kB / 426.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.417, allocations: 1.096 MB / 427.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.4191, allocations: 1.983 MB / 429.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002621/0.4217, allocations: 2.233 MB / 431.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008527/0.4303, allocations: 7.218 MB / 438.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4303, allocations: 0 / 438.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4303, allocations: 0 / 438.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.4304, allocations: 0 / 438.7 MB, free: 7.52 MB / 350.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.01902/0.4494, allocations: 5.439 MB / 444.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4494, allocations: 12.03 kB / 444.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006847/0.4563, allocations: 1.909 MB / 446 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.4611, allocations: 2.39 MB / 448.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.4613, allocations: 238 kB / 448.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006571/0.462, allocations: 319.8 kB / 449 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.4833, allocations: 10.71 MB / 459.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.4834, allocations: 47.62 kB / 459.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004743/0.4839, allocations: 151.8 kB / 459.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0035/0.4874, allocations: 1.989 MB / 461.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.508, allocations: 9.566 MB / 471.4 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05701/0.565, allocations: 39.84 MB / 0.4993 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.5784, allocations: 3.715 MB / 0.5029 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002694/0.5811, allocations: 1.74 MB / 0.5046 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006585/0.5817, allocations: 364 kB / 0.505 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.5818, allocations: 51.56 kB / 0.505 GB, free: 6.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.258e-06/0.5818, allocations: 0 / 0.505 GB, free: 6.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.04376/0.6255, allocations: 13.98 MB / 0.5187 GB, free: 8.789 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.6256, allocations: 149.4 kB / 0.5188 GB, free: 8.613 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006416/0.6321, allocations: 4.168 MB / 0.5229 GB, free: 4.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003066/0.6324, allocations: 49.7 kB / 0.5229 GB, free: 4.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002806/0.6352, allocations: 3.295 MB / 0.5261 GB, free: 1.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008599/0.636, allocations: 0.6475 MB / 0.5268 GB, free: 396 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/0.6378, allocations: 1.242 MB / 0.528 GB, free: 15.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.638, allocations: 301.1 kB / 0.5283 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/0.6414, allocations: 2.131 MB / 0.5304 GB, free: 12.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007169/0.6486, allocations: 5.968 MB / 0.5362 GB, free: 4.809 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/0.6613, allocations: 8.771 MB / 0.5447 GB, free: 10.12 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.6614, allocations: 40 kB / 0.5448 GB, free: 10.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01622/0.6777, allocations: 8.579 MB / 0.5532 GB, free: 1.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.6777, allocations: 68.06 kB / 0.5532 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.6779, allocations: 136 kB / 0.5534 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/0.6805, allocations: 0.9138 MB / 0.5542 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2506/0.9311, allocations: 1.395 MB / 0.5556 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007426/0.9385, allocations: 5.212 MB / 0.5607 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005262/0.9438, allocations: 327 kB / 0.561 GB, free: 138.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/0.9449, allocations: 386.7 kB / 0.5614 GB, free: 138.2 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.003765/0.9487, allocations: 2.098 MB / 0.5634 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008463/0.9495, allocations: 373.5 kB / 0.5638 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006018/0.9555, allocations: 3.128 MB / 0.5668 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/0.9556, allocations: 18.22 kB / 0.5669 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/0.9556, allocations: 3.781 kB / 0.5669 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.9556, allocations: 13.56 kB / 0.5669 GB, free: 136.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.9692, allocations: 7.804 MB / 0.5745 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.9692, allocations: 0 / 0.5745 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.9703, allocations: 258.3 kB / 0.5747 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/0.9722, allocations: 0.7127 MB / 0.5754 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.9723, allocations: 35.28 kB / 0.5755 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005086/0.9774, allocations: 4.758 MB / 0.5801 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9774, allocations: 7.656 kB / 0.5801 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007461/0.9849, allocations: 5.678 MB / 0.5857 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.9863, allocations: 0.6445 MB / 0.5863 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/0.9867, allocations: 29.41 kB / 0.5863 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.9879, allocations: 86.03 kB / 0.5864 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/0.9882, allocations: 107.9 kB / 0.5865 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.9883, allocations: 51.31 kB / 0.5866 GB, free: 128.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003488/0.9918, allocations: 2.604 MB / 0.5891 GB, free: 127.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9918, allocations: 0 / 0.5891 GB, free: 127.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004683/0.9965, allocations: 0.968 MB / 0.5901 GB, free: 127 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.0003564/0.9969, allocations: 160.5 kB / 0.5902 GB, free: 126.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006171/1.003, allocations: 4.929 MB / 0.595 GB, free: 122 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.003, allocations: 0 / 0.595 GB, free: 122 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.005, allocations: 1.427 MB / 0.5964 GB, free: 120.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.007, allocations: 443.6 kB / 0.5968 GB, free: 120.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.02, allocations: 9.207 MB / 0.6058 GB, free: 110.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/1.023, allocations: 3.235 MB / 0.609 GB, free: 107.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003587/1.026, allocations: 1.938 MB / 0.6109 GB, free: 105.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000645/1.027, allocations: 267.3 kB / 0.6111 GB, free: 105.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/1.027, allocations: 0 / 0.6111 GB, free: 105.4 MB / 478.1 MB Notification: Performance of Templates: time 0.05934/1.086, allocations: 35.75 MB / 0.646 GB, free: 69.71 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.924300925806165]