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.001247/0.001247, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.0014/0.0014, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.351/1.351, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 59.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2089, allocations: 53.41 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01349/0.2224, allocations: 11.26 MB / 443.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007862/0.2303, allocations: 4.111 MB / 447.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.2317, allocations: 99.5 kB / 447.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006725/0.2384, allocations: 3.602 MB / 451 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004514/0.2429, allocations: 2.039 MB / 453 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.2445, allocations: 0.6981 MB / 453.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00535/0.2498, allocations: 4.209 MB / 457.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004658/0.2545, allocations: 3.639 MB / 461.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.2571, allocations: 1.861 MB / 463.4 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003812/0.2609, allocations: 2.621 MB / 466.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00095/0.2619, allocations: 412 kB / 466.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.2639, allocations: 1.038 MB / 467.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00211/0.266, allocations: 2.251 MB / 469.8 MB, free: 460 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.2683, allocations: 1.926 MB / 471.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009181/0.2775, allocations: 8.155 MB / 479.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2775, allocations: 0 / 479.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2775, allocations: 0 / 479.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001836/0.2777, allocations: 0 / 479.8 MB, free: 6.324 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.01859/0.2963, allocations: 6.26 MB / 486.1 MB, free: 4 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.2964, allocations: 16.02 kB / 486.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001312/0.2965, allocations: 127.7 kB / 486.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/0.2976, allocations: 0.8268 MB / 487.1 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00668/0.3043, allocations: 2.006 MB / 489.1 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/0.3096, allocations: 2.85 MB / 491.9 MB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.3099, allocations: 287.5 kB / 492.2 MB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007866/0.3106, allocations: 391.8 kB / 492.6 MB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.332, allocations: 12.18 MB / 0.4929 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.3322, allocations: 43.64 kB / 0.493 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000636/0.3328, allocations: 183.8 kB / 0.4931 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004162/0.337, allocations: 2.198 MB / 0.4953 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02203/0.359, allocations: 11.14 MB / 0.5062 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.231/0.59, allocations: 44.56 MB / 0.5497 GB, free: 72.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/0.6058, allocations: 4.716 MB / 0.5543 GB, free: 71.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.6087, allocations: 3.072 MB / 0.5573 GB, free: 70.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000457/0.6091, allocations: 130.6 kB / 0.5574 GB, free: 70.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.6091, allocations: 58.41 kB / 0.5575 GB, free: 70.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.699e-06/0.6092, allocations: 0 / 0.5575 GB, free: 70.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06112/0.6703, allocations: 26.89 MB / 0.5837 GB, free: 49.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.6703, allocations: 154 kB / 0.5839 GB, free: 49.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.6746, allocations: 4.502 MB / 0.5883 GB, free: 44.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/0.675, allocations: 61.7 kB / 0.5883 GB, free: 44.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.6764, allocations: 3.563 MB / 0.5918 GB, free: 41.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007763/0.6772, allocations: 0.9163 MB / 0.5927 GB, free: 40.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/0.6788, allocations: 1.443 MB / 0.5941 GB, free: 39.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.6788, allocations: 317 kB / 0.5944 GB, free: 38.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/0.6822, allocations: 3.273 MB / 0.5976 GB, free: 35.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004686/0.6869, allocations: 7.205 MB / 0.6046 GB, free: 26.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008886/0.6958, allocations: 11.3 MB / 0.6157 GB, free: 13.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.232e-05/0.6959, allocations: 40 kB / 0.6157 GB, free: 13.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01543/0.7113, allocations: 11.39 MB / 0.6268 GB, free: 1.898 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.7114, allocations: 64 kB / 0.6269 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.7115, allocations: 136 kB / 0.627 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.7139, allocations: 1.129 MB / 0.6281 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005761/0.7197, allocations: 1.712 MB / 0.6298 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008686/0.7284, allocations: 6.198 MB / 0.6359 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005081/0.7335, allocations: 399.7 kB / 0.6362 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/0.7345, allocations: 455.8 kB / 0.6367 GB, free: 7.715 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 (830): * Single equations (assignments): 826 * 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.003915/0.7384, allocations: 2.32 MB / 0.6389 GB, free: 5.383 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008678/0.7393, allocations: 425.2 kB / 0.6394 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.7498, allocations: 6.101 MB / 0.6453 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.884e-05/0.7499, allocations: 24 kB / 0.6453 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.7499, allocations: 4 kB / 0.6453 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.7499, allocations: 9.609 kB / 0.6453 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02092/0.7708, allocations: 12.08 MB / 0.6571 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.7708, allocations: 8.312 kB / 0.6572 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/0.7736, allocations: 0.5343 MB / 0.6577 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/0.7762, allocations: 0.9527 MB / 0.6586 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/0.7765, allocations: 83.89 kB / 0.6587 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00812/0.7847, allocations: 5.938 MB / 0.6645 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7847, allocations: 7.938 kB / 0.6645 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/0.8007, allocations: 10.36 MB / 0.6746 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/0.8029, allocations: 0.8338 MB / 0.6754 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000742/0.8037, allocations: 44 kB / 0.6755 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/0.806, allocations: 159.7 kB / 0.6756 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005855/0.8065, allocations: 185.6 kB / 0.6758 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002949/0.8068, allocations: 111.9 kB / 0.6759 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004596/0.8114, allocations: 2.822 MB / 0.6787 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8114, allocations: 0 / 0.6787 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005365/0.8168, allocations: 1.184 MB / 0.6798 GB, free: 11.3 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.01698/0.8338, allocations: 11.03 MB / 0.6906 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.846, allocations: 7.475 MB / 0.6979 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.846, allocations: 0 / 0.6979 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004451/0.8504, allocations: 2.794 MB / 0.7006 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.8535, allocations: 496.9 kB / 0.7011 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2656/1.119, allocations: 59.65 MB / 0.7593 GB, free: 210 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/1.122, allocations: 3.095 MB / 0.7624 GB, free: 209.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004797/1.127, allocations: 2.289 MB / 0.7646 GB, free: 209.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003268/1.131, allocations: 2.318 MB / 0.7668 GB, free: 207.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.462e-06/1.131, allocations: 0 / 0.7668 GB, free: 207.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/1.259, allocations: 95.4 MB / 0.86 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.93/22.19, allocations: 15.89 kB / 0.86 GB, free: 114.5 MB / 0.5606 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 26.196468481910415]