Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.006116/0.006116, allocations: 155.4 kB / 24.7 MB, free: 8.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8574/0.8574, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 3.938 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.384e-05, allocations: 2.984 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007494/0.007518, allocations: 9.678 MB / 335.5 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.01329, allocations: 3.652 MB / 339.1 MB, free: 2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008885/0.01418, allocations: 71.69 kB / 339.2 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.01679, allocations: 2.749 MB / 341.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.01931, allocations: 1.866 MB / 343.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.02011, allocations: 0.6276 MB / 344.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.02295, allocations: 3.967 MB / 348.4 MB, free: 8.695 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.02509, allocations: 2.997 MB / 351.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.02723, allocations: 2.206 MB / 353.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.02907, allocations: 2.104 MB / 355.7 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.02939, allocations: 320 kB / 356 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.0305, allocations: 0.9829 MB / 357 MB, free: 20 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.03156, allocations: 1.917 MB / 358.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008448/0.0324, allocations: 1.203 MB / 360.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.03689, allocations: 6.701 MB / 366.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.0369, allocations: 3.938 kB / 366.8 MB, free: 6.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.0369, allocations: 0 / 366.8 MB, free: 6.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.477e-05/0.03697, allocations: 4 kB / 366.8 MB, free: 6.16 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.008994/0.04596, allocations: 5.246 MB / 372.1 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.04601, allocations: 15.98 kB / 372.1 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.04951, allocations: 1.909 MB / 374 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.05222, allocations: 2.181 MB / 376.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.05233, allocations: 229.8 kB / 376.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.0527, allocations: 303.8 kB / 376.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009817/0.06252, allocations: 10.1 MB / 386.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.07e-05/0.06259, allocations: 39.64 kB / 386.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.06286, allocations: 147.9 kB / 387 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001837/0.0647, allocations: 1.805 MB / 388.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.07551, allocations: 9.037 MB / 397.8 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02602/0.1015, allocations: 35.54 MB / 433.4 MB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006403/0.1079, allocations: 3.241 MB / 436.6 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.1092, allocations: 1.586 MB / 438.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.1095, allocations: 132.3 kB / 438.3 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1095, allocations: 51.16 kB / 438.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.387e-06/0.1095, allocations: 0 / 438.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.1748/0.2843, allocations: 13.34 MB / 451.7 MB, free: 113.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.2844, allocations: 141 kB / 451.8 MB, free: 113.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.2886, allocations: 3.822 MB / 455.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.2889, allocations: 45.58 kB / 455.7 MB, free: 112.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009909/0.2899, allocations: 3.119 MB / 458.8 MB, free: 111 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.2902, allocations: 0.5614 MB / 459.4 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00078/0.291, allocations: 1.169 MB / 460.6 MB, free: 110.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.853e-05/0.291, allocations: 302.3 kB / 460.8 MB, free: 109.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.2925, allocations: 1.968 MB / 462.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.2948, allocations: 5.655 MB / 468.5 MB, free: 103.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005062/0.2999, allocations: 8.271 MB / 476.7 MB, free: 95.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-05/0.2999, allocations: 39.94 kB / 476.8 MB, free: 95.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.007731/0.3077, allocations: 8.062 MB / 484.8 MB, free: 87.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.3077, allocations: 64 kB / 484.9 MB, free: 87.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.464e-05/0.3078, allocations: 132 kB / 485 MB, free: 87.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.309, allocations: 0.9058 MB / 485.9 MB, free: 86.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.3108, allocations: 1.332 MB / 487.3 MB, free: 85.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.3142, allocations: 5.018 MB / 492.3 MB, free: 80.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.3164, allocations: 335.7 kB / 492.6 MB, free: 79.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.3166, allocations: 373.8 kB / 493 MB, free: 79.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (699): * Single equations (assignments): 695 * 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.001816/0.3184, allocations: 1.994 MB / 495 MB, free: 77.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.3186, allocations: 305.9 kB / 495.3 MB, free: 77.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.3211, allocations: 2.735 MB / 498 MB, free: 74.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3211, allocations: 16 kB / 498 MB, free: 74.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3211, allocations: 7.938 kB / 498 MB, free: 74.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3211, allocations: 3.984 kB / 498 MB, free: 74.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/0.3267, allocations: 6.182 MB / 0.4924 GB, free: 68.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3267, allocations: 4 kB / 0.4924 GB, free: 68.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.3271, allocations: 218.3 kB / 0.4926 GB, free: 67.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3281, allocations: 0.7154 MB / 0.4933 GB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.3282, allocations: 43.91 kB / 0.4934 GB, free: 67.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/0.3312, allocations: 4.605 MB / 0.4979 GB, free: 62.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3312, allocations: 7.875 kB / 0.4979 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.3349, allocations: 5.072 MB / 0.5028 GB, free: 57.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.3352, allocations: 297.8 kB / 0.5031 GB, free: 57.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.3354, allocations: 24 kB / 0.5031 GB, free: 57.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.336, allocations: 107.8 kB / 0.5032 GB, free: 56.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.3361, allocations: 100.4 kB / 0.5033 GB, free: 56.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/0.3362, allocations: 49 kB / 0.5034 GB, free: 56.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001605/0.3378, allocations: 2.212 MB / 0.5055 GB, free: 54.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3378, allocations: 4 kB / 0.5055 GB, free: 54.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002631/0.3404, allocations: 0.9491 MB / 0.5065 GB, free: 53.67 MB / 410.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 (101): * Single equations (assignments): 97 * 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.0003048/0.3408, allocations: 174.7 kB / 0.5066 GB, free: 53.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.3443, allocations: 4.532 MB / 0.511 GB, free: 48.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3443, allocations: 0 / 0.511 GB, free: 48.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009171/0.3452, allocations: 1.286 MB / 0.5123 GB, free: 47.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3463, allocations: 377.6 kB / 0.5127 GB, free: 47.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.3536, allocations: 8.822 MB / 0.5213 GB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.3552, allocations: 2.514 MB / 0.5237 GB, free: 35.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.3556, allocations: 300.4 kB / 0.524 GB, free: 35.64 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3556, allocations: 0 / 0.524 GB, free: 35.64 MB / 410.7 MB Notification: Performance of Templates: time 0.05995/0.4156, allocations: 71.7 MB / 0.594 GB, free: 11.98 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.033117183484137]