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.002185/0.002185, allocations: 121.4 kB / 18.51 MB, free: 4.539 MB / 14.72 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.002791/0.002791, allocations: 213.6 kB / 21.46 MB, free: 1.59 MB / 14.72 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 1.464/1.464, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00191/0.00191, allocations: 63.89 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1152, allocations: 53.32 MB / 427.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01368/0.1289, allocations: 11.04 MB / 438.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00801/0.1369, allocations: 3.843 MB / 442 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.1384, allocations: 67.81 kB / 442.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004927/0.1434, allocations: 2.71 MB / 444.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004411/0.1478, allocations: 1.798 MB / 446.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1491, allocations: 0.581 MB / 447.2 MB, free: 380 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2485/0.3976, allocations: 3.564 MB / 450.8 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004076/0.4016, allocations: 2.985 MB / 453.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.4047, allocations: 1.444 MB / 455.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004298/0.409, allocations: 2.148 MB / 457.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.4102, allocations: 315.6 kB / 457.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.413, allocations: 1.072 MB / 458.7 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002663/0.4157, allocations: 1.836 MB / 460.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002965/0.4187, allocations: 2.076 MB / 462.6 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009023/0.4277, allocations: 6.68 MB / 469.3 MB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4277, allocations: 3.422 kB / 469.3 MB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4277, allocations: 1.219 kB / 469.3 MB, free: 4.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002407/0.4279, allocations: 0 / 469.3 MB, free: 4.266 MB / 366.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.0189/0.4468, allocations: 5.163 MB / 474.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4469, allocations: 8.625 kB / 474.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006855/0.4537, allocations: 1.88 MB / 476.4 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/0.4589, allocations: 2.246 MB / 478.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.4592, allocations: 234.1 kB / 478.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008125/0.46, allocations: 297.3 kB / 479.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/0.4808, allocations: 10.01 MB / 489.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001272/0.4809, allocations: 41.14 kB / 489.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005391/0.4814, allocations: 153.4 kB / 489.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003586/0.485, allocations: 1.8 MB / 491.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.5059, allocations: 8.966 MB / 0.4884 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05405/0.5599, allocations: 37.81 MB / 0.5253 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.5739, allocations: 3.491 MB / 0.5287 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002482/0.5764, allocations: 1.574 MB / 0.5302 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006404/0.577, allocations: 356.3 kB / 0.5306 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.577, allocations: 44.5 kB / 0.5306 GB, free: 2.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.889e-06/0.577, allocations: 0 / 0.5306 GB, free: 2.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04541/0.6225, allocations: 12.89 MB / 0.5432 GB, free: 5.066 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.6226, allocations: 141.2 kB / 0.5434 GB, free: 4.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006145/0.6287, allocations: 4.053 MB / 0.5473 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.629, allocations: 44.67 kB / 0.5474 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.6315, allocations: 3.138 MB / 0.5504 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000921/0.6324, allocations: 0.5602 MB / 0.551 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/0.6343, allocations: 1.182 MB / 0.5521 GB, free: 11.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6345, allocations: 304.9 kB / 0.5524 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/0.6383, allocations: 1.967 MB / 0.5543 GB, free: 9.629 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006998/0.6453, allocations: 5.653 MB / 0.5598 GB, free: 2.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/0.6567, allocations: 8.256 MB / 0.5679 GB, free: 8.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/0.6568, allocations: 36 kB / 0.5679 GB, free: 8.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02083/0.6776, allocations: 8.098 MB / 0.5759 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.6777, allocations: 60 kB / 0.5759 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/0.6779, allocations: 132 kB / 0.576 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.6808, allocations: 0.907 MB / 0.5769 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005105/0.6859, allocations: 1.31 MB / 0.5782 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007952/0.6939, allocations: 5.203 MB / 0.5833 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/0.6989, allocations: 307.8 kB / 0.5836 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/0.7001, allocations: 372 kB / 0.5839 GB, free: 7.5 MB / 494.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.004807/0.7049, allocations: 1.978 MB / 0.5859 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008868/0.7058, allocations: 349.6 kB / 0.5862 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005969/0.7118, allocations: 2.755 MB / 0.5889 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/0.7118, allocations: 23.84 kB / 0.5889 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.7118, allocations: 4 kB / 0.5889 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.7118, allocations: 3.984 kB / 0.5889 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.7266, allocations: 7.055 MB / 0.5958 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.7266, allocations: 4 kB / 0.5958 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.7277, allocations: 211.8 kB / 0.596 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002325/0.7301, allocations: 0.7181 MB / 0.5967 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.7303, allocations: 35.97 kB / 0.5967 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006902/0.7372, allocations: 4.754 MB / 0.6014 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.7372, allocations: 4.031 kB / 0.6014 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/0.7461, allocations: 5.103 MB / 0.6064 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.7474, allocations: 406.8 kB / 0.6068 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/0.7479, allocations: 20.88 kB / 0.6068 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.7492, allocations: 71.91 kB / 0.6069 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003395/0.7496, allocations: 91.05 kB / 0.6069 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.7497, allocations: 47.97 kB / 0.607 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005224/0.7549, allocations: 2.533 MB / 0.6095 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7549, allocations: 0 / 0.6095 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006754/0.7617, allocations: 0.8864 MB / 0.6103 GB, free: 12.19 MB / 0.5137 GB 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.0006478/0.7623, allocations: 157.5 kB / 0.6105 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009235/0.7716, allocations: 4.517 MB / 0.6149 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.7716, allocations: 8.062 kB / 0.6149 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.7738, allocations: 1.272 MB / 0.6161 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.7769, allocations: 420.2 kB / 0.6165 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.7948, allocations: 8.459 MB / 0.6248 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004658/0.7995, allocations: 3.056 MB / 0.6278 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004794/0.8043, allocations: 1.842 MB / 0.6296 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009346/0.8052, allocations: 255.3 kB / 0.6298 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of SimCode: time 2.074e-06/0.8052, allocations: 4 kB / 0.6298 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of Templates: time 0.2951/1.1, allocations: 32.2 MB / 0.6613 GB, free: 170.5 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.675206977874041]