Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001685/0.001685, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.001434/0.001434, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 207.6 MB / 235.2 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 51.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2453, allocations: 49.16 MB / 396.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01054/0.2559, allocations: 11.83 MB / 408.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008662/0.2645, allocations: 3.956 MB / 412.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.2666, allocations: 78.97 kB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005781/0.2724, allocations: 2.767 MB / 415 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005662/0.278, allocations: 1.93 MB / 416.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.2796, allocations: 0.5855 MB / 417.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006453/0.2861, allocations: 3.751 MB / 421.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004095/0.2902, allocations: 2.839 MB / 424.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.293, allocations: 1.561 MB / 425.6 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.2964, allocations: 2.286 MB / 427.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007346/0.2972, allocations: 340 kB / 428.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.2993, allocations: 1.108 MB / 429.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001938/0.3012, allocations: 1.979 MB / 431.4 MB, free: 356 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.3037, allocations: 2.253 MB / 433.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008106/0.3118, allocations: 7.226 MB / 440.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3118, allocations: 4 kB / 440.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3118, allocations: 0 / 440.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.3119, allocations: 0 / 440.8 MB, free: 6.824 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01678/0.3287, allocations: 5.387 MB / 446.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3287, allocations: 11.98 kB / 446.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009838/0.3297, allocations: 0.72 MB / 447 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006723/0.3364, allocations: 1.928 MB / 448.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005735/0.3422, allocations: 2.755 MB / 451.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.3424, allocations: 242 kB / 451.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006587/0.343, allocations: 311.8 kB / 452.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/0.3625, allocations: 10.71 MB / 462.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.3627, allocations: 47.56 kB / 462.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004432/0.3631, allocations: 159.8 kB / 463.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/0.3666, allocations: 1.985 MB / 465.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.3855, allocations: 9.562 MB / 474.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/0.4351, allocations: 39.68 MB / 0.5023 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.4479, allocations: 3.26 MB / 0.5054 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/0.4505, allocations: 1.74 MB / 0.5071 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004995/0.451, allocations: 136.8 kB / 0.5073 GB, free: 6.176 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.4511, allocations: 43.67 kB / 0.5073 GB, free: 6.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.657e-06/0.4511, allocations: 3.938 kB / 0.5073 GB, free: 6.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.04226/0.4933, allocations: 13.88 MB / 0.5209 GB, free: 8.184 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.4934, allocations: 149.5 kB / 0.521 GB, free: 8.004 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00584/0.4993, allocations: 4.188 MB / 0.5251 GB, free: 3.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002974/0.4996, allocations: 45.7 kB / 0.5252 GB, free: 3.742 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002496/0.5021, allocations: 3.295 MB / 0.5284 GB, free: 424 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000791/0.5029, allocations: 0.6438 MB / 0.529 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/0.5045, allocations: 1.234 MB / 0.5302 GB, free: 14.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5046, allocations: 301.1 kB / 0.5305 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/0.5078, allocations: 2.124 MB / 0.5326 GB, free: 12.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006308/0.5141, allocations: 5.948 MB / 0.5384 GB, free: 4.223 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.525, allocations: 8.755 MB / 0.5469 GB, free: 9.559 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/0.5251, allocations: 40 kB / 0.547 GB, free: 9.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0165/0.5416, allocations: 8.563 MB / 0.5553 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.947e-05/0.5417, allocations: 67.91 kB / 0.5554 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/0.5418, allocations: 132.9 kB / 0.5555 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1676/0.7094, allocations: 0.9154 MB / 0.5564 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/0.7142, allocations: 1.39 MB / 0.5578 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006532/0.7207, allocations: 5.102 MB / 0.5627 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00413/0.7249, allocations: 324.6 kB / 0.5631 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008077/0.7257, allocations: 384 kB / 0.5634 GB, free: 138.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (736): * Single equations (assignments): 732 * 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.003254/0.7289, allocations: 2.103 MB / 0.5655 GB, free: 137.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/0.7295, allocations: 372.8 kB / 0.5658 GB, free: 137.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005688/0.7352, allocations: 3.133 MB / 0.5689 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.7352, allocations: 24.17 kB / 0.5689 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.7352, allocations: 5.344 kB / 0.5689 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.7353, allocations: 4.984 kB / 0.5689 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.7479, allocations: 7.774 MB / 0.5765 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.7479, allocations: 5.812 kB / 0.5765 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.7492, allocations: 262.5 kB / 0.5768 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/0.7511, allocations: 0.7154 MB / 0.5775 GB, free: 133.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.7512, allocations: 37.48 kB / 0.5775 GB, free: 133.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004704/0.7559, allocations: 4.656 MB / 0.5821 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7559, allocations: 0 / 0.5821 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00684/0.7627, allocations: 5.695 MB / 0.5876 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.7642, allocations: 0.5659 MB / 0.5882 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/0.7646, allocations: 25.98 kB / 0.5882 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.7659, allocations: 91.67 kB / 0.5883 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.7661, allocations: 109.7 kB / 0.5884 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.7662, allocations: 50.41 kB / 0.5884 GB, free: 128.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003188/0.7694, allocations: 2.613 MB / 0.591 GB, free: 127.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7694, allocations: 0 / 0.591 GB, free: 127.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004484/0.7739, allocations: 0.9633 MB / 0.5919 GB, free: 126.6 MB / 478.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 (123): * Single equations (assignments): 119 * 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.00692/0.7808, allocations: 6.33 MB / 0.5981 GB, free: 120.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006801/0.7876, allocations: 4.905 MB / 0.6029 GB, free: 115.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7876, allocations: 0 / 0.6029 GB, free: 115.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.7894, allocations: 1.437 MB / 0.6043 GB, free: 113.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.7919, allocations: 438 kB / 0.6047 GB, free: 113.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05182/0.8437, allocations: 46.4 MB / 0.65 GB, free: 61.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/0.8465, allocations: 3.243 MB / 0.6532 GB, free: 57.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003681/0.8502, allocations: 1.929 MB / 0.6551 GB, free: 56.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/0.8522, allocations: 1.882 MB / 0.6569 GB, free: 54.16 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.8522, allocations: 0 / 0.6569 GB, free: 54.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/0.9731, allocations: 72.87 MB / 0.7281 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.51/20.48, allocations: 6.609 kB / 0.7281 GB, free: 13.19 MB / 0.4981 GB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 23.036525943003653]