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.001665/0.001665, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001737/0.001737, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.609/1.609, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001878/0.001878, allocations: 47.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1266, allocations: 53.33 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2483/0.3749, allocations: 11.04 MB / 437.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007659/0.3825, allocations: 3.843 MB / 441.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.3849, allocations: 73.38 kB / 441.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006447/0.3913, allocations: 2.713 MB / 444.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.3967, allocations: 1.796 MB / 446.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3983, allocations: 0.5796 MB / 446.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005552/0.4038, allocations: 3.57 MB / 450.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004794/0.4086, allocations: 2.987 MB / 453.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.4124, allocations: 1.473 MB / 454.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.4167, allocations: 2.135 MB / 457 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.4178, allocations: 319.9 kB / 457.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.4205, allocations: 1.07 MB / 458.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.4228, allocations: 1.838 MB / 460.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003287/0.4261, allocations: 2.079 MB / 462.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009211/0.4353, allocations: 6.677 MB / 469 MB, free: 4.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4353, allocations: 5.547 kB / 469 MB, free: 4.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4353, allocations: 0 / 469 MB, free: 4.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002197/0.4355, allocations: 0 / 469 MB, free: 4.84 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.02066/0.4562, allocations: 5.171 MB / 474.2 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4562, allocations: 8.031 kB / 474.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007762/0.464, allocations: 1.879 MB / 476 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00634/0.4703, allocations: 2.248 MB / 478.3 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.4705, allocations: 225.7 kB / 478.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009303/0.4714, allocations: 303.8 kB / 478.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02138/0.4928, allocations: 10.02 MB / 488.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.4929, allocations: 39.64 kB / 488.9 MB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004715/0.4934, allocations: 148.9 kB / 489 MB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003464/0.4969, allocations: 1.809 MB / 490.8 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.5167, allocations: 8.958 MB / 499.8 MB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05175/0.5685, allocations: 37.82 MB / 0.525 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.5828, allocations: 3.486 MB / 0.5284 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/0.5853, allocations: 1.576 MB / 0.5299 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/0.5859, allocations: 347.8 kB / 0.5303 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.586, allocations: 51.05 kB / 0.5303 GB, free: 10.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.658e-06/0.586, allocations: 0 / 0.5303 GB, free: 10.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04579/0.6318, allocations: 12.88 MB / 0.5429 GB, free: 13.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/0.6319, allocations: 141.4 kB / 0.543 GB, free: 12.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/0.638, allocations: 4.057 MB / 0.547 GB, free: 8.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002984/0.6383, allocations: 45.64 kB / 0.547 GB, free: 8.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/0.6407, allocations: 3.139 MB / 0.5501 GB, free: 5.586 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007213/0.6414, allocations: 0.5584 MB / 0.5507 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/0.6431, allocations: 1.178 MB / 0.5518 GB, free: 3.832 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6432, allocations: 305.1 kB / 0.5521 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.6464, allocations: 1.963 MB / 0.554 GB, free: 1.562 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00615/0.6525, allocations: 5.654 MB / 0.5595 GB, free: 10.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.6631, allocations: 8.264 MB / 0.5676 GB, free: 15.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.707e-05/0.6632, allocations: 36 kB / 0.5676 GB, free: 15.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01518/0.6784, allocations: 8.091 MB / 0.5755 GB, free: 7.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-05/0.6785, allocations: 60 kB / 0.5756 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/0.6786, allocations: 132.9 kB / 0.5757 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/0.6813, allocations: 0.9103 MB / 0.5766 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/0.6856, allocations: 1.31 MB / 0.5779 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007688/0.6932, allocations: 5.2 MB / 0.583 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/0.6977, allocations: 311.8 kB / 0.5833 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007409/0.6984, allocations: 364 kB / 0.5836 GB, free: 15.4 MB / 0.4981 GB 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.003539/0.7019, allocations: 1.982 MB / 0.5855 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/0.7026, allocations: 349.6 kB / 0.5859 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/0.7086, allocations: 2.76 MB / 0.5886 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.7086, allocations: 19.94 kB / 0.5886 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.7086, allocations: 4 kB / 0.5886 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.7086, allocations: 7.984 kB / 0.5886 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.7229, allocations: 7.051 MB / 0.5955 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.7229, allocations: 8.078 kB / 0.5955 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.724, allocations: 219.7 kB / 0.5957 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.7265, allocations: 0.7136 MB / 0.5964 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.7267, allocations: 35.97 kB / 0.5964 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007055/0.7337, allocations: 4.751 MB / 0.6011 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.7337, allocations: 4.031 kB / 0.6011 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009557/0.7433, allocations: 5.09 MB / 0.6061 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.7444, allocations: 410.6 kB / 0.6064 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/0.7447, allocations: 27.92 kB / 0.6065 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.746, allocations: 71.91 kB / 0.6065 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/0.7463, allocations: 96.39 kB / 0.6066 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.7464, allocations: 43.97 kB / 0.6067 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004271/0.7507, allocations: 2.537 MB / 0.6092 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.7507, allocations: 0 / 0.6092 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005203/0.7559, allocations: 0.8788 MB / 0.61 GB, free: 4.027 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.0004388/0.7564, allocations: 151 kB / 0.6102 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2656/1.022, allocations: 4.526 MB / 0.6146 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.022, allocations: 1.094 kB / 0.6146 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003244/1.025, allocations: 1.268 MB / 0.6158 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/1.029, allocations: 415.4 kB / 0.6162 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02264/1.052, allocations: 8.45 MB / 0.6245 GB, free: 162 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006471/1.058, allocations: 3.065 MB / 0.6275 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008135/1.067, allocations: 1.837 MB / 0.6293 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.068, allocations: 255.1 kB / 0.6295 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/1.068, allocations: 0 / 0.6295 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.115/1.183, allocations: 32.21 MB / 0.661 GB, free: 142.7 MB / 0.5137 GB " [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.8931614980101585]