Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 209.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 47.92 kB / 377.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2969, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01343/0.3104, allocations: 9.671 MB / 440.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008264/0.3186, allocations: 3.644 MB / 444.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.32, allocations: 75.62 kB / 444.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005449/0.3255, allocations: 2.613 MB / 447.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00548/0.3309, allocations: 1.806 MB / 448.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.3324, allocations: 0.5771 MB / 449.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.3377, allocations: 3.582 MB / 453 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004192/0.3419, allocations: 2.725 MB / 455.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.3448, allocations: 1.472 MB / 457.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.3484, allocations: 2.149 MB / 459.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009037/0.3493, allocations: 316 kB / 459.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.3513, allocations: 0.9479 MB / 460.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001903/0.3532, allocations: 1.839 MB / 462.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002149/0.3554, allocations: 1.538 MB / 464 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007857/0.3632, allocations: 6.72 MB / 470.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3633, allocations: 4 kB / 470.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3633, allocations: 0 / 470.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001876/0.3634, allocations: 0 / 470.8 MB, free: 14.77 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.01722/0.3807, allocations: 5.097 MB / 475.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3807, allocations: 8.031 kB / 475.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001065/0.3818, allocations: 0.6781 MB / 476.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006768/0.3885, allocations: 1.89 MB / 478.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006047/0.3946, allocations: 2.423 MB / 480.8 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.3948, allocations: 225.7 kB / 481.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008431/0.3956, allocations: 299.8 kB / 481.4 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.4147, allocations: 10.02 MB / 491.4 MB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.4148, allocations: 39.64 kB / 491.4 MB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004136/0.4152, allocations: 151.8 kB / 491.6 MB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003223/0.4185, allocations: 1.805 MB / 493.4 MB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.4371, allocations: 8.943 MB / 0.4905 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05281/0.4899, allocations: 36.24 MB / 0.5259 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.5026, allocations: 3.032 MB / 0.5289 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/0.5059, allocations: 1.582 MB / 0.5304 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005907/0.5065, allocations: 112.5 kB / 0.5305 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.5066, allocations: 55.09 kB / 0.5306 GB, free: 4.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 6.432e-06/0.5066, allocations: 0 / 0.5306 GB, free: 4.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.278/0.7846, allocations: 12.79 MB / 0.5431 GB, free: 99.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.7846, allocations: 146.6 kB / 0.5432 GB, free: 99.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005878/0.7905, allocations: 4.281 MB / 0.5474 GB, free: 97.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003706/0.7909, allocations: 45.55 kB / 0.5474 GB, free: 97.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.7925, allocations: 3.13 MB / 0.5505 GB, free: 95.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/0.7931, allocations: 0.5666 MB / 0.5511 GB, free: 94.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.7944, allocations: 1.175 MB / 0.5522 GB, free: 94.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.7944, allocations: 301.1 kB / 0.5525 GB, free: 93.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/0.7966, allocations: 1.949 MB / 0.5544 GB, free: 93.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003625/0.8003, allocations: 5.643 MB / 0.5599 GB, free: 86.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007081/0.8073, allocations: 8.242 MB / 0.568 GB, free: 76.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.8075, allocations: 40 kB / 0.568 GB, free: 76.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01407/0.8215, allocations: 8.061 MB / 0.5759 GB, free: 68.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/0.8216, allocations: 63.94 kB / 0.5759 GB, free: 68.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/0.8218, allocations: 132 kB / 0.5761 GB, free: 68.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.8241, allocations: 0.9128 MB / 0.5769 GB, free: 67.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/0.8281, allocations: 1.31 MB / 0.5782 GB, free: 66.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/0.8338, allocations: 5.038 MB / 0.5831 GB, free: 61.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/0.8384, allocations: 316.5 kB / 0.5834 GB, free: 60.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/0.8395, allocations: 363.9 kB / 0.5838 GB, free: 60.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.004211/0.8437, allocations: 1.981 MB / 0.5857 GB, free: 58.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/0.8447, allocations: 353.5 kB / 0.5861 GB, free: 58.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/0.8499, allocations: 2.754 MB / 0.5888 GB, free: 55.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/0.8499, allocations: 24 kB / 0.5888 GB, free: 55.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.8499, allocations: 4 kB / 0.5888 GB, free: 55.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.8499, allocations: 7.984 kB / 0.5888 GB, free: 55.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.8634, allocations: 6.761 MB / 0.5954 GB, free: 48.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.8634, allocations: 0 / 0.5954 GB, free: 48.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.8644, allocations: 218.3 kB / 0.5956 GB, free: 48.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.8664, allocations: 0.7087 MB / 0.5963 GB, free: 47.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.8665, allocations: 35.97 kB / 0.5963 GB, free: 47.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/0.8715, allocations: 4.603 MB / 0.6008 GB, free: 42.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.8715, allocations: 12 kB / 0.6008 GB, free: 42.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006661/0.8782, allocations: 5.096 MB / 0.6058 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000993/0.8792, allocations: 329.5 kB / 0.6061 GB, free: 37.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000765/0.8799, allocations: 23.98 kB / 0.6061 GB, free: 37.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.8815, allocations: 71.86 kB / 0.6062 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.8818, allocations: 96.41 kB / 0.6063 GB, free: 37.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.8819, allocations: 51.8 kB / 0.6064 GB, free: 37.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004099/0.886, allocations: 2.53 MB / 0.6088 GB, free: 34.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.886, allocations: 0 / 0.6088 GB, free: 34.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005232/0.8912, allocations: 0.8828 MB / 0.6097 GB, free: 33.73 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.007608/0.8988, allocations: 5.732 MB / 0.6153 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006472/0.9053, allocations: 4.521 MB / 0.6197 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.9053, allocations: 384 / 0.6197 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.907, allocations: 1.276 MB / 0.6209 GB, free: 22.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/0.9105, allocations: 421.3 kB / 0.6213 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07568/0.9861, allocations: 43.6 MB / 0.6639 GB, free: 4.516 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004693/0.9908, allocations: 2.512 MB / 0.6664 GB, free: 1.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004627/0.9955, allocations: 1.838 MB / 0.6682 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002985/0.9984, allocations: 1.759 MB / 0.6699 GB, free: 14.38 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.9984, allocations: 0 / 0.6699 GB, free: 14.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3924/1.391, allocations: 67.22 MB / 0.7355 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/17.07, allocations: 2.656 kB / 0.7355 GB, free: 186.6 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 19.826449649990536]