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.001809/0.001809, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.002317/0.002317, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.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 0.001666/0.001666, allocations: 51.92 kB / 378.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2936, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0132/0.3068, allocations: 9.669 MB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008868/0.3156, allocations: 3.646 MB / 444.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.3172, allocations: 75.62 kB / 445 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005411/0.3226, allocations: 2.613 MB / 447.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.3275, allocations: 1.802 MB / 449.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3288, allocations: 0.581 MB / 450 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00492/0.3338, allocations: 3.566 MB / 453.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/0.3374, allocations: 2.728 MB / 456.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.3397, allocations: 1.476 MB / 457.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.3429, allocations: 2.021 MB / 459.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007335/0.3436, allocations: 316 kB / 460.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3456, allocations: 0.9401 MB / 461 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001899/0.3475, allocations: 1.842 MB / 462.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.3494, allocations: 1.538 MB / 464.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008048/0.3575, allocations: 6.7 MB / 471.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3575, allocations: 0 / 471.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3575, allocations: 0 / 471.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001711/0.3577, allocations: 0 / 471.1 MB, free: 15.03 MB / 382.1 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.01721/0.3749, allocations: 5.093 MB / 476.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3749, allocations: 8.031 kB / 476.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006732/0.3816, allocations: 1.878 MB / 478.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005276/0.3869, allocations: 2.189 MB / 480.2 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.3871, allocations: 225.7 kB / 480.5 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007507/0.3879, allocations: 303.8 kB / 480.8 MB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.4081, allocations: 10.02 MB / 490.8 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003015/0.4084, allocations: 43.64 kB / 490.8 MB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/0.4098, allocations: 143.9 kB / 491 MB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003657/0.4134, allocations: 1.809 MB / 492.8 MB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/0.4333, allocations: 8.947 MB / 0.49 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05152/0.4849, allocations: 35.34 MB / 0.5245 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.4977, allocations: 3.035 MB / 0.5274 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/0.5001, allocations: 1.579 MB / 0.529 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005075/0.5006, allocations: 112.5 kB / 0.5291 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.5007, allocations: 51.2 kB / 0.5291 GB, free: 6.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.188e-06/0.5007, allocations: 3.938 kB / 0.5291 GB, free: 6.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.295/0.7957, allocations: 12.75 MB / 0.5416 GB, free: 99.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.7957, allocations: 140.2 kB / 0.5417 GB, free: 99.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004785/0.8005, allocations: 3.735 MB / 0.5454 GB, free: 97.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.8008, allocations: 41.58 kB / 0.5454 GB, free: 97.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.8022, allocations: 3.157 MB / 0.5485 GB, free: 95.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005525/0.8027, allocations: 0.5616 MB / 0.549 GB, free: 95.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.8038, allocations: 1.182 MB / 0.5502 GB, free: 94.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.8039, allocations: 305.1 kB / 0.5505 GB, free: 94.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.8061, allocations: 1.96 MB / 0.5524 GB, free: 93.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/0.8094, allocations: 5.655 MB / 0.5579 GB, free: 87.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006854/0.8163, allocations: 8.255 MB / 0.566 GB, free: 78.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/0.8164, allocations: 40 kB / 0.566 GB, free: 78.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01272/0.8291, allocations: 8.044 MB / 0.5739 GB, free: 70.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.8292, allocations: 60 kB / 0.5739 GB, free: 70.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.8293, allocations: 132.9 kB / 0.5741 GB, free: 70.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/0.8314, allocations: 0.9112 MB / 0.575 GB, free: 69.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003684/0.8351, allocations: 1.314 MB / 0.5762 GB, free: 68.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005657/0.8408, allocations: 5.022 MB / 0.5811 GB, free: 63.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/0.8456, allocations: 314.3 kB / 0.5814 GB, free: 63.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/0.8467, allocations: 368 kB / 0.5818 GB, free: 62.67 MB / 446.1 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.003585/0.8503, allocations: 1.983 MB / 0.5837 GB, free: 60.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009514/0.8513, allocations: 313.9 kB / 0.584 GB, free: 60.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.8563, allocations: 2.712 MB / 0.5867 GB, free: 57.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/0.8563, allocations: 19.28 kB / 0.5867 GB, free: 57.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.8563, allocations: 4 kB / 0.5867 GB, free: 57.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.8563, allocations: 3.984 kB / 0.5867 GB, free: 57.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.8699, allocations: 6.085 MB / 0.5926 GB, free: 51.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.8699, allocations: 12.03 kB / 0.5927 GB, free: 51.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.8709, allocations: 211.7 kB / 0.5929 GB, free: 51.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.8728, allocations: 0.7147 MB / 0.5936 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.873, allocations: 35.97 kB / 0.5936 GB, free: 50.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004999/0.878, allocations: 4.584 MB / 0.5981 GB, free: 45.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.878, allocations: 7.969 kB / 0.5981 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006774/0.8848, allocations: 5.052 MB / 0.603 GB, free: 40.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.8859, allocations: 281.8 kB / 0.6033 GB, free: 40.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007776/0.8866, allocations: 23.94 kB / 0.6033 GB, free: 40.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.8882, allocations: 75.11 kB / 0.6034 GB, free: 40.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.8885, allocations: 88.48 kB / 0.6035 GB, free: 40.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.8886, allocations: 47.97 kB / 0.6035 GB, free: 40.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004583/0.8932, allocations: 2.15 MB / 0.6056 GB, free: 38.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8932, allocations: 0 / 0.6056 GB, free: 38.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006498/0.8997, allocations: 0.8749 MB / 0.6065 GB, free: 37.26 MB / 446.1 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.0005517/0.9002, allocations: 162.4 kB / 0.6066 GB, free: 37.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00712/0.9074, allocations: 4.52 MB / 0.611 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.9074, allocations: 0 / 0.611 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.909, allocations: 1.267 MB / 0.6123 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.9122, allocations: 377.2 kB / 0.6126 GB, free: 30.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.9271, allocations: 8.442 MB / 0.6209 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004324/0.9314, allocations: 2.514 MB / 0.6233 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004232/0.9357, allocations: 1.784 MB / 0.6251 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008568/0.9365, allocations: 239.3 kB / 0.6253 GB, free: 17.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/0.9365, allocations: 0 / 0.6253 GB, free: 17.91 MB / 446.1 MB Notification: Performance of Templates: time 0.06143/0.998, allocations: 31.98 MB / 0.6565 GB, free: 2.398 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.53625150769949]