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.001427/0.001427, allocations: 124.3 kB / 18.5 MB, free: 4.645 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.001651/0.001651, allocations: 214.3 kB / 21.46 MB, free: 1.695 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.489/1.489, allocations: 230.4 MB / 254.7 MB, free: 14.82 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: "" <> 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.001873/0.001873, allocations: 59.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1169, allocations: 53.37 MB / 427.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.216/0.3329, allocations: 13.03 MB / 440.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007884/0.3408, allocations: 4.306 MB / 444.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.3427, allocations: 98 kB / 444.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006382/0.3491, allocations: 3.754 MB / 448.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005452/0.3546, allocations: 2.021 MB / 450.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.3565, allocations: 0.7005 MB / 451 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.3628, allocations: 4.221 MB / 455.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005589/0.3684, allocations: 3.955 MB / 459.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003369/0.3717, allocations: 1.853 MB / 461 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/0.376, allocations: 2.628 MB / 463.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.3772, allocations: 408.8 kB / 464 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.38, allocations: 1.156 MB / 465.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002831/0.3828, allocations: 2.252 MB / 467.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003713/0.3865, allocations: 2.588 MB / 470 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009568/0.3961, allocations: 8.112 MB / 478.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3961, allocations: 0 / 478.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3961, allocations: 0 / 478.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.3962, allocations: 4 kB / 478.1 MB, free: 13.41 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.02/0.4163, allocations: 6.339 MB / 484.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4163, allocations: 8.031 kB / 484.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001246/0.4164, allocations: 123.8 kB / 484.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/0.4177, allocations: 0.8307 MB / 485.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007312/0.425, allocations: 2.002 MB / 487.4 MB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006021/0.431, allocations: 2.918 MB / 490.4 MB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.4312, allocations: 291.5 kB / 490.6 MB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009555/0.4322, allocations: 388.8 kB / 491 MB, free: 380 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/0.4573, allocations: 12.19 MB / 0.4914 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.4575, allocations: 47.64 kB / 0.4915 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006548/0.4581, allocations: 175.9 kB / 0.4916 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004317/0.4625, allocations: 2.194 MB / 0.4938 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/0.4858, allocations: 11.14 MB / 0.5046 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06228/0.548, allocations: 46.47 MB / 0.55 GB, free: 6.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/0.5664, allocations: 5.169 MB / 0.5551 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004387/0.5708, allocations: 3.062 MB / 0.5581 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/0.5715, allocations: 388.3 kB / 0.5584 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.5716, allocations: 51.88 kB / 0.5585 GB, free: 13.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=200): time 4.649e-06/0.5716, allocations: 3.938 kB / 0.5585 GB, free: 13.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.07704/0.6486, allocations: 26.99 MB / 0.5849 GB, free: 2.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.6488, allocations: 162.4 kB / 0.585 GB, free: 2.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006573/0.6553, allocations: 4.509 MB / 0.5894 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005686/0.6559, allocations: 57.7 kB / 0.5895 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002836/0.6587, allocations: 3.563 MB / 0.5929 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.66, allocations: 0.9148 MB / 0.5938 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002215/0.6622, allocations: 1.451 MB / 0.5953 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6624, allocations: 301.1 kB / 0.5955 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005139/0.6675, allocations: 3.277 MB / 0.5987 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00836/0.6759, allocations: 7.199 MB / 0.6058 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2264/0.9023, allocations: 11.29 MB / 0.6168 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/0.9024, allocations: 39.25 kB / 0.6168 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01978/0.9222, allocations: 11.39 MB / 0.628 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.9223, allocations: 66.53 kB / 0.628 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/0.9225, allocations: 138.4 kB / 0.6282 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/0.9255, allocations: 1.121 MB / 0.6293 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006377/0.9319, allocations: 1.718 MB / 0.6309 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008226/0.9401, allocations: 6.353 MB / 0.6371 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00575/0.9458, allocations: 405.4 kB / 0.6375 GB, free: 148.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/0.9473, allocations: 449.8 kB / 0.6379 GB, free: 148.8 MB / 0.5137 GB 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.004525/0.9518, allocations: 2.327 MB / 0.6402 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000913/0.9528, allocations: 419.2 kB / 0.6406 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009637/0.9624, allocations: 6.114 MB / 0.6466 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.866e-05/0.9624, allocations: 22.94 kB / 0.6466 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.9625, allocations: 7.781 kB / 0.6466 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.9625, allocations: 15.11 kB / 0.6466 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.98, allocations: 12.73 MB / 0.6591 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.98, allocations: 0.8125 kB / 0.6591 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/0.9826, allocations: 0.5331 MB / 0.6596 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/0.9849, allocations: 0.947 MB / 0.6605 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003058/0.9852, allocations: 91.89 kB / 0.6606 GB, free: 140 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005878/0.991, allocations: 6.094 MB / 0.6666 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.991, allocations: 4 kB / 0.6666 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.003, allocations: 10.36 MB / 0.6767 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.005, allocations: 0.8976 MB / 0.6776 GB, free: 122.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006431/1.005, allocations: 40 kB / 0.6776 GB, free: 122.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.007, allocations: 168.4 kB / 0.6777 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/1.008, allocations: 180.3 kB / 0.6779 GB, free: 122.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/1.008, allocations: 109.8 kB / 0.678 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003459/1.012, allocations: 2.818 MB / 0.6808 GB, free: 119.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.012, allocations: 0 / 0.6808 GB, free: 119.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005735/1.017, allocations: 1.189 MB / 0.6819 GB, free: 118.2 MB / 0.5137 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.0121/1.029, allocations: 11.02 MB / 0.6927 GB, free: 107.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.04, allocations: 7.466 MB / 0.7 GB, free: 99.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.04, allocations: 3.75 kB / 0.7 GB, free: 99.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003332/1.044, allocations: 2.792 MB / 0.7027 GB, free: 96.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.047, allocations: 0.489 MB / 0.7032 GB, free: 96.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06611/1.113, allocations: 59.59 MB / 0.7614 GB, free: 30.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003179/1.116, allocations: 3.623 MB / 0.7649 GB, free: 26.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004263/1.12, allocations: 2.285 MB / 0.7672 GB, free: 24.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002819/1.123, allocations: 2.315 MB / 0.7694 GB, free: 22.26 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/1.123, allocations: 5.969 kB / 0.7694 GB, free: 22.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3296/1.453, allocations: 92.11 MB / 0.8594 GB, free: 168.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.36/20.81, allocations: 6.875 kB / 0.8594 GB, free: 168.1 MB / 0.545 GB " [Timeout remaining time 639] (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: 25.683081130031496]