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.002192/0.002192, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001931/0.001931, allocations: 165.4 kB / 25.02 MB, free: 8.43 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.485/1.485, allocations: 158.6 MB / 186.8 MB, free: 2.863 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 1.783e-06/1.783e-06, allocations: 3.938 kB / 250.4 MB, free: 4.039 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.531e-05, allocations: 5.406 kB / 250.4 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01522/0.01526, allocations: 10.32 MB / 260.7 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00994/0.0252, allocations: 3.735 MB / 264.4 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.02716, allocations: 79.62 kB / 264.5 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006563/0.03372, allocations: 2.823 MB / 267.3 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00661/0.04033, allocations: 2.01 MB / 269.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.04243, allocations: 0.6276 MB / 270 MB, free: 364 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008059/0.05049, allocations: 4.122 MB / 274.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006529/0.05702, allocations: 3.193 MB / 277.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00496/0.06198, allocations: 2.331 MB / 279.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004477/0.06645, allocations: 2.233 MB / 281.8 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008976/0.06735, allocations: 344 kB / 282.2 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.07005, allocations: 1.037 MB / 283.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.0725, allocations: 2.069 MB / 285.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002188/0.07469, allocations: 1.297 MB / 286.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.08599, allocations: 7.258 MB / 293.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.08599, allocations: 0 / 293.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.08599, allocations: 0 / 293.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002216/0.08622, allocations: 0 / 293.8 MB, free: 8.352 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.02077/0.107, allocations: 5.52 MB / 299.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/0.1071, allocations: 11.98 kB / 299.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008683/0.1157, allocations: 2.459 MB / 301.8 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1507/0.2664, allocations: 2.327 MB / 304.1 MB, free: 54.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.2667, allocations: 242.2 kB / 304.4 MB, free: 53.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.2677, allocations: 322.2 kB / 304.7 MB, free: 53.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/0.2881, allocations: 10.78 MB / 315.5 MB, free: 49.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.2882, allocations: 44.05 kB / 315.5 MB, free: 49.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/0.2886, allocations: 153 kB / 315.7 MB, free: 49.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00282/0.2915, allocations: 1.988 MB / 317.7 MB, free: 47.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.3071, allocations: 9.608 MB / 327.3 MB, free: 37.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04291/0.35, allocations: 37.15 MB / 364.4 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01449/0.3645, allocations: 3.447 MB / 367.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003216/0.3677, allocations: 1.724 MB / 369.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/0.3683, allocations: 140.7 kB / 369.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.3684, allocations: 45.53 kB / 369.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=148): time 4.959e-06/0.3684, allocations: 3.906 kB / 369.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=154): time 0.05711/0.4255, allocations: 14.48 MB / 384.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.4256, allocations: 149.5 kB / 384.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/0.4365, allocations: 3.943 MB / 388.3 MB, free: 8.125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00065/0.4372, allocations: 53.69 kB / 388.4 MB, free: 8.066 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00497/0.4422, allocations: 3.284 MB / 391.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/0.4436, allocations: 0.6281 MB / 392.3 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004099/0.4477, allocations: 1.23 MB / 393.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4479, allocations: 305.1 kB / 393.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004984/0.4529, allocations: 2.139 MB / 396 MB, free: 440 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009428/0.4623, allocations: 5.96 MB / 401.9 MB, free: 8.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/0.4764, allocations: 8.763 MB / 410.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/0.4766, allocations: 40 kB / 410.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.02157/0.4982, allocations: 8.883 MB / 419.6 MB, free: 4.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.4984, allocations: 65 kB / 419.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003645/0.4988, allocations: 136 kB / 419.8 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003083/0.5019, allocations: 0.9295 MB / 420.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005736/0.5076, allocations: 1.404 MB / 422.1 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009225/0.5168, allocations: 5.043 MB / 427.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006083/0.5229, allocations: 371.7 kB / 427.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/0.5245, allocations: 384 kB / 427.9 MB, free: 12.53 MB / 362.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.006193/0.5307, allocations: 2.111 MB / 430 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/0.5322, allocations: 365.8 kB / 430.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00809/0.5403, allocations: 3.093 MB / 433.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/0.5404, allocations: 16 kB / 433.5 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.5404, allocations: 4 kB / 433.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.5404, allocations: 11.92 kB / 433.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/0.5611, allocations: 6.786 MB / 440.3 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/0.5611, allocations: 8 kB / 440.3 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1511/0.7122, allocations: 264.8 kB / 440.6 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/0.7149, allocations: 0.7362 MB / 441.3 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003453/0.7152, allocations: 42.62 kB / 441.3 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006316/0.7215, allocations: 4.615 MB / 446 MB, free: 114.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7215, allocations: 2.469 kB / 446 MB, free: 114.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008815/0.7303, allocations: 5.69 MB / 451.7 MB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/0.7321, allocations: 0.5483 MB / 452.2 MB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005968/0.7327, allocations: 23.81 kB / 452.2 MB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.7343, allocations: 121.4 kB / 452.3 MB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/0.7347, allocations: 111.4 kB / 452.5 MB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.7348, allocations: 53.98 kB / 452.5 MB, free: 112.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003563/0.7384, allocations: 2.297 MB / 454.8 MB, free: 111.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7384, allocations: 6.906 kB / 454.8 MB, free: 111.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006052/0.7444, allocations: 1.033 MB / 455.8 MB, free: 111.6 MB / 362.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.000657/0.7451, allocations: 182.7 kB / 456 MB, free: 111.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008901/0.754, allocations: 4.925 MB / 460.9 MB, free: 109.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.754, allocations: 0 / 460.9 MB, free: 109.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002335/0.7563, allocations: 1.441 MB / 462.4 MB, free: 109.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/0.761, allocations: 405 kB / 462.8 MB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.7783, allocations: 9.223 MB / 472 MB, free: 102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003558/0.7818, allocations: 2.706 MB / 474.7 MB, free: 99.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003794/0.7856, allocations: 1.872 MB / 476.6 MB, free: 98.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/0.7864, allocations: 264.4 kB / 476.8 MB, free: 97.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.824e-06/0.7864, allocations: 0 / 476.8 MB, free: 97.79 MB / 362.7 MB Notification: Performance of Templates: time 0.05384/0.8402, allocations: 31.09 MB / 0.496 GB, free: 66.73 MB / 362.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: 6.63136197894346]