Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.001353/0.001353, allocations: 104.7 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.001752/0.001752, allocations: 212.2 kB / 23 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.44/1.44, allocations: 230.2 MB / 256.2 MB, free: 8.566 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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.88 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2571, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01529/0.2724, allocations: 13.07 MB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008849/0.2812, allocations: 4.331 MB / 447.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.2828, allocations: 83.75 kB / 447.3 MB, free: 6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009378/0.2921, allocations: 3.757 MB / 451 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007265/0.2994, allocations: 2.03 MB / 453.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.3018, allocations: 0.7057 MB / 453.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008212/0.31, allocations: 4.21 MB / 458 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006249/0.3162, allocations: 3.39 MB / 461.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.3202, allocations: 1.826 MB / 463.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005558/0.3257, allocations: 2.64 MB / 465.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.327, allocations: 408 kB / 466.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.3301, allocations: 1.159 MB / 467.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00315/0.3332, allocations: 2.248 MB / 469.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003946/0.3372, allocations: 2.575 MB / 472.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.3474, allocations: 8.108 MB / 480.3 MB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3474, allocations: 3.938 kB / 480.3 MB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3474, allocations: 3.984 kB / 480.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001822/0.3476, allocations: 0 / 480.3 MB, free: 4.766 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01901/0.3666, allocations: 6.316 MB / 486.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.3666, allocations: 12.03 kB / 486.7 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006716/0.3733, allocations: 1.986 MB / 488.6 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005369/0.3787, allocations: 2.684 MB / 491.3 MB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.3789, allocations: 291.5 kB / 491.6 MB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007522/0.3797, allocations: 391.8 kB / 492 MB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.4019, allocations: 12.18 MB / 0.4924 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.402, allocations: 51.53 kB / 0.4924 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005415/0.4025, allocations: 179.9 kB / 0.4926 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004167/0.4067, allocations: 2.198 MB / 0.4947 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/0.4292, allocations: 11.13 MB / 0.5056 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2944/0.7235, allocations: 46.47 MB / 0.551 GB, free: 70.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.7393, allocations: 5.171 MB / 0.556 GB, free: 70.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/0.7424, allocations: 3.059 MB / 0.559 GB, free: 68.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.7429, allocations: 377 kB / 0.5594 GB, free: 68.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.7429, allocations: 55.22 kB / 0.5594 GB, free: 68.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 3.827e-06/0.7429, allocations: 2.031 kB / 0.5594 GB, free: 68.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.0618/0.8047, allocations: 27 MB / 0.5858 GB, free: 48.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.8048, allocations: 158.5 kB / 0.5859 GB, free: 48.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004487/0.8093, allocations: 4.497 MB / 0.5903 GB, free: 43.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004056/0.8097, allocations: 65.61 kB / 0.5904 GB, free: 43.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.811, allocations: 3.564 MB / 0.5939 GB, free: 40.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007592/0.8118, allocations: 0.9132 MB / 0.5948 GB, free: 39.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.8133, allocations: 1.451 MB / 0.5962 GB, free: 38.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.638e-05/0.8133, allocations: 301.1 kB / 0.5965 GB, free: 37.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0033/0.8166, allocations: 3.288 MB / 0.5997 GB, free: 34.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004435/0.821, allocations: 7.213 MB / 0.6067 GB, free: 25.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008926/0.83, allocations: 11.31 MB / 0.6178 GB, free: 12.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-05/0.83, allocations: 40 kB / 0.6178 GB, free: 12.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01579/0.8458, allocations: 11.42 MB / 0.629 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.8459, allocations: 64 kB / 0.629 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.743e-05/0.846, allocations: 140 kB / 0.6292 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/0.8485, allocations: 1.121 MB / 0.6303 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005923/0.8544, allocations: 1.723 MB / 0.6319 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008536/0.8629, allocations: 6.346 MB / 0.6381 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005115/0.868, allocations: 404 kB / 0.6385 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.8691, allocations: 455.8 kB / 0.639 GB, free: 6.566 MB / 462.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.004319/0.8734, allocations: 2.319 MB / 0.6412 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.8745, allocations: 429.1 kB / 0.6416 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.8858, allocations: 6.105 MB / 0.6476 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-05/0.8859, allocations: 24 kB / 0.6476 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.8859, allocations: 4 kB / 0.6476 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/0.8859, allocations: 11.97 kB / 0.6476 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/0.9101, allocations: 12.75 MB / 0.6601 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.9101, allocations: 4 kB / 0.6601 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003016/0.9131, allocations: 0.5346 MB / 0.6606 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/0.9158, allocations: 0.945 MB / 0.6615 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003828/0.9162, allocations: 83.89 kB / 0.6616 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008433/0.9247, allocations: 6.095 MB / 0.6676 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.9247, allocations: 11.88 kB / 0.6676 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/0.9412, allocations: 10.36 MB / 0.6777 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/0.9434, allocations: 0.9119 MB / 0.6786 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008983/0.9443, allocations: 40 kB / 0.6786 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/0.9467, allocations: 155.8 kB / 0.6788 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005886/0.9473, allocations: 181.6 kB / 0.6789 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/0.9476, allocations: 103.9 kB / 0.679 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005318/0.9529, allocations: 2.826 MB / 0.6818 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.9529, allocations: 0 / 0.6818 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005875/0.9588, allocations: 1.184 MB / 0.683 GB, free: 9.188 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.0006749/0.9595, allocations: 186.4 kB / 0.6831 GB, free: 9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01239/0.9719, allocations: 7.475 MB / 0.6904 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.9719, allocations: 4 kB / 0.6904 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00459/0.9765, allocations: 2.789 MB / 0.6932 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/0.9799, allocations: 0.4975 MB / 0.6936 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/1.004, allocations: 12.05 MB / 0.7054 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006147/1.01, allocations: 3.632 MB / 0.709 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006438/1.017, allocations: 2.281 MB / 0.7112 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/1.019, allocations: 423.1 kB / 0.7116 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/1.019, allocations: 0 / 0.7116 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.3068/1.325, allocations: 54.85 MB / 0.7651 GB, free: 184.3 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.105015264824033]