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.0008767/0.0008767, allocations: 87.62 kB / 22.19 MB, free: 2.367 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.0008729/0.0008729, allocations: 163.8 kB / 25.45 MB, free: 9.492 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 0.8864/0.8864, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.354e-06/2.354e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.313e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008981/0.009015, allocations: 10.31 MB / 310 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00679/0.0158, allocations: 3.742 MB / 313.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.01742, allocations: 75.69 kB / 313.8 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.02064, allocations: 2.776 MB / 316.6 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.02445, allocations: 2.014 MB / 318.6 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.02549, allocations: 0.6275 MB / 319.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00443/0.02992, allocations: 4.116 MB / 323.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002958/0.03288, allocations: 3.106 MB / 326.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.03584, allocations: 2.331 MB / 328.8 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.03865, allocations: 2.248 MB / 331 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.03918, allocations: 351.9 kB / 331.4 MB, free: 7.055 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.04068, allocations: 1.018 MB / 332.4 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.042, allocations: 2.065 MB / 334.5 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.04337, allocations: 1.297 MB / 335.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006986/0.05036, allocations: 7.242 MB / 343 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.05037, allocations: 0 / 343 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.05037, allocations: 0 / 343 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003113/0.05068, allocations: 4 kB / 343 MB, free: 11.39 MB / 330.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.01405/0.06474, allocations: 5.508 MB / 348.5 MB, free: 5.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.06478, allocations: 19.98 kB / 348.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/0.06875, allocations: 1.944 MB / 350.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/0.07268, allocations: 2.302 MB / 352.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.07281, allocations: 242.2 kB / 353 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/0.07348, allocations: 327.7 kB / 353.3 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.161/0.2345, allocations: 10.8 MB / 364.1 MB, free: 52.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.2347, allocations: 37.48 kB / 364.2 MB, free: 52.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/0.235, allocations: 154.9 kB / 364.3 MB, free: 52.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/0.2371, allocations: 1.989 MB / 366.3 MB, free: 52.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.2493, allocations: 9.641 MB / 376 MB, free: 44.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03101/0.2803, allocations: 37.39 MB / 413.4 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006875/0.2872, allocations: 3.456 MB / 416.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.2888, allocations: 1.74 MB / 418.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.2891, allocations: 119.3 kB / 418.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2891, allocations: 51.55 kB / 418.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=148): time 4.148e-06/0.2891, allocations: 0 / 418.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.02933/0.3184, allocations: 14.45 MB / 433.2 MB, free: 3.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.3185, allocations: 151.4 kB / 433.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/0.3231, allocations: 3.949 MB / 437.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003791/0.3235, allocations: 49.7 kB / 437.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.3253, allocations: 3.302 MB / 440.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.3264, allocations: 0.63 MB / 441.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.3277, allocations: 1.224 MB / 442.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.3278, allocations: 305.1 kB / 442.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/0.3302, allocations: 2.143 MB / 444.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00481/0.335, allocations: 5.968 MB / 450.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008157/0.3431, allocations: 8.781 MB / 459.7 MB, free: 5.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/0.3433, allocations: 36.19 kB / 459.7 MB, free: 5.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01207/0.3553, allocations: 8.56 MB / 468.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.3554, allocations: 68.06 kB / 468.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001408/0.3555, allocations: 136 kB / 468.5 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.357, allocations: 0.9138 MB / 469.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.3598, allocations: 1.404 MB / 470.8 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.365, allocations: 5.021 MB / 475.8 MB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/0.3684, allocations: 371.7 kB / 476.2 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006668/0.369, allocations: 388 kB / 476.5 MB, free: 4.074 MB / 394.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.003493/0.3725, allocations: 2.101 MB / 478.6 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/0.3733, allocations: 333.7 kB / 479 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.3774, allocations: 3.113 MB / 482.1 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.3774, allocations: 16 kB / 482.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.3774, allocations: 4 kB / 482.1 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3774, allocations: 3.984 kB / 482.1 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.3878, allocations: 6.865 MB / 489 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.3878, allocations: 4 kB / 489 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/0.3885, allocations: 275.7 kB / 489.2 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.3897, allocations: 0.7146 MB / 490 MB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.3899, allocations: 39.97 kB / 490 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/0.3939, allocations: 4.624 MB / 494.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3939, allocations: 384 / 494.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006115/0.4, allocations: 5.653 MB / 0.4885 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.4013, allocations: 0.5484 MB / 0.4891 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.4016, allocations: 28 kB / 0.4891 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.4025, allocations: 123.8 kB / 0.4892 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.4027, allocations: 112.8 kB / 0.4893 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.655e-05/0.4028, allocations: 59.91 kB / 0.4894 GB, free: 11.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003087/0.4059, allocations: 2.292 MB / 0.4916 GB, free: 8.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4059, allocations: 4 kB / 0.4916 GB, free: 8.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003614/0.4095, allocations: 1.039 MB / 0.4926 GB, free: 7.945 MB / 426.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.0004245/0.4099, allocations: 178.9 kB / 0.4928 GB, free: 7.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005955/0.4159, allocations: 4.929 MB / 0.4976 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4159, allocations: 0 / 0.4976 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.4173, allocations: 1.449 MB / 0.499 GB, free: 1.383 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.4191, allocations: 380.1 kB / 0.4994 GB, free: 1.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.4314, allocations: 9.544 MB / 0.5087 GB, free: 7.406 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/0.4341, allocations: 2.702 MB / 0.5114 GB, free: 4.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.4353, allocations: 312.4 kB / 0.5117 GB, free: 4.352 MB / 442.7 MB Notification: Performance of SimCode: time 2.745e-06/0.4353, allocations: 0 / 0.5117 GB, free: 4.352 MB / 442.7 MB Notification: Performance of Templates: time 0.2156/0.6509, allocations: 77.02 MB / 0.5869 GB, free: 94.52 MB / 442.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=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: 8.99619113933295]