Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00106/0.00106, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.002437, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009458/0.0009458, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.002115, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9287/0.9287, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09515/1.024, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.449e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007718/0.007733, allocations: 10.55 MB / 255.1 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006185/0.01392, allocations: 3.916 MB / 259 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.0147, allocations: 71.69 kB / 259.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.0172, allocations: 2.725 MB / 261.8 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.02001, allocations: 1.831 MB / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.02084, allocations: 0.5964 MB / 264.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.02377, allocations: 3.89 MB / 268.1 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.02582, allocations: 2.867 MB / 271 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.02783, allocations: 2.377 MB / 273.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1125/0.1403, allocations: 1.987 MB / 275.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008433/0.1412, allocations: 313.8 kB / 275.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.143, allocations: 1.007 MB / 276.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.1444, allocations: 1.712 MB / 278.4 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.1458, allocations: 0.9801 MB / 279.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005066/0.1509, allocations: 3.956 MB / 283.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.576e-05/0.1509, allocations: 0 / 283.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1509, allocations: 0 / 283.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001852/0.1511, allocations: 0 / 283.3 MB, free: 5.078 MB / 266.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.007519/0.1586, allocations: 5.319 MB / 288.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1587, allocations: 10.75 kB / 288.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.1611, allocations: 1.042 MB / 289.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.163, allocations: 1.688 MB / 291.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.163, allocations: 222.8 kB / 291.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.1633, allocations: 296.4 kB / 291.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004343/0.1677, allocations: 4.578 MB / 296.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.64e-05/0.1678, allocations: 37.55 kB / 296.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.168, allocations: 147.4 kB / 296.6 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001071/0.1691, allocations: 1.527 MB / 298.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.1723, allocations: 2.245 MB / 300.4 MB, free: 0 / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.1941, allocations: 29.23 MB / 329.6 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.1963, allocations: 1.024 MB / 330.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1966, allocations: 232.1 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003507/0.2001, allocations: 2.63 MB / 333.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2001, allocations: 50.55 kB / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=93): time 2.875e-06/0.2001, allocations: 0 / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.00507/0.2052, allocations: 2.287 MB / 335.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.2052, allocations: 142 kB / 336 MB, free: 12.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.2079, allocations: 3.171 MB / 339.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.208, allocations: 37.7 kB / 339.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.2095, allocations: 3.053 MB / 342.2 MB, free: 7.098 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.2098, allocations: 430.9 kB / 342.6 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007954/0.2106, allocations: 1.083 MB / 343.7 MB, free: 5.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.2106, allocations: 301.1 kB / 344 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009681/0.2116, allocations: 0.6389 MB / 344.7 MB, free: 4.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/0.2143, allocations: 4.334 MB / 349 MB, free: 14.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004405/0.2187, allocations: 5.513 MB / 354.5 MB, free: 7.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.528e-05/0.2188, allocations: 40 kB / 354.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=729) (initialization): time 0.005297/0.2241, allocations: 3.871 MB / 358.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.2242, allocations: 68.03 kB / 358.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/0.2243, allocations: 136 kB / 358.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.2247, allocations: 215.6 kB / 358.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/0.2274, allocations: 1.423 MB / 360.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.2286, allocations: 1.518 MB / 361.8 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.2311, allocations: 259.8 kB / 362 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/0.2314, allocations: 318.6 kB / 362.3 MB, free: 15.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (703): * Single equations (assignments): 699 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001528/0.2329, allocations: 0.6107 MB / 362.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.2333, allocations: 174.5 kB / 363.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.2339, allocations: 485.5 kB / 363.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.2339, allocations: 12 kB / 363.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2339, allocations: 7.938 kB / 363.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2339, allocations: 7.922 kB / 363.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.2377, allocations: 2.779 MB / 366.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2377, allocations: 4.219 kB / 366.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.2381, allocations: 151.8 kB / 366.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.2384, allocations: 269.8 kB / 366.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/0.2386, allocations: 51.56 kB / 366.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.2386, allocations: 16 kB / 366.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009093/0.2395, allocations: 1.439 MB / 368.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2395, allocations: 3.938 kB / 368.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/0.2405, allocations: 1.207 MB / 369.5 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.2406, allocations: 23.59 kB / 369.6 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.241, allocations: 20 kB / 369.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.2411, allocations: 59.77 kB / 369.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.2412, allocations: 24 kB / 369.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009536/0.2421, allocations: 1.135 MB / 370.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2421, allocations: 0 / 370.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002709/0.2448, allocations: 0.832 MB / 371.6 MB, free: 6.973 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (71): * Single equations (assignments): 67 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/0.2451, allocations: 149.5 kB / 371.8 MB, free: 6.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002677/0.2478, allocations: 2.164 MB / 373.9 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001703/0.2479, allocations: 105.2 kB / 374 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.2482, allocations: 329.9 kB / 374.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.2499, allocations: 0.7388 MB / 375.1 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/0.2598, allocations: 6.532 MB / 381.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009263/0.2607, allocations: 1.113 MB / 382.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00113/0.2619, allocations: 452 kB / 383.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.2624, allocations: 481.2 kB / 383.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2624, allocations: 0 / 383.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Templates: time 0.03795/0.3004, allocations: 22.88 MB / 406.5 MB, free: 4.324 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3630599109455943]