Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.001592/0.001592, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001046/0.001046, allocations: 165.2 kB / 25.7 MB, free: 8.434 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.835/0.835, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.732e-05, allocations: 10.25 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.008866/0.008883, allocations: 13 MB / 264.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006302/0.01519, allocations: 4.461 MB / 269 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008364/0.01602, allocations: 95.56 kB / 269.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.01951, allocations: 4.01 MB / 273.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.02227, allocations: 2.274 MB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009125/0.02318, allocations: 0.7446 MB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.02635, allocations: 4.802 MB / 280.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.02917, allocations: 4.211 MB / 285.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.03153, allocations: 3.037 MB / 288.2 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.03356, allocations: 2.517 MB / 290.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000418/0.03398, allocations: 428 kB / 291.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.0351, allocations: 1.1 MB / 292.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.0364, allocations: 2.497 MB / 294.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.03754, allocations: 1.605 MB / 296.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003492/0.04104, allocations: 5.386 MB / 301.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.04104, allocations: 0 / 301.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.04104, allocations: 4 kB / 301.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.646e-05/0.0411, allocations: 0 / 301.7 MB, free: 4.852 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.005345/0.04644, allocations: 5.708 MB / 307.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.04647, allocations: 15.98 kB / 307.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.04905, allocations: 1.23 MB / 308.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.0511, allocations: 2.092 MB / 310.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.05124, allocations: 303.9 kB / 311 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004252/0.05166, allocations: 411.8 kB / 311.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005398/0.05706, allocations: 5.864 MB / 317.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-05/0.05715, allocations: 43.62 kB / 317.3 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/0.05747, allocations: 191.8 kB / 317.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/0.05904, allocations: 1.953 MB / 319.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004298/0.06334, allocations: 2.936 MB / 322.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1281/0.1915, allocations: 35.68 MB / 358.1 MB, free: 68.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/0.1951, allocations: 1.676 MB / 359.8 MB, free: 68.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.1955, allocations: 434.4 kB / 360.2 MB, free: 68.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004937/0.2005, allocations: 4.254 MB / 364.5 MB, free: 67.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2005, allocations: 50.19 kB / 364.5 MB, free: 67.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 3.146e-06/0.2005, allocations: 0.625 kB / 364.5 MB, free: 67.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=176): time 0.0106/0.2111, allocations: 5.587 MB / 370.1 MB, free: 67.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.2111, allocations: 147.7 kB / 370.2 MB, free: 67.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.2132, allocations: 3.563 MB / 373.8 MB, free: 66.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.678e-05/0.2132, allocations: 51.67 kB / 373.8 MB, free: 66.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009299/0.2142, allocations: 3.675 MB / 377.5 MB, free: 64.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.2145, allocations: 0.7207 MB / 378.2 MB, free: 63.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007864/0.2152, allocations: 1.288 MB / 379.5 MB, free: 63.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.509e-05/0.2153, allocations: 307.2 kB / 379.8 MB, free: 62.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.2163, allocations: 0.8268 MB / 380.7 MB, free: 62.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.2181, allocations: 5.008 MB / 385.7 MB, free: 55.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/0.2215, allocations: 6.45 MB / 392.1 MB, free: 47.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-05/0.2216, allocations: 44 kB / 392.2 MB, free: 47.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.005612/0.2272, allocations: 4.642 MB / 396.8 MB, free: 42.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.2273, allocations: 72 kB / 396.9 MB, free: 42.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/0.2274, allocations: 155.9 kB / 397 MB, free: 42.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/0.2278, allocations: 255.6 kB / 397.3 MB, free: 42.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.2302, allocations: 1.571 MB / 398.8 MB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.2313, allocations: 1.608 MB / 400.5 MB, free: 39.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/0.2342, allocations: 307.8 kB / 400.8 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.2345, allocations: 364 kB / 401.1 MB, free: 38.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 702 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (861): * Single equations (assignments): 857 * 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.001243/0.2357, allocations: 0.6887 MB / 401.8 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.2361, allocations: 239.7 kB / 402 MB, free: 37.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.2372, allocations: 0.9877 MB / 403 MB, free: 36.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.2372, allocations: 20 kB / 403 MB, free: 36.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2373, allocations: 0 / 403 MB, free: 36.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.2373, allocations: 12.72 kB / 403.1 MB, free: 36.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/0.2426, allocations: 4.56 MB / 407.6 MB, free: 31.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.2426, allocations: 4.656 kB / 407.6 MB, free: 31.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.2433, allocations: 287.5 kB / 407.9 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.2436, allocations: 79.56 kB / 408 MB, free: 31.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.064e-05/0.2437, allocations: 38.86 kB / 408 MB, free: 31.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009458/0.2446, allocations: 1.523 MB / 409.5 MB, free: 29.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2446, allocations: 11.94 kB / 409.5 MB, free: 29.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.2464, allocations: 1.95 MB / 411.5 MB, free: 27.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007036/0.2471, allocations: 465.2 kB / 412 MB, free: 27.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.2474, allocations: 39.98 kB / 412 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.248, allocations: 32 kB / 412 MB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.2482, allocations: 124.6 kB / 412.1 MB, free: 27.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.2482, allocations: 43.98 kB / 412.2 MB, free: 27.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001004/0.2492, allocations: 1.293 MB / 413.5 MB, free: 25.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2492, allocations: 4 kB / 413.5 MB, free: 25.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003184/0.2524, allocations: 1.129 MB / 414.6 MB, free: 24.67 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (162): * Single equations (assignments): 158 * 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.0003713/0.2528, allocations: 179.9 kB / 414.8 MB, free: 24.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.2555, allocations: 2.774 MB / 417.6 MB, free: 21.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000149/0.2557, allocations: 100.2 kB / 417.7 MB, free: 21.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.2562, allocations: 0.5844 MB / 418.2 MB, free: 21.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.2579, allocations: 0.6719 MB / 418.9 MB, free: 20.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.2666, allocations: 8.651 MB / 427.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009949/0.2676, allocations: 1.444 MB / 429 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001248/0.2688, allocations: 0.5504 MB / 429.6 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/0.2696, allocations: 0.5871 MB / 430.1 MB, free: 8.941 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2696, allocations: 0 / 430.1 MB, free: 8.941 MB / 330.7 MB Notification: Performance of Templates: time 0.04663/0.3163, allocations: 32.16 MB / 462.3 MB, free: 8.805 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.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.577753699850291]