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.001985/0.001985, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001791/0.001791, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.336/1.336, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001435/0.001435, allocations: 51.92 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2261, allocations: 53.35 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01311/0.2392, allocations: 11.08 MB / 443 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.2471, allocations: 3.864 MB / 446.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.2488, allocations: 75.62 kB / 446.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005205/0.254, allocations: 2.722 MB / 449.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.2583, allocations: 1.813 MB / 451.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.2597, allocations: 0.5732 MB / 452 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005057/0.2648, allocations: 3.587 MB / 455.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003816/0.2686, allocations: 2.732 MB / 458.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.2711, allocations: 1.468 MB / 459.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/0.2744, allocations: 2.142 MB / 462 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008637/0.2752, allocations: 316 kB / 462.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.2774, allocations: 1.077 MB / 463.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002134/0.2796, allocations: 1.839 MB / 465.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002936/0.2825, allocations: 2.078 MB / 467.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007267/0.2898, allocations: 6.704 MB / 474 MB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2898, allocations: 4 kB / 474 MB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2898, allocations: 0 / 474 MB, free: 12.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.2899, allocations: 0 / 474 MB, free: 12.58 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.01687/0.3068, allocations: 5.092 MB / 479.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3068, allocations: 12.03 kB / 479.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001053/0.3069, allocations: 98.02 kB / 479.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009894/0.3079, allocations: 0.6781 MB / 479.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006914/0.3148, allocations: 1.893 MB / 481.7 MB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005711/0.3205, allocations: 2.403 MB / 484.2 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.3207, allocations: 221.7 kB / 484.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000875/0.3216, allocations: 299.8 kB / 484.7 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.3397, allocations: 10.03 MB / 494.7 MB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.3398, allocations: 39.64 kB / 494.7 MB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000414/0.3402, allocations: 147.8 kB / 494.9 MB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003164/0.3434, allocations: 1.809 MB / 496.7 MB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.361, allocations: 8.959 MB / 0.4938 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/0.4072, allocations: 37.67 MB / 0.5306 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.4202, allocations: 3.035 MB / 0.5335 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.4224, allocations: 1.579 MB / 0.5351 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004757/0.4229, allocations: 128.4 kB / 0.5352 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4229, allocations: 47.16 kB / 0.5353 GB, free: 0.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.076e-06/0.4229, allocations: 0 / 0.5353 GB, free: 0.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2159/0.6388, allocations: 12.74 MB / 0.5477 GB, free: 98.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.6389, allocations: 152.7 kB / 0.5478 GB, free: 98.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/0.6426, allocations: 4.057 MB / 0.5518 GB, free: 96.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.6427, allocations: 45.39 kB / 0.5518 GB, free: 96.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.6438, allocations: 3.137 MB / 0.5549 GB, free: 94.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.6442, allocations: 0.5598 MB / 0.5555 GB, free: 94.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.6452, allocations: 1.178 MB / 0.5566 GB, free: 92.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.555e-05/0.6452, allocations: 305.1 kB / 0.5569 GB, free: 92.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.6472, allocations: 1.948 MB / 0.5588 GB, free: 90.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.6501, allocations: 5.64 MB / 0.5643 GB, free: 83.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005548/0.6557, allocations: 8.241 MB / 0.5724 GB, free: 73.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.734e-05/0.6557, allocations: 40 kB / 0.5724 GB, free: 73.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.009861/0.6656, allocations: 8.056 MB / 0.5803 GB, free: 64.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.6656, allocations: 63.94 kB / 0.5803 GB, free: 64.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.959e-05/0.6657, allocations: 132 kB / 0.5804 GB, free: 64.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.6677, allocations: 0.9116 MB / 0.5813 GB, free: 63.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/0.6707, allocations: 1.309 MB / 0.5826 GB, free: 62.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/0.6756, allocations: 5.085 MB / 0.5876 GB, free: 57.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/0.6789, allocations: 311.8 kB / 0.5879 GB, free: 57.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/0.6793, allocations: 367.4 kB / 0.5882 GB, free: 56.71 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.001992/0.6813, allocations: 1.982 MB / 0.5902 GB, free: 54.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.6817, allocations: 357.5 kB / 0.5905 GB, free: 54.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/0.6858, allocations: 2.755 MB / 0.5932 GB, free: 51.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.6858, allocations: 16 kB / 0.5932 GB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6858, allocations: 4 kB / 0.5932 GB, free: 51.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6858, allocations: 7.969 kB / 0.5932 GB, free: 51.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008963/0.6948, allocations: 7.025 MB / 0.6001 GB, free: 44.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6948, allocations: 8.094 kB / 0.6001 GB, free: 44.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/0.6957, allocations: 211.7 kB / 0.6003 GB, free: 44.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.6975, allocations: 0.7195 MB / 0.601 GB, free: 43.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.6976, allocations: 35.97 kB / 0.601 GB, free: 43.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004634/0.7023, allocations: 4.643 MB / 0.6056 GB, free: 38.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.7023, allocations: 8.016 kB / 0.6056 GB, free: 38.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006028/0.7083, allocations: 5.096 MB / 0.6105 GB, free: 33.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/0.7091, allocations: 329.6 kB / 0.6109 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.7094, allocations: 20 kB / 0.6109 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.7105, allocations: 75.5 kB / 0.611 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.7107, allocations: 96.36 kB / 0.611 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.7108, allocations: 47.97 kB / 0.6111 GB, free: 33.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002647/0.7134, allocations: 2.537 MB / 0.6136 GB, free: 30.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7134, allocations: 0 / 0.6136 GB, free: 30.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003562/0.717, allocations: 0.8788 MB / 0.6144 GB, free: 29.65 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.005987/0.723, allocations: 5.736 MB / 0.62 GB, free: 23.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00518/0.7282, allocations: 4.514 MB / 0.6244 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7282, allocations: 8 kB / 0.6244 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.7295, allocations: 1.27 MB / 0.6257 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.7315, allocations: 421.6 kB / 0.6261 GB, free: 17.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05364/0.7851, allocations: 43.6 MB / 0.6687 GB, free: 444 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004391/0.7895, allocations: 3.06 MB / 0.6717 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004266/0.7938, allocations: 1.842 MB / 0.6735 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/0.7963, allocations: 1.745 MB / 0.6752 GB, free: 9.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.233e-06/0.7963, allocations: 4 kB / 0.6752 GB, free: 9.746 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2996/1.096, allocations: 69.23 MB / 0.7428 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.24/24.33, allocations: 12.88 kB / 0.7428 GB, free: 179.6 MB / 0.5294 GB " [Timeout remaining time 635] (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: 27.664635476015974]