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.001122/0.001122, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.00254, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001098/0.001098, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.00245, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9608/0.9608, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09145/1.052, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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 1.653e-06/1.653e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.92e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01196/0.01198, allocations: 10.53 MB / 255.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00606/0.01804, allocations: 3.92 MB / 259.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000779/0.01882, allocations: 79.62 kB / 259.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.02139, allocations: 2.717 MB / 262.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.02381, allocations: 1.843 MB / 264.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.0246, allocations: 0.5847 MB / 264.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.02729, allocations: 3.905 MB / 268.6 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.02934, allocations: 2.878 MB / 271.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.03126, allocations: 2.381 MB / 273.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1145/0.1457, allocations: 1.981 MB / 275.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008788/0.1466, allocations: 313.1 kB / 276.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.1483, allocations: 1.006 MB / 277.1 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.1497, allocations: 1.714 MB / 278.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.1512, allocations: 0.9801 MB / 279.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.1552, allocations: 3.953 MB / 283.8 MB, free: 5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.1552, allocations: 4.156 kB / 283.8 MB, free: 5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1552, allocations: 0 / 283.8 MB, free: 5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.005e-05/0.1553, allocations: 0 / 283.8 MB, free: 5 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.004798/0.1601, allocations: 5.317 MB / 289.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1601, allocations: 8.812 kB / 289.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.1624, allocations: 1.042 MB / 290.2 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.1639, allocations: 1.681 MB / 291.8 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.686e-05/0.164, allocations: 225.8 kB / 292.1 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.1643, allocations: 293.4 kB / 292.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.1679, allocations: 4.586 MB / 296.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/0.168, allocations: 42.53 kB / 297 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.1683, allocations: 146.9 kB / 297.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001057/0.1694, allocations: 1.522 MB / 298.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/0.1722, allocations: 2.231 MB / 300.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/0.1901, allocations: 29.22 MB / 330.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.1921, allocations: 1.013 MB / 331.1 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.1924, allocations: 234 kB / 331.3 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002981/0.1953, allocations: 2.644 MB / 334 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1954, allocations: 52.36 kB / 334 MB, free: 14.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=93): time 2.254e-06/0.1954, allocations: 0 / 334 MB, free: 14.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.004324/0.1997, allocations: 2.294 MB / 336.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1997, allocations: 136.5 kB / 336.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.2019, allocations: 3.164 MB / 339.6 MB, free: 9.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.202, allocations: 33.7 kB / 339.7 MB, free: 9.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.2032, allocations: 3.053 MB / 342.7 MB, free: 6.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.2034, allocations: 439.1 kB / 343.1 MB, free: 5.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007838/0.2042, allocations: 1.083 MB / 344.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.2043, allocations: 305.1 kB / 344.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/0.2051, allocations: 0.6396 MB / 345.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.2075, allocations: 4.329 MB / 349.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003694/0.2112, allocations: 5.506 MB / 355 MB, free: 6.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.893e-05/0.2112, allocations: 44 kB / 355 MB, free: 6.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=729) (initialization): time 0.003891/0.2151, allocations: 3.861 MB / 358.9 MB, free: 2.887 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.2152, allocations: 64 kB / 359 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.434e-05/0.2152, allocations: 136 kB / 359.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.2155, allocations: 232.4 kB / 359.3 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.2175, allocations: 1.415 MB / 360.7 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008621/0.2184, allocations: 1.51 MB / 362.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.22, allocations: 263.7 kB / 362.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.2202, allocations: 318.2 kB / 362.8 MB, free: 14.88 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.001208/0.2214, allocations: 0.6027 MB / 363.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.2216, allocations: 178.5 kB / 363.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/0.2222, allocations: 485.4 kB / 364.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.2222, allocations: 16 kB / 364.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2222, allocations: 8 kB / 364.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2222, allocations: 3.984 kB / 364.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.2252, allocations: 2.78 MB / 366.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2252, allocations: 7.984 kB / 366.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.2256, allocations: 147.8 kB / 367 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.2258, allocations: 278 kB / 367.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.226, allocations: 55.41 kB / 367.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.226, allocations: 16 kB / 367.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008211/0.2268, allocations: 1.438 MB / 368.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2268, allocations: 4 kB / 368.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.2277, allocations: 1.202 MB / 370 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.2279, allocations: 12 kB / 370 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.2283, allocations: 19.98 kB / 370 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.2284, allocations: 59.78 kB / 370.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.2284, allocations: 24.22 kB / 370.1 MB, free: 7.883 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008839/0.2293, allocations: 1.139 MB / 371.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2293, allocations: 0 / 371.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002305/0.2316, allocations: 0.8397 MB / 372.1 MB, free: 6.055 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.0002514/0.2318, allocations: 151.1 kB / 372.2 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.2337, allocations: 2.163 MB / 374.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001632/0.2339, allocations: 104.2 kB / 374.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.2342, allocations: 323.8 kB / 374.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.2355, allocations: 0.7335 MB / 375.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009067/0.2446, allocations: 6.544 MB / 382.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/0.2454, allocations: 1.109 MB / 383.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009498/0.2464, allocations: 461.4 kB / 383.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.2469, allocations: 481.2 kB / 384.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2469, allocations: 0 / 384.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of Templates: time 0.03509/0.282, allocations: 22.87 MB / 407 MB, free: 3.375 MB / 378.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] 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","",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.481862870976329]