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.001075/0.001075, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.001188/0.001188, allocations: 156.9 kB / 23.94 MB, free: 0.6133 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.9229/0.9229, allocations: 177 MB / 204.1 MB, free: 5.73 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.433e-06/1.433e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.234e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007464/0.007476, allocations: 9.689 MB / 334.2 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.01263, allocations: 3.652 MB / 337.9 MB, free: 2.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.01348, allocations: 79.62 kB / 337.9 MB, free: 2.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002751/0.01623, allocations: 2.745 MB / 340.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.0187, allocations: 1.862 MB / 342.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.01956, allocations: 0.6159 MB / 343.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.02259, allocations: 3.98 MB / 347.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.02485, allocations: 2.993 MB / 350.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.02665, allocations: 2.198 MB / 352.3 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.02874, allocations: 2.108 MB / 354.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.02908, allocations: 320 kB / 354.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.03048, allocations: 0.9868 MB / 355.7 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.03163, allocations: 1.917 MB / 357.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008191/0.03245, allocations: 1.207 MB / 358.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.03751, allocations: 6.713 MB / 365.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.03752, allocations: 0 / 365.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03752, allocations: 0 / 365.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.194e-05/0.03758, allocations: 0 / 365.6 MB, free: 6.645 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.008426/0.046, allocations: 5.257 MB / 370.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.04605, allocations: 11.98 kB / 370.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005255/0.04657, allocations: 0.6819 MB / 371.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.05007, allocations: 1.936 MB / 373.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.05289, allocations: 2.255 MB / 375.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.05299, allocations: 221.6 kB / 375.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.05336, allocations: 299.8 kB / 376.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009669/0.06302, allocations: 10.1 MB / 386.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.884e-05/0.06309, allocations: 47.62 kB / 386.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.06337, allocations: 143.9 kB / 386.5 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002001/0.06537, allocations: 1.801 MB / 388.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.07601, allocations: 9.037 MB / 397.3 MB, free: 6.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03158/0.1076, allocations: 36.44 MB / 433.8 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00715/0.1147, allocations: 3.233 MB / 437 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.1162, allocations: 1.571 MB / 438.6 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/0.1165, allocations: 132.3 kB / 438.7 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1165, allocations: 47.22 kB / 438.8 MB, free: 11.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.958e-06/0.1165, allocations: 0 / 438.8 MB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.201/0.3175, allocations: 13.36 MB / 452.1 MB, free: 113.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.3175, allocations: 145.5 kB / 452.3 MB, free: 113.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/0.3214, allocations: 4.458 MB / 456.7 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3215, allocations: 45.58 kB / 456.8 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008982/0.3224, allocations: 3.101 MB / 459.9 MB, free: 110.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.3227, allocations: 0.5603 MB / 460.4 MB, free: 110 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007195/0.3234, allocations: 1.163 MB / 461.6 MB, free: 109.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.975e-05/0.3234, allocations: 302.2 kB / 461.9 MB, free: 109.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.325, allocations: 1.946 MB / 463.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.3276, allocations: 5.636 MB / 469.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004542/0.3322, allocations: 8.244 MB / 477.7 MB, free: 93.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-05/0.3322, allocations: 44.59 kB / 477.8 MB, free: 93.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.006678/0.3389, allocations: 8.056 MB / 485.8 MB, free: 85.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.3389, allocations: 60.97 kB / 485.9 MB, free: 85.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.418e-05/0.339, allocations: 132 kB / 486 MB, free: 85.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.3402, allocations: 0.9107 MB / 486.9 MB, free: 84.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.342, allocations: 1.318 MB / 488.2 MB, free: 83.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.3455, allocations: 5.043 MB / 493.3 MB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.348, allocations: 343.7 kB / 493.6 MB, free: 78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/0.3482, allocations: 368 kB / 494 MB, free: 77.64 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.0021/0.3503, allocations: 1.992 MB / 496 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.3507, allocations: 353.6 kB / 496.3 MB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.3535, allocations: 2.755 MB / 499.1 MB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.3535, allocations: 21.91 kB / 499.1 MB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.3535, allocations: 4 kB / 499.1 MB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.3535, allocations: 3.984 kB / 499.1 MB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00638/0.3599, allocations: 6.836 MB / 0.4941 GB, free: 65.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3599, allocations: 0 / 0.4941 GB, free: 65.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.3604, allocations: 227.6 kB / 0.4943 GB, free: 65.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.3614, allocations: 0.7192 MB / 0.495 GB, free: 64.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.3615, allocations: 35.97 kB / 0.495 GB, free: 64.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.3645, allocations: 4.642 MB / 0.4996 GB, free: 59.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3645, allocations: 0 / 0.4996 GB, free: 59.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/0.3684, allocations: 5.086 MB / 0.5045 GB, free: 54.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.3688, allocations: 365.4 kB / 0.5049 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.369, allocations: 23.94 kB / 0.5049 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/0.3697, allocations: 116.2 kB / 0.505 GB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.3699, allocations: 92.48 kB / 0.5051 GB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.37, allocations: 51.97 kB / 0.5051 GB, free: 54.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002056/0.372, allocations: 2.674 MB / 0.5078 GB, free: 51.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.372, allocations: 0 / 0.5078 GB, free: 51.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002566/0.3746, allocations: 0.9492 MB / 0.5087 GB, free: 50.5 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.004158/0.3787, allocations: 5.756 MB / 0.5143 GB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003755/0.3825, allocations: 4.507 MB / 0.5187 GB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3825, allocations: 4 kB / 0.5187 GB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009569/0.3835, allocations: 1.273 MB / 0.5199 GB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.3848, allocations: 427.7 kB / 0.5204 GB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/0.4209, allocations: 43.96 MB / 0.5633 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/0.423, allocations: 2.518 MB / 0.5658 GB, free: 2.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002408/0.4254, allocations: 1.854 MB / 0.5676 GB, free: 500 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002018/0.4274, allocations: 1.78 MB / 0.5693 GB, free: 14.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4274, allocations: 0 / 0.5693 GB, free: 14.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2475/0.6749, allocations: 66.09 MB / 0.6338 GB, free: 149.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.579/10.25, allocations: 4.812 kB / 0.6338 GB, free: 149.2 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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.234853635542095]