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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002717/0.002717, allocations: 95.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002821/0.002821, allocations: 164.8 kB / 25.03 MB, free: 8.41 MB / 18.57 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.423/1.423, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.743e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01663/0.01667, allocations: 11.38 MB / 261.7 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.02676, allocations: 3.84 MB / 265.6 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.029, allocations: 75.69 kB / 265.7 MB, free: 8.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006812/0.03581, allocations: 2.908 MB / 268.6 MB, free: 5.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006052/0.04187, allocations: 2.01 MB / 270.6 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.04369, allocations: 0.6237 MB / 271.2 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006694/0.05038, allocations: 4.142 MB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005344/0.05573, allocations: 3.19 MB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004923/0.06065, allocations: 2.346 MB / 280.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00467/0.06532, allocations: 2.315 MB / 283.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.06647, allocations: 344 kB / 283.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.06917, allocations: 1.026 MB / 284.6 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002802/0.07197, allocations: 2.076 MB / 286.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.07444, allocations: 1.301 MB / 287.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.08581, allocations: 7.254 MB / 295.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.08582, allocations: 0 / 295.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.08582, allocations: 3.938 kB / 295.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002818/0.0861, allocations: 4 kB / 295.2 MB, free: 10.79 MB / 282.7 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.02322/0.1093, allocations: 6.356 MB / 301.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1094, allocations: 19.98 kB / 301.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008774/0.1181, allocations: 2.385 MB / 304 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00656/0.1247, allocations: 2.129 MB / 306.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.125, allocations: 238.1 kB / 306.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.1263, allocations: 319.8 kB / 306.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/0.1449, allocations: 6.831 MB / 313.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/0.1451, allocations: 47.61 kB / 313.5 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005645/0.1456, allocations: 159.8 kB / 313.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004043/0.1497, allocations: 1.982 MB / 315.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/0.1656, allocations: 3.92 MB / 319.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1963/0.3618, allocations: 47.63 MB / 367.2 MB, free: 61.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/0.3747, allocations: 2.053 MB / 369.2 MB, free: 61.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.3762, allocations: 0.6065 MB / 369.9 MB, free: 61.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/0.3766, allocations: 129.5 kB / 370 MB, free: 61.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3766, allocations: 48.42 kB / 370 MB, free: 61.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=148): time 4.078e-06/0.3767, allocations: 0.5469 kB / 370 MB, free: 61.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.03895/0.4156, allocations: 10.39 MB / 380.4 MB, free: 58.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.4157, allocations: 141.5 kB / 380.6 MB, free: 58.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/0.421, allocations: 4.533 MB / 385.1 MB, free: 55.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.4212, allocations: 45.7 kB / 385.1 MB, free: 54.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.4228, allocations: 3.67 MB / 388.8 MB, free: 51.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/0.4234, allocations: 0.7043 MB / 389.5 MB, free: 50.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.425, allocations: 1.583 MB / 391.1 MB, free: 49.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.425, allocations: 476.8 kB / 391.6 MB, free: 48.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.4264, allocations: 0.7338 MB / 392.3 MB, free: 48.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.4295, allocations: 6.61 MB / 398.9 MB, free: 38.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005527/0.435, allocations: 8.066 MB / 407 MB, free: 28.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.85e-05/0.4351, allocations: 40 kB / 407 MB, free: 28.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.009418/0.4445, allocations: 5.879 MB / 412.9 MB, free: 22.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.4446, allocations: 70.44 kB / 413 MB, free: 22.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-05/0.4447, allocations: 140 kB / 413.1 MB, free: 22.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/0.4467, allocations: 0.6398 MB / 413.7 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/0.4508, allocations: 1.4 MB / 415.1 MB, free: 20.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00415/0.4549, allocations: 3.367 MB / 418.5 MB, free: 16.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/0.459, allocations: 367.6 kB / 418.9 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004503/0.4595, allocations: 391.2 kB / 419.2 MB, free: 15.95 MB / 330.7 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.001649/0.4611, allocations: 0.7632 MB / 420 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/0.4617, allocations: 365.8 kB / 420.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.4658, allocations: 1.702 MB / 422.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.4659, allocations: 20 kB / 422.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.4659, allocations: 7.984 kB / 422.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.4659, allocations: 3.984 kB / 422.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.4793, allocations: 6.281 MB / 428.4 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.4793, allocations: 0 / 428.4 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.4805, allocations: 267.6 kB / 428.6 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.4824, allocations: 455 kB / 429.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.4826, allocations: 43.97 kB / 429.1 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/0.4864, allocations: 3.04 MB / 432.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4864, allocations: 7.938 kB / 432.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/0.4923, allocations: 2.88 MB / 435 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/0.4945, allocations: 0.517 MB / 435.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007995/0.4953, allocations: 27.83 kB / 435.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.4973, allocations: 119.8 kB / 435.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.4976, allocations: 112.8 kB / 435.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.4978, allocations: 59.95 kB / 435.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004331/0.5021, allocations: 1.804 MB / 437.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5021, allocations: 0 / 437.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006245/0.5084, allocations: 1.035 MB / 438.7 MB, free: 12.26 MB / 346.7 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.0007234/0.5091, allocations: 186.8 kB / 438.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008345/0.5174, allocations: 3.417 MB / 442.3 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5174, allocations: 0 / 442.3 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.5194, allocations: 0.8492 MB / 443.2 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/0.5229, allocations: 401.6 kB / 443.6 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.5403, allocations: 7.451 MB / 451 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005699/0.546, allocations: 2.459 MB / 453.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005151/0.5512, allocations: 1.626 MB / 455.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.5523, allocations: 268.4 kB / 455.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.833e-06/0.5523, allocations: 4 kB / 455.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.07469/0.627, allocations: 30.96 MB / 486.3 MB, free: 12.55 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] 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.546570169040933]