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.001386/0.001386, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.001448/0.001448, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.452/1.452, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.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 1.202e-06/1.202e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.967e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01457/0.01459, allocations: 11.36 MB / 336.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.02465, allocations: 4.114 MB / 340.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.02715, allocations: 95.56 kB / 340.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007954/0.03511, allocations: 3.8 MB / 344.4 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006251/0.04136, allocations: 2.107 MB / 346.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.04337, allocations: 0.7485 MB / 347.2 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007018/0.05039, allocations: 4.637 MB / 351.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/0.05589, allocations: 3.885 MB / 355.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/0.06077, allocations: 2.756 MB / 358.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004185/0.06495, allocations: 2.513 MB / 361 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008408/0.0658, allocations: 415.9 kB / 361.4 MB, free: 488 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.06815, allocations: 1.084 MB / 362.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002511/0.07066, allocations: 2.333 MB / 364.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.07302, allocations: 1.515 MB / 366.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.08396, allocations: 8.123 MB / 374.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.08396, allocations: 0 / 374.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.08396, allocations: 0 / 374.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002535/0.08422, allocations: 0 / 374.5 MB, free: 3.383 MB / 334.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.0241/0.1083, allocations: 6.389 MB / 380.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1084, allocations: 11.98 kB / 380.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008021/0.1164, allocations: 2.041 MB / 382.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.1224, allocations: 2.612 MB / 385.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.1227, allocations: 291.6 kB / 385.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/0.1239, allocations: 391.8 kB / 386.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.1503, allocations: 12.25 MB / 398.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.1505, allocations: 47.64 kB / 398.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006305/0.1511, allocations: 183.9 kB / 398.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004852/0.156, allocations: 2.194 MB / 400.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/0.1817, allocations: 11.18 MB / 412.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06662/0.2484, allocations: 43.69 MB / 455.8 MB, free: 100 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01965/0.268, allocations: 4.964 MB / 460.7 MB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004627/0.2726, allocations: 3.063 MB / 463.8 MB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005514/0.2732, allocations: 149.1 kB / 463.9 MB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.2732, allocations: 51.88 kB / 464 MB, free: 7.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=200): time 4.449e-06/0.2732, allocations: 0 / 464 MB, free: 7.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.2419/0.5151, allocations: 27.67 MB / 491.6 MB, free: 120.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.5152, allocations: 152.9 kB / 491.8 MB, free: 120.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.5194, allocations: 4.108 MB / 495.9 MB, free: 119.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004315/0.5198, allocations: 69.58 kB / 496 MB, free: 119.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.5211, allocations: 3.562 MB / 499.5 MB, free: 116.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007673/0.5219, allocations: 0.9041 MB / 0.4887 GB, free: 115.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.5234, allocations: 1.463 MB / 0.4901 GB, free: 114.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.5235, allocations: 305.1 kB / 0.4904 GB, free: 113.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/0.5276, allocations: 3.285 MB / 0.4936 GB, free: 110.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004834/0.5324, allocations: 7.234 MB / 0.5007 GB, free: 101.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009786/0.5422, allocations: 11.33 MB / 0.5118 GB, free: 88.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.79e-05/0.5423, allocations: 44 kB / 0.5118 GB, free: 88.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01728/0.5596, allocations: 11.41 MB / 0.523 GB, free: 76.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/0.5597, allocations: 64.62 kB / 0.523 GB, free: 76.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.5598, allocations: 140.9 kB / 0.5231 GB, free: 76.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.5624, allocations: 1.122 MB / 0.5242 GB, free: 75.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005989/0.5684, allocations: 1.755 MB / 0.526 GB, free: 73.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006897/0.5753, allocations: 6.173 MB / 0.532 GB, free: 67.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005744/0.5811, allocations: 439.5 kB / 0.5324 GB, free: 66.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/0.5821, allocations: 467.8 kB / 0.5329 GB, free: 66.46 MB / 430.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.003095/0.5852, allocations: 2.326 MB / 0.5351 GB, free: 64.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008395/0.586, allocations: 373.5 kB / 0.5355 GB, free: 63.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008605/0.5946, allocations: 6.104 MB / 0.5414 GB, free: 57.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/0.5947, allocations: 28 kB / 0.5415 GB, free: 57.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.5947, allocations: 0 / 0.5415 GB, free: 57.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.5947, allocations: 19.95 kB / 0.5415 GB, free: 57.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.6112, allocations: 11.42 MB / 0.5526 GB, free: 46.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.6112, allocations: 0 / 0.5526 GB, free: 46.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/0.614, allocations: 0.5656 MB / 0.5532 GB, free: 45.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/0.6164, allocations: 0.956 MB / 0.5541 GB, free: 44.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/0.6167, allocations: 96.78 kB / 0.5542 GB, free: 44.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/0.6229, allocations: 5.91 MB / 0.56 GB, free: 38.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6229, allocations: 4 kB / 0.56 GB, free: 38.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.6353, allocations: 10.35 MB / 0.5701 GB, free: 28.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/0.6371, allocations: 0.8019 MB / 0.5709 GB, free: 27.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000545/0.6376, allocations: 43.59 kB / 0.5709 GB, free: 27.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/0.64, allocations: 203.7 kB / 0.5711 GB, free: 27.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005152/0.6405, allocations: 193.6 kB / 0.5713 GB, free: 26.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/0.6407, allocations: 123.9 kB / 0.5714 GB, free: 26.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00272/0.6434, allocations: 2.388 MB / 0.5738 GB, free: 24.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6434, allocations: 4 kB / 0.5738 GB, free: 24.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004938/0.6484, allocations: 1.242 MB / 0.575 GB, free: 23.16 MB / 430.1 MB 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.0005292/0.6489, allocations: 206.6 kB / 0.5752 GB, free: 22.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009471/0.6584, allocations: 7.506 MB / 0.5825 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.6584, allocations: 0 / 0.5825 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.6618, allocations: 2.821 MB / 0.5852 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.6647, allocations: 442.8 kB / 0.5857 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.6815, allocations: 11.82 MB / 0.5972 GB, free: 340 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004145/0.6857, allocations: 3.097 MB / 0.6002 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005546/0.6912, allocations: 2.239 MB / 0.6024 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/0.6929, allocations: 448.1 kB / 0.6029 GB, free: 10.52 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6929, allocations: 0 / 0.6029 GB, free: 10.52 MB / 446.1 MB Notification: Performance of Templates: time 0.2601/0.953, allocations: 48.89 MB / 0.6506 GB, free: 136.8 MB / 462.1 MB " [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.1192352548241615]