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.001428/0.001428, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001554/0.001554, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.001988/0.001988, allocations: 71.88 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3179, allocations: 53.42 MB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01426/0.3322, allocations: 11.35 MB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0087/0.3409, allocations: 4.108 MB / 447.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.3423, allocations: 95.56 kB / 447.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006837/0.3491, allocations: 3.602 MB / 450.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004816/0.3539, allocations: 2.035 MB / 452.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.3555, allocations: 0.7058 MB / 453.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005395/0.3609, allocations: 4.209 MB / 457.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004621/0.3655, allocations: 3.608 MB / 461.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/0.3684, allocations: 1.857 MB / 463.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.3719, allocations: 2.453 MB / 465.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007132/0.3726, allocations: 408 kB / 466.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.3747, allocations: 1.034 MB / 467.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.3769, allocations: 2.248 MB / 469.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.3791, allocations: 1.934 MB / 471.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009226/0.3883, allocations: 8.14 MB / 479.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3883, allocations: 0 / 479.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3883, allocations: 0 / 479.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.3885, allocations: 0 / 479.4 MB, free: 6.555 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.01898/0.4075, allocations: 6.241 MB / 485.7 MB, free: 260 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4075, allocations: 11.98 kB / 485.7 MB, free: 248 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007041/0.4146, allocations: 2 MB / 487.7 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006543/0.4211, allocations: 2.622 MB / 490.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.4214, allocations: 287.5 kB / 490.6 MB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008324/0.4222, allocations: 391.7 kB / 491 MB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/0.445, allocations: 12.18 MB / 0.4913 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/0.4451, allocations: 51.58 kB / 0.4914 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004935/0.4456, allocations: 179.9 kB / 0.4916 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004454/0.4501, allocations: 2.19 MB / 0.4937 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0226/0.4727, allocations: 11.11 MB / 0.5045 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2766/0.7493, allocations: 43.45 MB / 0.547 GB, free: 72.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/0.7646, allocations: 4.719 MB / 0.5516 GB, free: 71.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00292/0.7675, allocations: 3.062 MB / 0.5546 GB, free: 70.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/0.768, allocations: 138.6 kB / 0.5547 GB, free: 70.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.768, allocations: 60.53 kB / 0.5548 GB, free: 70.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 5.51e-06/0.768, allocations: 3.281 kB / 0.5548 GB, free: 70.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06303/0.831, allocations: 26.82 MB / 0.581 GB, free: 51.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.8311, allocations: 150.5 kB / 0.5811 GB, free: 50.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.8349, allocations: 4.031 MB / 0.585 GB, free: 47.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003072/0.8352, allocations: 61.7 kB / 0.5851 GB, free: 46.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.8364, allocations: 3.589 MB / 0.5886 GB, free: 43.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005849/0.837, allocations: 0.9206 MB / 0.5895 GB, free: 42.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/0.8384, allocations: 1.451 MB / 0.5909 GB, free: 41.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.8384, allocations: 309.1 kB / 0.5912 GB, free: 40.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/0.8419, allocations: 3.281 MB / 0.5944 GB, free: 37.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/0.8465, allocations: 7.217 MB / 0.6015 GB, free: 28.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009371/0.8559, allocations: 11.31 MB / 0.6125 GB, free: 15.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-05/0.856, allocations: 44 kB / 0.6126 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.0151/0.8711, allocations: 11.35 MB / 0.6236 GB, free: 4.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.8712, allocations: 64.97 kB / 0.6237 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.8713, allocations: 140 kB / 0.6238 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.8737, allocations: 1.128 MB / 0.6249 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005042/0.8788, allocations: 1.723 MB / 0.6266 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008838/0.8876, allocations: 6.169 MB / 0.6326 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005514/0.8931, allocations: 399.6 kB / 0.633 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008166/0.8939, allocations: 459.8 kB / 0.6335 GB, free: 9.902 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.004285/0.8982, allocations: 2.315 MB / 0.6357 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009378/0.8992, allocations: 370.5 kB / 0.6361 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.9103, allocations: 6.053 MB / 0.642 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.075e-05/0.9104, allocations: 24 kB / 0.642 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.9104, allocations: 11.81 kB / 0.642 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.9104, allocations: 11.95 kB / 0.642 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/0.932, allocations: 11.27 MB / 0.653 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.932, allocations: 4 kB / 0.653 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/0.9349, allocations: 0.5304 MB / 0.6536 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00276/0.9376, allocations: 0.9453 MB / 0.6545 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002662/0.9379, allocations: 91.56 kB / 0.6546 GB, free: 4.242 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008529/0.9464, allocations: 5.91 MB / 0.6603 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.9464, allocations: 4 kB / 0.6603 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/0.9632, allocations: 10.3 MB / 0.6704 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002752/0.966, allocations: 0.7745 MB / 0.6712 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005283/0.9665, allocations: 40 kB / 0.6712 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/0.9686, allocations: 155.8 kB / 0.6714 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005167/0.9691, allocations: 185.6 kB / 0.6715 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/0.9693, allocations: 108.3 kB / 0.6716 GB, free: 2.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003685/0.973, allocations: 2.321 MB / 0.6739 GB, free: 324 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.973, allocations: 7.938 kB / 0.6739 GB, free: 316 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.005309/0.9783, allocations: 1.183 MB / 0.6751 GB, free: 15.12 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.0005119/0.9788, allocations: 186 kB / 0.6752 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01214/0.991, allocations: 7.479 MB / 0.6825 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.991, allocations: 0 / 0.6825 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004417/0.9954, allocations: 2.798 MB / 0.6853 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.9979, allocations: 435 kB / 0.6857 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.02, allocations: 11.95 MB / 0.6974 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004293/1.025, allocations: 3.096 MB / 0.7004 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005638/1.03, allocations: 2.231 MB / 0.7026 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/1.032, allocations: 395.1 kB / 0.7029 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of SimCode: time 1.153e-06/1.032, allocations: 0 / 0.7029 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of Templates: time 0.3143/1.346, allocations: 53.4 MB / 0.7551 GB, free: 208.8 MB / 0.5606 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.41095681861043]