Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001809/0.001809, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001969/0.001969, allocations: 169.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.504/1.504, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 52.14 kB / 325.6 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09148, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01416/0.1056, allocations: 11.34 MB / 390.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008159/0.1138, allocations: 4.116 MB / 394.4 MB, free: 184 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.1148, allocations: 95.5 kB / 394.5 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006636/0.1215, allocations: 3.602 MB / 398.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.1261, allocations: 2.039 MB / 400.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1277, allocations: 0.698 MB / 400.8 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005164/0.1328, allocations: 4.21 MB / 405 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00425/0.1371, allocations: 3.608 MB / 408.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.1396, allocations: 1.861 MB / 410.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.143, allocations: 2.456 MB / 412.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007077/0.1437, allocations: 412 kB / 413.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.1456, allocations: 1.03 MB / 414.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002182/0.1478, allocations: 2.244 MB / 416.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002292/0.1501, allocations: 1.926 MB / 418.5 MB, free: 7.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008998/0.1591, allocations: 8.14 MB / 426.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1591, allocations: 0 / 426.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1591, allocations: 3.938 kB / 426.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001581/0.1593, allocations: 0 / 426.7 MB, free: 15.7 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01987/0.1791, allocations: 6.393 MB / 433.1 MB, free: 9.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1792, allocations: 11.97 kB / 433.1 MB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007265/0.1864, allocations: 2.041 MB / 435.1 MB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005899/0.1923, allocations: 2.624 MB / 437.8 MB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.1926, allocations: 291.5 kB / 438 MB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008975/0.1935, allocations: 395.8 kB / 438.4 MB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.2158, allocations: 12.25 MB / 450.7 MB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.216, allocations: 51.58 kB / 450.7 MB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004979/0.2165, allocations: 187.8 kB / 450.9 MB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004341/0.2208, allocations: 2.186 MB / 453.1 MB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/0.2441, allocations: 11.19 MB / 464.3 MB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2179/0.462, allocations: 43.63 MB / 0.496 GB, free: 49.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/0.4786, allocations: 4.941 MB / 0.5008 GB, free: 48.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003309/0.4819, allocations: 3.075 MB / 0.5038 GB, free: 47.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.4824, allocations: 138.5 kB / 0.504 GB, free: 46.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4824, allocations: 64.36 kB / 0.504 GB, free: 46.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=200): time 4.378e-06/0.4824, allocations: 0 / 0.504 GB, free: 46.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.06666/0.5491, allocations: 27.62 MB / 0.531 GB, free: 22.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.5491, allocations: 153.5 kB / 0.5312 GB, free: 21.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/0.5529, allocations: 4.02 MB / 0.5351 GB, free: 18.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003008/0.5532, allocations: 63.11 kB / 0.5351 GB, free: 18.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.5545, allocations: 3.6 MB / 0.5387 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006444/0.5551, allocations: 0.9174 MB / 0.5396 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/0.5567, allocations: 1.482 MB / 0.541 GB, free: 12.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.555e-05/0.5567, allocations: 301.1 kB / 0.5413 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/0.5602, allocations: 3.288 MB / 0.5445 GB, free: 8.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/0.5651, allocations: 7.226 MB / 0.5516 GB, free: 15.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/0.58, allocations: 11.33 MB / 0.5626 GB, free: 2.262 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.5801, allocations: 40 kB / 0.5627 GB, free: 2.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02092/0.601, allocations: 11.42 MB / 0.5738 GB, free: 6.801 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.6011, allocations: 64 kB / 0.5739 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/0.6013, allocations: 140.2 kB / 0.574 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/0.6044, allocations: 1.121 MB / 0.5751 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006386/0.6108, allocations: 1.756 MB / 0.5768 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009095/0.6198, allocations: 6.162 MB / 0.5828 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005484/0.6253, allocations: 419.7 kB / 0.5832 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/0.6268, allocations: 463.8 kB / 0.5837 GB, free: 12.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (834): * Single equations (assignments): 830 * 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.004975/0.6318, allocations: 2.336 MB / 0.586 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/0.6329, allocations: 373.5 kB / 0.5863 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.6453, allocations: 6.1 MB / 0.5923 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/0.6454, allocations: 31.98 kB / 0.5923 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.6454, allocations: 0 / 0.5923 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.549e-05/0.6454, allocations: 11.97 kB / 0.5923 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/0.668, allocations: 11.34 MB / 0.6034 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.668, allocations: 5.781 kB / 0.6034 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003048/0.671, allocations: 0.5764 MB / 0.6039 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002835/0.6739, allocations: 0.9463 MB / 0.6049 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004263/0.6743, allocations: 103.4 kB / 0.605 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008678/0.683, allocations: 5.917 MB / 0.6107 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.683, allocations: 4 kB / 0.6108 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/0.7009, allocations: 10.36 MB / 0.6209 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/0.7034, allocations: 0.7707 MB / 0.6216 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/0.7045, allocations: 44 kB / 0.6217 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002728/0.7072, allocations: 167.7 kB / 0.6218 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007281/0.7079, allocations: 201.6 kB / 0.622 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004524/0.7084, allocations: 123.2 kB / 0.6221 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004499/0.7129, allocations: 2.321 MB / 0.6244 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7129, allocations: 3.938 kB / 0.6244 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006367/0.7192, allocations: 1.187 MB / 0.6256 GB, free: 1.516 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0007913/0.72, allocations: 190.1 kB / 0.6257 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0138/0.7338, allocations: 7.505 MB / 0.6331 GB, free: 9.84 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.7338, allocations: 0 / 0.6331 GB, free: 9.84 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005224/0.7391, allocations: 2.817 MB / 0.6358 GB, free: 7.012 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/0.7427, allocations: 446.6 kB / 0.6363 GB, free: 6.594 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.765, allocations: 11.95 MB / 0.6479 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005759/0.7708, allocations: 3.104 MB / 0.651 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006223/0.777, allocations: 2.227 MB / 0.6531 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/0.7789, allocations: 448.1 kB / 0.6536 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of SimCode: time 1.442e-06/0.7789, allocations: 0 / 0.6536 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of Templates: time 0.273/1.052, allocations: 48.35 MB / 0.7008 GB, free: 181.7 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.946421644068323]