Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.0008291/0.0008291, allocations: 76.36 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0009237/0.0009237, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9002/0.9002, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 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.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.341e-05, allocations: 7.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007445/0.007468, allocations: 9.689 MB / 334.2 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.0117, allocations: 3.652 MB / 337.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.01237, allocations: 75.62 kB / 337.9 MB, free: 2.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.01495, allocations: 2.745 MB / 340.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.01709, allocations: 1.851 MB / 342.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000768/0.01786, allocations: 0.6314 MB / 343.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.02027, allocations: 3.978 MB / 347.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.02211, allocations: 2.993 MB / 350.1 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.02378, allocations: 2.194 MB / 352.3 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.02536, allocations: 2.104 MB / 354.4 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002957/0.02566, allocations: 324 kB / 354.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009797/0.02664, allocations: 0.9868 MB / 355.7 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009266/0.02756, allocations: 1.917 MB / 357.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000927/0.02849, allocations: 1.207 MB / 358.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003838/0.03233, allocations: 6.713 MB / 365.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.03233, allocations: 0 / 365.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.03233, allocations: 0 / 365.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.092e-05/0.03238, allocations: 0 / 365.6 MB, free: 6.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.007924/0.04031, allocations: 5.261 MB / 370.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.04035, allocations: 11.98 kB / 370.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005239/0.04087, allocations: 0.6742 MB / 371.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.04435, allocations: 1.944 MB / 373.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.04667, allocations: 2.255 MB / 375.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.785e-05/0.04676, allocations: 229.6 kB / 375.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/0.04712, allocations: 303.8 kB / 376.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008958/0.05608, allocations: 10.1 MB / 386.3 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-05/0.05614, allocations: 39.64 kB / 386.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.05641, allocations: 151.9 kB / 386.5 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001752/0.05816, allocations: 1.805 MB / 388.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00964/0.0678, allocations: 9.021 MB / 397.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.025/0.0928, allocations: 36.43 MB / 433.8 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006415/0.09921, allocations: 3.244 MB / 437 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.1008, allocations: 1.571 MB / 438.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.101, allocations: 128.3 kB / 438.7 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.101, allocations: 43.22 kB / 438.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 2.936e-06/0.101, allocations: 0 / 438.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.1943/0.2954, allocations: 13.36 MB / 452.1 MB, free: 113.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.2954, allocations: 144.4 kB / 452.3 MB, free: 113.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004711/0.3001, allocations: 4.46 MB / 456.7 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000258/0.3004, allocations: 41.64 kB / 456.8 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.3014, allocations: 3.097 MB / 459.9 MB, free: 110.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004688/0.3019, allocations: 0.5555 MB / 460.4 MB, free: 110 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009674/0.3029, allocations: 1.169 MB / 461.6 MB, free: 109.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.3029, allocations: 307.7 kB / 461.9 MB, free: 109.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.3047, allocations: 1.943 MB / 463.8 MB, free: 108.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/0.3075, allocations: 5.639 MB / 469.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005389/0.3129, allocations: 8.243 MB / 477.7 MB, free: 93.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-05/0.313, allocations: 36 kB / 477.7 MB, free: 93.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.008673/0.3216, allocations: 8.067 MB / 485.8 MB, free: 85.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/0.3217, allocations: 60 kB / 485.9 MB, free: 85.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.3219, allocations: 132 kB / 486 MB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.3232, allocations: 0.9078 MB / 486.9 MB, free: 84.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.3254, allocations: 1.314 MB / 488.2 MB, free: 83.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.3293, allocations: 5.049 MB / 493.3 MB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/0.3327, allocations: 339.7 kB / 493.6 MB, free: 78.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006122/0.3333, allocations: 368 kB / 494 MB, free: 77.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (695): * Single equations (assignments): 691 * 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.002254/0.3356, allocations: 1.998 MB / 496 MB, free: 75.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006457/0.3362, allocations: 353.6 kB / 496.3 MB, free: 75.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.3391, allocations: 2.755 MB / 499.1 MB, free: 72.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.3391, allocations: 16 kB / 499.1 MB, free: 72.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.3391, allocations: 4 kB / 499.1 MB, free: 72.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3391, allocations: 3.984 kB / 499.1 MB, free: 72.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007648/0.3468, allocations: 6.835 MB / 0.4941 GB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3468, allocations: 3.938 kB / 0.4941 GB, free: 65.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.3473, allocations: 235.7 kB / 0.4943 GB, free: 65.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.3484, allocations: 0.7153 MB / 0.495 GB, free: 64.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/0.3485, allocations: 35.97 kB / 0.495 GB, free: 64.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.3519, allocations: 4.638 MB / 0.4996 GB, free: 59.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3519, allocations: 4.031 kB / 0.4996 GB, free: 59.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00441/0.3563, allocations: 5.082 MB / 0.5045 GB, free: 54.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.3573, allocations: 369.4 kB / 0.5049 GB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/0.3576, allocations: 24 kB / 0.5049 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.3584, allocations: 107.8 kB / 0.505 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.3586, allocations: 92.31 kB / 0.5051 GB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/0.3586, allocations: 51.97 kB / 0.5051 GB, free: 54.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002918/0.3616, allocations: 2.682 MB / 0.5078 GB, free: 51.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3616, allocations: 0 / 0.5078 GB, free: 51.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00391/0.3655, allocations: 0.9531 MB / 0.5087 GB, free: 50.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004839/0.3703, allocations: 5.745 MB / 0.5143 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.3756, allocations: 4.512 MB / 0.5187 GB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3756, allocations: 0 / 0.5187 GB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3767, allocations: 1.269 MB / 0.5199 GB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.3788, allocations: 425.3 kB / 0.5203 GB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03967/0.4184, allocations: 43.97 MB / 0.5633 GB, free: 4.926 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/0.4206, allocations: 2.515 MB / 0.5657 GB, free: 2.391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00243/0.423, allocations: 1.85 MB / 0.5676 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/0.4245, allocations: 1.769 MB / 0.5693 GB, free: 14.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4245, allocations: 3.938 kB / 0.5693 GB, free: 14.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2326/0.6571, allocations: 66.09 MB / 0.6338 GB, free: 149.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.303/9.961, allocations: 0 / 0.6338 GB, free: 149.3 MB / 474.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: 12.121262704022229]