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.00183/0.00183, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001721/0.001721, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.384/1.384, allocations: 230.5 MB / 258.2 MB, free: 7.797 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 63.91 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2295, allocations: 53.4 MB / 431.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01189/0.2414, allocations: 9.622 MB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007917/0.2493, allocations: 3.633 MB / 445.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.2507, allocations: 71.69 kB / 445.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005113/0.2559, allocations: 2.609 MB / 447.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.2606, allocations: 1.802 MB / 449.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.2621, allocations: 0.5849 MB / 450.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004723/0.2668, allocations: 3.57 MB / 453.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/0.2701, allocations: 2.736 MB / 456.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.2722, allocations: 1.48 MB / 458 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.2751, allocations: 2.142 MB / 460.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.2757, allocations: 316 kB / 460.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.2776, allocations: 0.9479 MB / 461.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001777/0.2794, allocations: 1.842 MB / 463.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.2811, allocations: 1.538 MB / 464.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.2884, allocations: 6.723 MB / 471.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2884, allocations: 0 / 471.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2884, allocations: 4 kB / 471.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001644/0.2886, allocations: 0 / 471.5 MB, free: 14.69 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.01778/0.3064, allocations: 5.093 MB / 476.6 MB, free: 9.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3064, allocations: 8.031 kB / 476.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001164/0.3066, allocations: 102 kB / 476.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/0.3076, allocations: 0.6742 MB / 477.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00666/0.3142, allocations: 1.89 MB / 479.3 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005479/0.3197, allocations: 2.423 MB / 481.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.3199, allocations: 225.7 kB / 481.9 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008006/0.3207, allocations: 295.8 kB / 482.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.3409, allocations: 10.02 MB / 492.2 MB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.3411, allocations: 43.64 kB / 492.3 MB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000461/0.3415, allocations: 143.9 kB / 492.4 MB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003361/0.3449, allocations: 1.813 MB / 494.2 MB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.3627, allocations: 8.97 MB / 0.4914 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04668/0.4094, allocations: 36.23 MB / 0.5268 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.4227, allocations: 3.024 MB / 0.5297 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.4251, allocations: 1.582 MB / 0.5313 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/0.4257, allocations: 124.5 kB / 0.5314 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.4257, allocations: 59.14 kB / 0.5315 GB, free: 4.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.737e-06/0.4257, allocations: 0 / 0.5315 GB, free: 4.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2549/0.6806, allocations: 12.78 MB / 0.5439 GB, free: 99.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.6806, allocations: 145.3 kB / 0.5441 GB, free: 99.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004423/0.6851, allocations: 4.064 MB / 0.548 GB, free: 97.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.6853, allocations: 42.33 kB / 0.5481 GB, free: 97.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.6866, allocations: 3.133 MB / 0.5511 GB, free: 95.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/0.687, allocations: 0.5674 MB / 0.5517 GB, free: 95.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.6881, allocations: 1.175 MB / 0.5528 GB, free: 94.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.6882, allocations: 301.1 kB / 0.5531 GB, free: 94.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.6902, allocations: 1.952 MB / 0.555 GB, free: 93.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.6932, allocations: 5.642 MB / 0.5605 GB, free: 86.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005684/0.6989, allocations: 8.244 MB / 0.5686 GB, free: 76.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-05/0.699, allocations: 36 kB / 0.5686 GB, free: 76.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01045/0.7094, allocations: 8.062 MB / 0.5765 GB, free: 68.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.528e-05/0.7095, allocations: 67.94 kB / 0.5766 GB, free: 68.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.981e-05/0.7096, allocations: 132 kB / 0.5767 GB, free: 67.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.7116, allocations: 0.9007 MB / 0.5776 GB, free: 67.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/0.7149, allocations: 1.315 MB / 0.5789 GB, free: 65.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/0.7198, allocations: 5.043 MB / 0.5838 GB, free: 60.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/0.7238, allocations: 303.7 kB / 0.5841 GB, free: 60.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005652/0.7244, allocations: 371.4 kB / 0.5844 GB, free: 59.9 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.002392/0.7268, allocations: 1.987 MB / 0.5864 GB, free: 57.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.7273, allocations: 365.5 kB / 0.5867 GB, free: 57.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/0.7314, allocations: 2.751 MB / 0.5894 GB, free: 54.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.7315, allocations: 16 kB / 0.5894 GB, free: 54.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.7315, allocations: 4 kB / 0.5894 GB, free: 54.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7315, allocations: 3.984 kB / 0.5894 GB, free: 54.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009668/0.7412, allocations: 6.755 MB / 0.596 GB, free: 47.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.7412, allocations: 4 kB / 0.596 GB, free: 47.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/0.7421, allocations: 215.8 kB / 0.5962 GB, free: 47.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.744, allocations: 0.7147 MB / 0.5969 GB, free: 47.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.7441, allocations: 35.97 kB / 0.597 GB, free: 46.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004592/0.7487, allocations: 4.607 MB / 0.6015 GB, free: 42.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7487, allocations: 0 / 0.6015 GB, free: 42.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006215/0.7549, allocations: 5.104 MB / 0.6064 GB, free: 37.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/0.7559, allocations: 329.5 kB / 0.6068 GB, free: 36.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.7563, allocations: 20.19 kB / 0.6068 GB, free: 36.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.7574, allocations: 71.91 kB / 0.6068 GB, free: 36.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/0.7577, allocations: 100.3 kB / 0.6069 GB, free: 36.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.7578, allocations: 51.97 kB / 0.607 GB, free: 36.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003017/0.7608, allocations: 2.533 MB / 0.6095 GB, free: 34.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7608, allocations: 0 / 0.6095 GB, free: 34.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005435/0.7662, allocations: 0.8866 MB / 0.6103 GB, free: 33.14 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.006338/0.7726, allocations: 5.724 MB / 0.6159 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00584/0.7784, allocations: 4.522 MB / 0.6203 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7784, allocations: 0 / 0.6203 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.7798, allocations: 1.268 MB / 0.6216 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.7822, allocations: 427 kB / 0.622 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05827/0.8405, allocations: 43.59 MB / 0.6646 GB, free: 3.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003352/0.8438, allocations: 2.512 MB / 0.667 GB, free: 1.395 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003982/0.8478, allocations: 1.838 MB / 0.6688 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002523/0.8503, allocations: 1.753 MB / 0.6705 GB, free: 13.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.8503, allocations: 0 / 0.6705 GB, free: 13.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3634/1.214, allocations: 66.82 MB / 0.7358 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.68/23.89, allocations: 13.88 kB / 0.7358 GB, free: 178.3 MB / 0.5294 GB " [Timeout remaining time 636] (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.294840467977338]