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.001812/0.001812, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002241/0.002241, allocations: 216.6 kB / 23.75 MB, free: 4.668 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001716/0.001716, allocations: 43.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3246, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01381/0.3384, allocations: 11.08 MB / 442.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00927/0.3477, allocations: 3.862 MB / 446.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.3498, allocations: 75.62 kB / 446.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005658/0.3555, allocations: 2.733 MB / 448.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.3611, allocations: 1.801 MB / 450.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.3628, allocations: 0.5849 MB / 451.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005999/0.3688, allocations: 3.579 MB / 454.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004434/0.3732, allocations: 2.728 MB / 457.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.3768, allocations: 1.468 MB / 459 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004393/0.3812, allocations: 2.146 MB / 461.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008765/0.3821, allocations: 319.9 kB / 461.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.3846, allocations: 1.077 MB / 462.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002191/0.3867, allocations: 1.835 MB / 464.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003085/0.3898, allocations: 2.093 MB / 466.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009693/0.3995, allocations: 6.684 MB / 473.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3995, allocations: 4 kB / 473.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3995, allocations: 0 / 473.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002237/0.3998, allocations: 0 / 473.2 MB, free: 12.59 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.01904/0.4188, allocations: 5.101 MB / 478.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.4189, allocations: 12.03 kB / 478.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00138/0.4202, allocations: 0.6703 MB / 479 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007106/0.4273, allocations: 1.897 MB / 480.9 MB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008417/0.4358, allocations: 2.4 MB / 483.3 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.4361, allocations: 233.7 kB / 483.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.4375, allocations: 291.8 kB / 483.8 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.4639, allocations: 10.02 MB / 493.8 MB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001904/0.4641, allocations: 43.62 kB / 493.8 MB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007364/0.4648, allocations: 143.9 kB / 494 MB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005228/0.47, allocations: 1.805 MB / 495.8 MB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/0.4995, allocations: 8.962 MB / 0.4929 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07697/0.5765, allocations: 37.67 MB / 0.5297 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.5895, allocations: 3.035 MB / 0.5327 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/0.5921, allocations: 1.582 MB / 0.5342 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.5926, allocations: 124.4 kB / 0.5343 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.184e-05/0.5927, allocations: 51.09 kB / 0.5344 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.556e-06/0.5927, allocations: 0 / 0.5344 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2939/0.8866, allocations: 12.75 MB / 0.5468 GB, free: 97.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.8866, allocations: 139.8 kB / 0.547 GB, free: 97.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/0.8907, allocations: 4.068 MB / 0.5509 GB, free: 95.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.8909, allocations: 45.58 kB / 0.551 GB, free: 95.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.8922, allocations: 3.136 MB / 0.554 GB, free: 93.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.8926, allocations: 0.5611 MB / 0.5546 GB, free: 93.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.8937, allocations: 1.172 MB / 0.5557 GB, free: 92.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.8937, allocations: 303.1 kB / 0.556 GB, free: 92.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.8959, allocations: 1.953 MB / 0.5579 GB, free: 90.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/0.8991, allocations: 5.648 MB / 0.5634 GB, free: 83.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006373/0.9054, allocations: 8.238 MB / 0.5715 GB, free: 73.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.101e-05/0.9055, allocations: 36 kB / 0.5715 GB, free: 73.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01328/0.9188, allocations: 8.055 MB / 0.5794 GB, free: 65.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.9189, allocations: 63.94 kB / 0.5795 GB, free: 64.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.945e-05/0.919, allocations: 136 kB / 0.5796 GB, free: 64.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/0.9211, allocations: 0.9068 MB / 0.5805 GB, free: 63.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/0.9248, allocations: 1.306 MB / 0.5817 GB, free: 62.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005257/0.93, allocations: 5.092 MB / 0.5867 GB, free: 57.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/0.934, allocations: 311.6 kB / 0.587 GB, free: 57.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006959/0.9347, allocations: 364 kB / 0.5874 GB, free: 56.76 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.00261/0.9374, allocations: 1.993 MB / 0.5893 GB, free: 54.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005679/0.9379, allocations: 353.5 kB / 0.5896 GB, free: 54.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004285/0.9422, allocations: 2.751 MB / 0.5923 GB, free: 51.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.9422, allocations: 16 kB / 0.5923 GB, free: 51.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.9422, allocations: 4.469 kB / 0.5924 GB, free: 51.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.9423, allocations: 7.984 kB / 0.5924 GB, free: 51.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.9529, allocations: 7.02 MB / 0.5992 GB, free: 44.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.9529, allocations: 0 / 0.5992 GB, free: 44.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/0.9539, allocations: 219.6 kB / 0.5994 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.9558, allocations: 0.7147 MB / 0.6001 GB, free: 43.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.9559, allocations: 35.97 kB / 0.6002 GB, free: 43.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.9608, allocations: 4.654 MB / 0.6047 GB, free: 38.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9608, allocations: 0 / 0.6047 GB, free: 38.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00616/0.967, allocations: 5.096 MB / 0.6097 GB, free: 33.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.968, allocations: 333.6 kB / 0.61 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.9684, allocations: 24 kB / 0.61 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.9695, allocations: 67.67 kB / 0.6101 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.9698, allocations: 104.3 kB / 0.6102 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/0.9699, allocations: 47.97 kB / 0.6102 GB, free: 33.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002997/0.9728, allocations: 2.537 MB / 0.6127 GB, free: 30.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9728, allocations: 0 / 0.6127 GB, free: 30.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004061/0.9769, allocations: 0.8749 MB / 0.6136 GB, free: 29.7 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.006309/0.9832, allocations: 5.736 MB / 0.6192 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006166/0.9894, allocations: 4.518 MB / 0.6236 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.9894, allocations: 3.938 kB / 0.6236 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.9909, allocations: 1.271 MB / 0.6248 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.9934, allocations: 432.4 kB / 0.6252 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06696/1.06, allocations: 43.59 MB / 0.6678 GB, free: 484 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003781/1.064, allocations: 3.068 MB / 0.6708 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00429/1.068, allocations: 1.83 MB / 0.6726 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002681/1.071, allocations: 1.753 MB / 0.6743 GB, free: 9.785 MB / 494.1 MB Notification: Performance of SimCode: time 1.853e-06/1.071, allocations: 0 / 0.6743 GB, free: 9.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.394/1.465, allocations: 69.2 MB / 0.7419 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.99/25.46, allocations: 17.06 kB / 0.7419 GB, free: 179.6 MB / 0.5294 GB " [Timeout remaining time 634] (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: 28.24062804300047]