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.001265/0.001265, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001475/0.001475, allocations: 210.9 kB / 22.99 MB, free: 5.609 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.453/1.453, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.002955/0.002955, allocations: 63.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3175, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01355/0.331, allocations: 11.08 MB / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009019/0.34, allocations: 3.859 MB / 444.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.3419, allocations: 59.88 kB / 444.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005121/0.347, allocations: 2.725 MB / 447.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.3515, allocations: 1.798 MB / 449.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.3529, allocations: 0.5771 MB / 449.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005366/0.3583, allocations: 3.57 MB / 453.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.3617, allocations: 2.515 MB / 456 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002161/0.3639, allocations: 1.456 MB / 457.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.3667, allocations: 2.142 MB / 459.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005896/0.3673, allocations: 316 kB / 459.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.3692, allocations: 1.073 MB / 461 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001746/0.371, allocations: 1.835 MB / 462.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.3731, allocations: 2.074 MB / 464.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008194/0.3813, allocations: 6.686 MB / 471.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.3813, allocations: 4 kB / 471.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3813, allocations: 4 kB / 471.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002154/0.3816, allocations: 0 / 471.6 MB, free: 13.58 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.01793/0.3995, allocations: 5.157 MB / 476.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.3995, allocations: 12.02 kB / 476.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/0.4062, allocations: 1.874 MB / 478.6 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005334/0.4116, allocations: 2.257 MB / 480.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.4118, allocations: 221.7 kB / 481.1 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.4129, allocations: 295.8 kB / 481.4 MB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02021/0.4331, allocations: 10.03 MB / 491.4 MB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.4333, allocations: 39.64 kB / 491.4 MB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004622/0.4337, allocations: 147.9 kB / 491.6 MB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003132/0.4368, allocations: 1.801 MB / 493.4 MB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.4564, allocations: 8.959 MB / 0.4906 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05331/0.5097, allocations: 37.81 MB / 0.5275 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.5226, allocations: 3.482 MB / 0.5309 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.525, allocations: 1.581 MB / 0.5324 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/0.5256, allocations: 359.7 kB / 0.5328 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.5257, allocations: 55 kB / 0.5328 GB, free: 1.398 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.136e-06/0.5257, allocations: 0 / 0.5328 GB, free: 1.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2795/0.8052, allocations: 12.88 MB / 0.5454 GB, free: 97.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.8053, allocations: 144.6 kB / 0.5455 GB, free: 97.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/0.8096, allocations: 4.059 MB / 0.5495 GB, free: 96.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.8098, allocations: 45.58 kB / 0.5495 GB, free: 96.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.8112, allocations: 3.14 MB / 0.5526 GB, free: 93.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.8117, allocations: 0.5594 MB / 0.5532 GB, free: 93.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/0.8129, allocations: 1.175 MB / 0.5543 GB, free: 92.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.8129, allocations: 301.1 kB / 0.5546 GB, free: 92.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.8151, allocations: 1.964 MB / 0.5565 GB, free: 91.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.8184, allocations: 5.661 MB / 0.562 GB, free: 84.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006127/0.8245, allocations: 8.248 MB / 0.5701 GB, free: 74.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.768e-05/0.8246, allocations: 40 kB / 0.5701 GB, free: 74.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01086/0.8355, allocations: 8.089 MB / 0.578 GB, free: 66.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.8355, allocations: 67.16 kB / 0.5781 GB, free: 66.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.627e-05/0.8356, allocations: 139.9 kB / 0.5782 GB, free: 65.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.8377, allocations: 0.9034 MB / 0.5791 GB, free: 65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003367/0.8411, allocations: 1.318 MB / 0.5804 GB, free: 63.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.8463, allocations: 5.187 MB / 0.5855 GB, free: 58.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/0.8504, allocations: 311.7 kB / 0.5858 GB, free: 58.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006207/0.851, allocations: 364 kB / 0.5861 GB, free: 57.69 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.002458/0.8535, allocations: 1.987 MB / 0.588 GB, free: 55.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005663/0.8541, allocations: 361.5 kB / 0.5884 GB, free: 55.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.8583, allocations: 2.751 MB / 0.5911 GB, free: 52.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.8584, allocations: 16.47 kB / 0.5911 GB, free: 52.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.8584, allocations: 4 kB / 0.5911 GB, free: 52.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8584, allocations: 3.984 kB / 0.5911 GB, free: 52.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.8684, allocations: 7.05 MB / 0.598 GB, free: 45.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.8684, allocations: 0 / 0.598 GB, free: 45.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.8694, allocations: 219.6 kB / 0.5982 GB, free: 45.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.8712, allocations: 0.7154 MB / 0.5989 GB, free: 44.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.8714, allocations: 31.97 kB / 0.5989 GB, free: 44.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/0.876, allocations: 4.75 MB / 0.6036 GB, free: 39.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.876, allocations: 3.938 kB / 0.6036 GB, free: 39.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/0.8823, allocations: 5.094 MB / 0.6085 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000905/0.8832, allocations: 410.5 kB / 0.6089 GB, free: 34.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.8835, allocations: 27.98 kB / 0.609 GB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.8846, allocations: 71.86 kB / 0.609 GB, free: 33.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.8849, allocations: 88.64 kB / 0.6091 GB, free: 33.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.885, allocations: 47.97 kB / 0.6092 GB, free: 33.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002813/0.8878, allocations: 2.533 MB / 0.6116 GB, free: 31.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8878, allocations: 0 / 0.6116 GB, free: 31.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004301/0.8921, allocations: 0.8788 MB / 0.6125 GB, free: 30.38 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.0003571/0.8924, allocations: 174.7 kB / 0.6127 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005949/0.8984, allocations: 4.523 MB / 0.6171 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.8984, allocations: 0 / 0.6171 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.8998, allocations: 1.27 MB / 0.6183 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.9022, allocations: 439 kB / 0.6187 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.9139, allocations: 8.507 MB / 0.627 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/0.9162, allocations: 3.06 MB / 0.63 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003461/0.9197, allocations: 1.853 MB / 0.6318 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.9203, allocations: 247.3 kB / 0.6321 GB, free: 10.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.9203, allocations: 0 / 0.6321 GB, free: 10.26 MB / 446.1 MB Notification: Performance of Templates: time 0.06676/0.9871, allocations: 33.48 MB / 0.6648 GB, free: 8.969 MB / 478.1 MB " [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.414141269400716]