Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001736/0.001736, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.89 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.227, allocations: 53.4 MB / 432 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01319/0.2402, allocations: 11.08 MB / 443 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.248, allocations: 3.864 MB / 446.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.2493, allocations: 75.69 kB / 447 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004931/0.2542, allocations: 2.733 MB / 449.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.2586, allocations: 1.79 MB / 451.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.26, allocations: 0.5966 MB / 452.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0049/0.2649, allocations: 3.582 MB / 455.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/0.2681, allocations: 2.724 MB / 458.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.2701, allocations: 1.476 MB / 459.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002864/0.2729, allocations: 2.138 MB / 462 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007666/0.2737, allocations: 316 kB / 462.3 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.2757, allocations: 1.077 MB / 463.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.2776, allocations: 1.842 MB / 465.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002645/0.2802, allocations: 2.082 MB / 467.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007785/0.288, allocations: 6.688 MB / 474 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.288, allocations: 0 / 474 MB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.288, allocations: 0 / 474 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001466/0.2882, allocations: 4 kB / 474 MB, free: 12.46 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.01793/0.3061, allocations: 5.101 MB / 479.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3062, allocations: 12.03 kB / 479.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001273/0.3063, allocations: 94.02 kB / 479.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001396/0.3077, allocations: 0.6781 MB / 479.9 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007161/0.3148, allocations: 1.89 MB / 481.8 MB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005293/0.3201, allocations: 2.411 MB / 484.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.3203, allocations: 225.7 kB / 484.4 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.3214, allocations: 299.8 kB / 484.7 MB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.341, allocations: 10.02 MB / 494.7 MB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001596/0.3412, allocations: 47.64 kB / 494.8 MB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008882/0.342, allocations: 139.9 kB / 494.9 MB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003557/0.3456, allocations: 1.809 MB / 496.7 MB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.3646, allocations: 8.962 MB / 0.4938 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04783/0.4124, allocations: 37.67 MB / 0.5306 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.4256, allocations: 3.024 MB / 0.5336 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/0.4281, allocations: 1.589 MB / 0.5351 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006439/0.4287, allocations: 128.4 kB / 0.5352 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/0.4288, allocations: 51.2 kB / 0.5353 GB, free: 384 kB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 5.881e-06/0.4288, allocations: 0 / 0.5353 GB, free: 384 kB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.227/0.6558, allocations: 12.73 MB / 0.5477 GB, free: 98.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.6559, allocations: 152.1 kB / 0.5479 GB, free: 98.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/0.6599, allocations: 4.058 MB / 0.5518 GB, free: 96.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.6601, allocations: 41.52 kB / 0.5519 GB, free: 96.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.6615, allocations: 3.141 MB / 0.5549 GB, free: 94.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/0.6619, allocations: 0.5615 MB / 0.5555 GB, free: 93.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.6631, allocations: 1.17 MB / 0.5566 GB, free: 92.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.6631, allocations: 305.1 kB / 0.5569 GB, free: 92.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.6652, allocations: 1.951 MB / 0.5588 GB, free: 90.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.6683, allocations: 5.644 MB / 0.5643 GB, free: 82.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005958/0.6743, allocations: 8.236 MB / 0.5724 GB, free: 72.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.097e-05/0.6743, allocations: 40 kB / 0.5724 GB, free: 72.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01161/0.686, allocations: 8.068 MB / 0.5803 GB, free: 64.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.686, allocations: 63.94 kB / 0.5804 GB, free: 64.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/0.6861, allocations: 132 kB / 0.5805 GB, free: 64.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.6882, allocations: 0.908 MB / 0.5814 GB, free: 63.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.6917, allocations: 1.306 MB / 0.5827 GB, free: 62.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005002/0.6967, allocations: 5.093 MB / 0.5876 GB, free: 57.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/0.7005, allocations: 307.8 kB / 0.5879 GB, free: 56.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005922/0.7011, allocations: 364 kB / 0.5883 GB, free: 56.52 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.00251/0.7036, allocations: 1.982 MB / 0.5902 GB, free: 54.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/0.7042, allocations: 365.5 kB / 0.5906 GB, free: 54.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/0.7084, allocations: 2.751 MB / 0.5932 GB, free: 51.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.7084, allocations: 16 kB / 0.5933 GB, free: 51.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.7084, allocations: 4 kB / 0.5933 GB, free: 51.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.7084, allocations: 3.984 kB / 0.5933 GB, free: 51.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009406/0.7178, allocations: 7.027 MB / 0.6001 GB, free: 44.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.7178, allocations: 4 kB / 0.6001 GB, free: 44.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009174/0.7187, allocations: 215.7 kB / 0.6003 GB, free: 44.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/0.7205, allocations: 0.7187 MB / 0.601 GB, free: 43.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.7207, allocations: 27.98 kB / 0.6011 GB, free: 43.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.7253, allocations: 4.65 MB / 0.6056 GB, free: 38.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7253, allocations: 7.969 kB / 0.6056 GB, free: 38.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006096/0.7314, allocations: 5.094 MB / 0.6106 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009755/0.7324, allocations: 337.5 kB / 0.6109 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007363/0.7331, allocations: 20 kB / 0.6109 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.7344, allocations: 71.91 kB / 0.611 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.7346, allocations: 96.42 kB / 0.6111 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/0.7347, allocations: 43.97 kB / 0.6111 GB, free: 32.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.7376, allocations: 2.534 MB / 0.6136 GB, free: 30.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7376, allocations: 0 / 0.6136 GB, free: 30.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003733/0.7414, allocations: 0.8827 MB / 0.6145 GB, free: 29.46 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.005996/0.7474, allocations: 5.74 MB / 0.6201 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005417/0.7528, allocations: 4.511 MB / 0.6245 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7528, allocations: 0 / 0.6245 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.7542, allocations: 1.264 MB / 0.6257 GB, free: 17.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.7568, allocations: 436.8 kB / 0.6261 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05904/0.8159, allocations: 43.6 MB / 0.6687 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0034/0.8193, allocations: 3.06 MB / 0.6717 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003933/0.8232, allocations: 1.842 MB / 0.6735 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/0.8256, allocations: 1.749 MB / 0.6752 GB, free: 9.555 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.8256, allocations: 0 / 0.6752 GB, free: 9.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3251/1.151, allocations: 69.21 MB / 0.7428 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.25/24.4, allocations: 4.812 kB / 0.7428 GB, free: 179.5 MB / 0.5294 GB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.749855041969568]