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.001318/0.001318, allocations: 116.4 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.001538/0.001538, allocations: 215.1 kB / 23.75 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.501/1.501, allocations: 230.5 MB / 257.4 MB, free: 8.031 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.001994/0.001994, allocations: 67.89 kB / 377.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2787, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01375/0.2924, allocations: 11.07 MB / 442.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009179/0.3016, allocations: 3.866 MB / 446.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.3043, allocations: 75.62 kB / 446.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005609/0.3099, allocations: 2.729 MB / 448.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.315, allocations: 1.802 MB / 450.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3165, allocations: 0.5849 MB / 451.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005978/0.3225, allocations: 3.582 MB / 454.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004086/0.3266, allocations: 2.728 MB / 457.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.3294, allocations: 1.472 MB / 459.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/0.3334, allocations: 2.142 MB / 461.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.3349, allocations: 316 kB / 461.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.3383, allocations: 1.077 MB / 462.6 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002567/0.3409, allocations: 1.839 MB / 464.5 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003151/0.344, allocations: 2.082 MB / 466.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009458/0.3535, allocations: 6.693 MB / 473.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3535, allocations: 0 / 473.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3535, allocations: 4 kB / 473.2 MB, free: 12.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002564/0.3537, allocations: 0 / 473.2 MB, free: 12.44 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.01939/0.3731, allocations: 5.097 MB / 478.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.3732, allocations: 12.03 kB / 478.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001136/0.3743, allocations: 0.6742 MB / 479 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006694/0.381, allocations: 1.893 MB / 480.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006076/0.3871, allocations: 2.403 MB / 483.3 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.3873, allocations: 229.6 kB / 483.5 MB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006996/0.388, allocations: 295.8 kB / 483.8 MB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.407, allocations: 10.02 MB / 493.8 MB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.4071, allocations: 43.64 kB / 493.9 MB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004382/0.4076, allocations: 139.9 kB / 494 MB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003285/0.4108, allocations: 1.813 MB / 495.8 MB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.4303, allocations: 8.955 MB / 0.493 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05352/0.4838, allocations: 37.67 MB / 0.5298 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.4968, allocations: 3.032 MB / 0.5327 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.4994, allocations: 1.577 MB / 0.5343 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005286/0.4999, allocations: 132.5 kB / 0.5344 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.4999, allocations: 51.09 kB / 0.5344 GB, free: 468 kB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.158e-06/0.4999, allocations: 0 / 0.5344 GB, free: 468 kB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2555/0.7554, allocations: 12.74 MB / 0.5469 GB, free: 97.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.7555, allocations: 139.8 kB / 0.547 GB, free: 97.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005411/0.7609, allocations: 4.07 MB / 0.551 GB, free: 95.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004321/0.7613, allocations: 49.2 kB / 0.551 GB, free: 95.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/0.7635, allocations: 3.13 MB / 0.5541 GB, free: 93.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007899/0.7643, allocations: 0.5582 MB / 0.5546 GB, free: 93.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.7657, allocations: 1.179 MB / 0.5558 GB, free: 92.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.7657, allocations: 305.1 kB / 0.5561 GB, free: 92.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/0.768, allocations: 1.953 MB / 0.558 GB, free: 90.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/0.7713, allocations: 5.641 MB / 0.5635 GB, free: 82.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00678/0.7781, allocations: 8.243 MB / 0.5715 GB, free: 72.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-05/0.7782, allocations: 36 kB / 0.5716 GB, free: 72.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01248/0.7907, allocations: 8.059 MB / 0.5794 GB, free: 64.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.7907, allocations: 69.75 kB / 0.5795 GB, free: 64.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.7909, allocations: 132 kB / 0.5796 GB, free: 64.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/0.793, allocations: 0.9138 MB / 0.5805 GB, free: 63.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/0.7967, allocations: 1.31 MB / 0.5818 GB, free: 62.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005351/0.8021, allocations: 5.088 MB / 0.5868 GB, free: 57.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/0.8066, allocations: 299.8 kB / 0.5871 GB, free: 56.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00067/0.8073, allocations: 368 kB / 0.5874 GB, free: 56.47 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.002583/0.8098, allocations: 1.986 MB / 0.5893 GB, free: 54.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005987/0.8104, allocations: 361.5 kB / 0.5897 GB, free: 54.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.8147, allocations: 2.751 MB / 0.5924 GB, free: 51.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.8147, allocations: 19.94 kB / 0.5924 GB, free: 51.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.8147, allocations: 4 kB / 0.5924 GB, free: 51.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.8147, allocations: 3.984 kB / 0.5924 GB, free: 51.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009936/0.8247, allocations: 7.027 MB / 0.5993 GB, free: 44.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.8247, allocations: 0 / 0.5993 GB, free: 44.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009786/0.8256, allocations: 211.7 kB / 0.5995 GB, free: 44.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/0.8275, allocations: 0.716 MB / 0.6002 GB, free: 43.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.8276, allocations: 35.97 kB / 0.6002 GB, free: 43.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/0.8323, allocations: 4.646 MB / 0.6047 GB, free: 38.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.8323, allocations: 4 kB / 0.6047 GB, free: 38.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/0.8386, allocations: 5.094 MB / 0.6097 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009087/0.8395, allocations: 330.2 kB / 0.61 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/0.8398, allocations: 27.98 kB / 0.6101 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.841, allocations: 63.92 kB / 0.6101 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.8412, allocations: 104.3 kB / 0.6102 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.673e-05/0.8413, allocations: 47.97 kB / 0.6103 GB, free: 32.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002959/0.8443, allocations: 2.53 MB / 0.6127 GB, free: 30.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8443, allocations: 3.938 kB / 0.6127 GB, free: 30.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004438/0.8487, allocations: 0.8865 MB / 0.6136 GB, free: 29.41 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.006634/0.8553, allocations: 5.733 MB / 0.6192 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006836/0.8622, allocations: 4.515 MB / 0.6236 GB, free: 19.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8622, allocations: 3.938 kB / 0.6236 GB, free: 19.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.8636, allocations: 1.271 MB / 0.6249 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.866, allocations: 435.5 kB / 0.6253 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06704/0.933, allocations: 43.59 MB / 0.6678 GB, free: 204 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003857/0.9369, allocations: 3.056 MB / 0.6708 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004356/0.9412, allocations: 1.85 MB / 0.6726 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/0.944, allocations: 1.749 MB / 0.6743 GB, free: 9.508 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/0.944, allocations: 4 kB / 0.6743 GB, free: 9.504 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3861/1.33, allocations: 69.17 MB / 0.7419 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.55/24.88, allocations: 11.33 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 & 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/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.596087867997994]