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.001655/0.001655, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001798/0.001798, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.372/1.372, allocations: 230.5 MB / 257.4 MB, free: 8 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.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 0.001836/0.001836, allocations: 64.09 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2486, allocations: 53.4 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01296/0.2615, allocations: 11.08 MB / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007828/0.2694, allocations: 3.866 MB / 446.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.2705, allocations: 79.62 kB / 446.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004749/0.2752, allocations: 2.729 MB / 448.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.2792, allocations: 1.798 MB / 450.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2804, allocations: 0.5771 MB / 451.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004497/0.2849, allocations: 3.582 MB / 454.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.2878, allocations: 2.736 MB / 457.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.2897, allocations: 1.468 MB / 459.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.2924, allocations: 2.146 MB / 461.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005126/0.2929, allocations: 316 kB / 461.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.2946, allocations: 1.08 MB / 462.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.2963, allocations: 1.835 MB / 464.5 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.2983, allocations: 2.078 MB / 466.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007014/0.3053, allocations: 6.696 MB / 473.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3053, allocations: 0 / 473.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3053, allocations: 4 kB / 473.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001387/0.3055, allocations: 0 / 473.2 MB, free: 12.57 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01662/0.3221, allocations: 5.097 MB / 478.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3221, allocations: 8.031 kB / 478.3 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009178/0.3231, allocations: 0.6781 MB / 479 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/0.3292, allocations: 1.893 MB / 480.9 MB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004712/0.3339, allocations: 2.407 MB / 483.3 MB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.3341, allocations: 217.7 kB / 483.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005904/0.3347, allocations: 307.8 kB / 483.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.3514, allocations: 10.02 MB / 493.8 MB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.3515, allocations: 43.58 kB / 493.9 MB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004004/0.3519, allocations: 147.9 kB / 494 MB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003017/0.355, allocations: 1.809 MB / 495.8 MB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.372, allocations: 8.955 MB / 0.493 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/0.4168, allocations: 37.67 MB / 0.5297 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.4291, allocations: 3.038 MB / 0.5327 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.4313, allocations: 1.579 MB / 0.5343 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/0.4317, allocations: 128.5 kB / 0.5344 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.4318, allocations: 51.09 kB / 0.5344 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.266e-06/0.4318, allocations: 0 / 0.5344 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2194/0.6512, allocations: 12.75 MB / 0.5469 GB, free: 97.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.6512, allocations: 140.7 kB / 0.547 GB, free: 97.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003874/0.6551, allocations: 4.068 MB / 0.551 GB, free: 95.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.6553, allocations: 45.48 kB / 0.551 GB, free: 95.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.6565, allocations: 3.137 MB / 0.5541 GB, free: 93.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.6568, allocations: 0.5598 MB / 0.5546 GB, free: 93.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.6578, allocations: 1.175 MB / 0.5558 GB, free: 92.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.6579, allocations: 303.4 kB / 0.5561 GB, free: 92.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.6599, allocations: 1.955 MB / 0.558 GB, free: 90.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/0.6628, allocations: 5.643 MB / 0.5635 GB, free: 83.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005748/0.6685, allocations: 8.24 MB / 0.5715 GB, free: 73.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.163e-05/0.6686, allocations: 36 kB / 0.5716 GB, free: 73.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.0102/0.6788, allocations: 8.054 MB / 0.5794 GB, free: 64.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.6788, allocations: 71.97 kB / 0.5795 GB, free: 64.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.052e-05/0.6789, allocations: 131.2 kB / 0.5796 GB, free: 64.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.6808, allocations: 0.91 MB / 0.5805 GB, free: 63.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.6839, allocations: 1.31 MB / 0.5818 GB, free: 62.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00482/0.6887, allocations: 5.091 MB / 0.5868 GB, free: 57.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/0.6921, allocations: 303.8 kB / 0.5871 GB, free: 57.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/0.6924, allocations: 368 kB / 0.5874 GB, free: 56.7 MB / 446.1 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.002113/0.6946, allocations: 1.986 MB / 0.5894 GB, free: 54.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.695, allocations: 357.5 kB / 0.5897 GB, free: 54.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.699, allocations: 2.755 MB / 0.5924 GB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.699, allocations: 15.2 kB / 0.5924 GB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.699, allocations: 4 kB / 0.5924 GB, free: 51.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.699, allocations: 11.98 kB / 0.5924 GB, free: 51.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009597/0.7086, allocations: 7.017 MB / 0.5993 GB, free: 44.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.7086, allocations: 0 / 0.5993 GB, free: 44.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009047/0.7095, allocations: 215.7 kB / 0.5995 GB, free: 44.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.7113, allocations: 0.7148 MB / 0.6002 GB, free: 43.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/0.7113, allocations: 35.97 kB / 0.6002 GB, free: 43.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/0.7158, allocations: 4.65 MB / 0.6047 GB, free: 38.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7158, allocations: 4.562 kB / 0.6047 GB, free: 38.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/0.7216, allocations: 5.093 MB / 0.6097 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007693/0.7223, allocations: 333.6 kB / 0.61 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.7226, allocations: 31.98 kB / 0.6101 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.7237, allocations: 63.92 kB / 0.6101 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.7239, allocations: 96.41 kB / 0.6102 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.724, allocations: 47.91 kB / 0.6103 GB, free: 33.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002798/0.7268, allocations: 2.541 MB / 0.6128 GB, free: 30.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7268, allocations: 0 / 0.6128 GB, free: 30.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003676/0.7305, allocations: 0.8787 MB / 0.6136 GB, free: 29.65 MB / 446.1 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.005998/0.7365, allocations: 5.743 MB / 0.6192 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005424/0.7419, allocations: 4.515 MB / 0.6236 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7419, allocations: 0 / 0.6236 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.7432, allocations: 1.272 MB / 0.6249 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.7454, allocations: 416 kB / 0.6253 GB, free: 17.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05777/0.8032, allocations: 43.6 MB / 0.6678 GB, free: 440 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/0.8067, allocations: 3.053 MB / 0.6708 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004131/0.8108, allocations: 1.846 MB / 0.6726 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002441/0.8132, allocations: 1.749 MB / 0.6743 GB, free: 9.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.8132, allocations: 0 / 0.6743 GB, free: 9.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3208/1.134, allocations: 69.19 MB / 0.7419 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.63/24.76, allocations: 9.797 kB / 0.7419 GB, free: 179.4 MB / 0.5294 GB " [Timeout remaining time 635] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/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: 27.696945503819734]