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.001409/0.001409, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001554/0.001554, allocations: 214 kB / 24.52 MB, free: 3.914 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.3/1.3, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 47.91 kB / 378.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1972, allocations: 53.36 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01105/0.2082, allocations: 9.616 MB / 441.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006032/0.2143, allocations: 3.633 MB / 445.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.2149, allocations: 79.62 kB / 445.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004427/0.2193, allocations: 2.609 MB / 447.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.2224, allocations: 1.802 MB / 449.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2234, allocations: 0.5888 MB / 450.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.2272, allocations: 3.574 MB / 453.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/0.23, allocations: 2.732 MB / 456.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.2315, allocations: 1.476 MB / 458 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.234, allocations: 2.142 MB / 460.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004646/0.2344, allocations: 316 kB / 460.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.2359, allocations: 0.944 MB / 461.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.2375, allocations: 1.846 MB / 463.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.239, allocations: 1.545 MB / 464.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006207/0.2452, allocations: 6.713 MB / 471.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2452, allocations: 0 / 471.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2452, allocations: 3.938 kB / 471.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.008e-05/0.2453, allocations: 0 / 471.5 MB, free: 14.86 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.01496/0.2602, allocations: 5.097 MB / 476.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2603, allocations: 8.031 kB / 476.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001018/0.2604, allocations: 102 kB / 476.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008185/0.2612, allocations: 0.6781 MB / 477.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006243/0.2674, allocations: 1.89 MB / 479.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.2719, allocations: 2.423 MB / 481.7 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.2721, allocations: 217.7 kB / 481.9 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006056/0.2727, allocations: 299.8 kB / 482.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01737/0.2901, allocations: 10.02 MB / 492.2 MB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.2902, allocations: 47.56 kB / 492.2 MB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004141/0.2906, allocations: 147.9 kB / 492.4 MB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003088/0.2937, allocations: 1.801 MB / 494.2 MB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.3114, allocations: 8.962 MB / 0.4914 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.3568, allocations: 36.23 MB / 0.5267 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/0.3692, allocations: 3.032 MB / 0.5297 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.3713, allocations: 1.581 MB / 0.5312 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/0.3718, allocations: 128.4 kB / 0.5314 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.3718, allocations: 47.16 kB / 0.5314 GB, free: 4.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.088e-06/0.3718, allocations: 0 / 0.5314 GB, free: 4.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.1962/0.568, allocations: 12.78 MB / 0.5439 GB, free: 99.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.568, allocations: 147.4 kB / 0.544 GB, free: 99.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.5714, allocations: 4.06 MB / 0.548 GB, free: 98.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/0.5715, allocations: 45.52 kB / 0.548 GB, free: 98.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.5725, allocations: 3.135 MB / 0.5511 GB, free: 95.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.5727, allocations: 0.5602 MB / 0.5517 GB, free: 95.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009454/0.5737, allocations: 1.17 MB / 0.5528 GB, free: 94.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.5737, allocations: 309.9 kB / 0.5531 GB, free: 94.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.5756, allocations: 1.951 MB / 0.555 GB, free: 93.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/0.5783, allocations: 5.64 MB / 0.5605 GB, free: 86.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/0.5832, allocations: 8.238 MB / 0.5685 GB, free: 76.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.739e-05/0.5832, allocations: 36 kB / 0.5686 GB, free: 76.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.00872/0.5919, allocations: 8.064 MB / 0.5765 GB, free: 68.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.592, allocations: 74.84 kB / 0.5765 GB, free: 68.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.888e-05/0.5921, allocations: 132 kB / 0.5767 GB, free: 68.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/0.5939, allocations: 0.9061 MB / 0.5775 GB, free: 67.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/0.5968, allocations: 1.314 MB / 0.5788 GB, free: 66.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004497/0.6013, allocations: 5.037 MB / 0.5837 GB, free: 60.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.604, allocations: 315.4 kB / 0.584 GB, free: 60.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/0.6043, allocations: 364 kB / 0.5844 GB, free: 60.22 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.001722/0.6061, allocations: 1.978 MB / 0.5863 GB, free: 58.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.6064, allocations: 361.5 kB / 0.5867 GB, free: 57.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/0.6101, allocations: 2.751 MB / 0.5894 GB, free: 55.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.6101, allocations: 19.59 kB / 0.5894 GB, free: 55.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.6102, allocations: 8 kB / 0.5894 GB, free: 55.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.6102, allocations: 15.97 kB / 0.5894 GB, free: 55.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007929/0.6181, allocations: 6.754 MB / 0.596 GB, free: 48.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6181, allocations: 3.938 kB / 0.596 GB, free: 48.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.619, allocations: 215.7 kB / 0.5962 GB, free: 48.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.6207, allocations: 0.7109 MB / 0.5969 GB, free: 47.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.6207, allocations: 35.97 kB / 0.5969 GB, free: 47.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004114/0.6249, allocations: 4.599 MB / 0.6014 GB, free: 42.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6249, allocations: 4 kB / 0.6014 GB, free: 42.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/0.6301, allocations: 5.104 MB / 0.6064 GB, free: 37.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.6304, allocations: 329.5 kB / 0.6067 GB, free: 37.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/0.6307, allocations: 23.83 kB / 0.6067 GB, free: 37.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.6317, allocations: 67.91 kB / 0.6068 GB, free: 37.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.6319, allocations: 100.4 kB / 0.6069 GB, free: 36.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-05/0.632, allocations: 47.97 kB / 0.607 GB, free: 36.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002154/0.6342, allocations: 2.53 MB / 0.6094 GB, free: 34.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6342, allocations: 0 / 0.6094 GB, free: 34.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003124/0.6373, allocations: 0.8905 MB / 0.6103 GB, free: 33.47 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.00554/0.6429, allocations: 5.722 MB / 0.6159 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004494/0.6473, allocations: 4.517 MB / 0.6203 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6473, allocations: 3.938 kB / 0.6203 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.6486, allocations: 1.272 MB / 0.6215 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.6502, allocations: 433.9 kB / 0.6219 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0467/0.6969, allocations: 43.59 MB / 0.6645 GB, free: 4.254 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00303/0.7, allocations: 2.516 MB / 0.667 GB, free: 1.715 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003724/0.7037, allocations: 1.849 MB / 0.6688 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/0.7058, allocations: 1.745 MB / 0.6705 GB, free: 14.11 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7058, allocations: 0 / 0.6705 GB, free: 14.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2946/1, allocations: 66.82 MB / 0.7357 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.38/23.38, allocations: 13.7 kB / 0.7358 GB, free: 178.4 MB / 0.5294 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 26.55797117005568]