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.0008146/0.0008146, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008529/0.0008529, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.873/0.873, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 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="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 1.563e-06/1.563e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.103e-05, allocations: 4.953 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007765/0.007786, allocations: 9.688 MB / 334.3 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006005/0.01379, allocations: 3.653 MB / 337.9 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.01492, allocations: 79.62 kB / 338 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.01755, allocations: 2.749 MB / 340.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.02042, allocations: 1.859 MB / 342.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.02132, allocations: 0.6237 MB / 343.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003257/0.02458, allocations: 3.968 MB / 347.2 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.02709, allocations: 3.001 MB / 350.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.02976, allocations: 2.187 MB / 352.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.03192, allocations: 2.112 MB / 354.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000556/0.03248, allocations: 320 kB / 354.8 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.03399, allocations: 0.9946 MB / 355.8 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.03525, allocations: 1.913 MB / 357.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.03664, allocations: 1.203 MB / 358.9 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00563/0.04226, allocations: 6.713 MB / 365.6 MB, free: 6.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.04227, allocations: 0 / 365.6 MB, free: 6.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.04227, allocations: 0 / 365.6 MB, free: 6.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000209/0.04248, allocations: 0 / 365.6 MB, free: 6.684 MB / 330.7 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.01085/0.05333, allocations: 5.257 MB / 370.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.05338, allocations: 8.031 kB / 370.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008363/0.05421, allocations: 0.6859 MB / 371.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/0.05793, allocations: 1.936 MB / 373.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.06083, allocations: 2.255 MB / 375.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.06094, allocations: 229.6 kB / 376 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004178/0.06136, allocations: 299.8 kB / 376.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.0725, allocations: 10.1 MB / 386.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/0.07279, allocations: 39.64 kB / 386.4 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/0.07313, allocations: 143.9 kB / 386.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001726/0.07486, allocations: 1.809 MB / 388.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.08654, allocations: 9.037 MB / 397.4 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/0.1192, allocations: 36.43 MB / 433.8 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00675/0.1259, allocations: 3.24 MB / 437.1 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.1275, allocations: 1.574 MB / 438.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.1278, allocations: 124.4 kB / 438.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1278, allocations: 47.22 kB / 438.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.627e-06/0.1278, allocations: 0 / 438.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.1866/0.3144, allocations: 13.36 MB / 452.2 MB, free: 113.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3144, allocations: 141.5 kB / 452.3 MB, free: 113.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004726/0.3191, allocations: 4.457 MB / 456.8 MB, free: 112.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000243/0.3194, allocations: 49.45 kB / 456.8 MB, free: 112.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.3205, allocations: 3.098 MB / 459.9 MB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004473/0.321, allocations: 0.5644 MB / 460.5 MB, free: 110.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009308/0.3219, allocations: 1.158 MB / 461.6 MB, free: 109.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.3219, allocations: 301.1 kB / 461.9 MB, free: 109.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.3238, allocations: 1.949 MB / 463.9 MB, free: 108.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.3268, allocations: 5.638 MB / 469.5 MB, free: 103.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004613/0.3314, allocations: 8.243 MB / 477.8 MB, free: 93.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.024e-05/0.3314, allocations: 36 kB / 477.8 MB, free: 93.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.007633/0.3391, allocations: 8.061 MB / 485.9 MB, free: 86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.3391, allocations: 66.33 kB / 485.9 MB, free: 85.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.459e-05/0.3392, allocations: 132 kB / 486 MB, free: 85.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.3405, allocations: 0.9023 MB / 487 MB, free: 84.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.3425, allocations: 1.318 MB / 488.3 MB, free: 83.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.346, allocations: 5.039 MB / 493.3 MB, free: 78.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/0.3489, allocations: 347.7 kB / 493.6 MB, free: 78.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/0.3493, allocations: 372 kB / 494 MB, free: 77.74 MB / 410.7 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.002108/0.3514, allocations: 1.988 MB / 496 MB, free: 75.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/0.352, allocations: 353 kB / 496.3 MB, free: 75.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.3548, allocations: 2.755 MB / 499.1 MB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.3548, allocations: 21.97 kB / 499.1 MB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.3548, allocations: 4 kB / 499.1 MB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3548, allocations: 11.58 kB / 499.1 MB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/0.3627, allocations: 6.846 MB / 0.4941 GB, free: 65.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.3627, allocations: 3.938 kB / 0.4941 GB, free: 65.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.3632, allocations: 227.7 kB / 0.4943 GB, free: 65.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.3643, allocations: 0.7135 MB / 0.495 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.3643, allocations: 35.97 kB / 0.4951 GB, free: 64.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.3675, allocations: 4.634 MB / 0.4996 GB, free: 59.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3675, allocations: 7.969 kB / 0.4996 GB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004229/0.3717, allocations: 5.082 MB / 0.5046 GB, free: 54.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007988/0.3725, allocations: 369.4 kB / 0.5049 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.3728, allocations: 24.86 kB / 0.5049 GB, free: 54.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.3735, allocations: 104.4 kB / 0.505 GB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.3737, allocations: 92.42 kB / 0.5051 GB, free: 54.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.3738, allocations: 51.97 kB / 0.5052 GB, free: 54.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002561/0.3763, allocations: 2.678 MB / 0.5078 GB, free: 51.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3763, allocations: 0 / 0.5078 GB, free: 51.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003105/0.3794, allocations: 0.9566 MB / 0.5087 GB, free: 50.59 MB / 410.7 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.004171/0.3836, allocations: 5.752 MB / 0.5144 GB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0045/0.3881, allocations: 4.496 MB / 0.5187 GB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3881, allocations: 3.938 kB / 0.5187 GB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3891, allocations: 1.272 MB / 0.52 GB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.3911, allocations: 426.2 kB / 0.5204 GB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/0.4338, allocations: 43.97 MB / 0.5633 GB, free: 4.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/0.4363, allocations: 2.527 MB / 0.5658 GB, free: 2.449 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002953/0.4393, allocations: 1.846 MB / 0.5676 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/0.4411, allocations: 1.776 MB / 0.5693 GB, free: 14.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.4411, allocations: 0 / 0.5693 GB, free: 14.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2303/0.6713, allocations: 66.11 MB / 0.6339 GB, free: 149.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/9.349, allocations: 13.12 kB / 0.6339 GB, free: 149.4 MB / 474.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/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: 11.456168757751584]