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.001184/0.001184, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001346/0.001346, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.451/1.451, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001517/0.001517, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2205/0.3295, allocations: 11.04 MB / 437.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009125/0.3386, allocations: 3.844 MB / 441.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.3407, allocations: 74 kB / 441.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005082/0.3458, allocations: 2.71 MB / 444 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.3514, allocations: 1.8 MB / 445.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3529, allocations: 0.5776 MB / 446.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006095/0.359, allocations: 3.575 MB / 449.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004741/0.3638, allocations: 2.98 MB / 452.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.3671, allocations: 1.471 MB / 454.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/0.3709, allocations: 2.14 MB / 456.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.372, allocations: 316.2 kB / 456.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.3747, allocations: 1.073 MB / 457.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002681/0.3774, allocations: 1.839 MB / 459.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005115/0.3825, allocations: 2.083 MB / 461.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.394, allocations: 6.689 MB / 468.5 MB, free: 5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.394, allocations: 6.5 kB / 468.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.394, allocations: 4 kB / 468.5 MB, free: 4.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003215/0.3944, allocations: 0 / 468.5 MB, free: 4.992 MB / 366.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.02234/0.4167, allocations: 5.171 MB / 473.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4168, allocations: 12.03 kB / 473.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0019/0.4187, allocations: 0.6742 MB / 474.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00755/0.4262, allocations: 1.893 MB / 476.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.432, allocations: 2.476 MB / 478.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.4322, allocations: 222.3 kB / 479 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.4335, allocations: 295.8 kB / 479.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.455, allocations: 10.02 MB / 489.3 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.4551, allocations: 44.39 kB / 489.3 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005181/0.4556, allocations: 143.9 kB / 489.5 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003395/0.459, allocations: 1.805 MB / 491.3 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01963/0.4787, allocations: 8.973 MB / 0.4885 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05217/0.5308, allocations: 37.82 MB / 0.5254 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.5448, allocations: 3.471 MB / 0.5288 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002484/0.5473, allocations: 1.593 MB / 0.5304 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/0.5479, allocations: 355.7 kB / 0.5307 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.548, allocations: 49.25 kB / 0.5308 GB, free: 9.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.248e-06/0.548, allocations: 0 / 0.5308 GB, free: 9.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04385/0.5918, allocations: 12.89 MB / 0.5434 GB, free: 12.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.5919, allocations: 141.1 kB / 0.5435 GB, free: 12.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005942/0.5978, allocations: 4.061 MB / 0.5475 GB, free: 8.184 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003463/0.5982, allocations: 41.7 kB / 0.5475 GB, free: 8.137 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/0.6008, allocations: 3.131 MB / 0.5506 GB, free: 4.977 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000847/0.6016, allocations: 0.5661 MB / 0.5511 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001774/0.6034, allocations: 1.178 MB / 0.5523 GB, free: 3.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6035, allocations: 309.1 kB / 0.5526 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.6066, allocations: 1.947 MB / 0.5545 GB, free: 0.957 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006597/0.6132, allocations: 5.642 MB / 0.56 GB, free: 9.453 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.6242, allocations: 8.238 MB / 0.568 GB, free: 15.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.6243, allocations: 40 kB / 0.5681 GB, free: 15.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01717/0.6415, allocations: 8.056 MB / 0.5759 GB, free: 7.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-05/0.6416, allocations: 64.34 kB / 0.576 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/0.6418, allocations: 135.9 kB / 0.5761 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/0.6444, allocations: 0.9138 MB / 0.577 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00445/0.6489, allocations: 1.31 MB / 0.5783 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007461/0.6563, allocations: 5.198 MB / 0.5834 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/0.661, allocations: 307.6 kB / 0.5837 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000959/0.6619, allocations: 364 kB / 0.584 GB, free: 14.86 MB / 0.4981 GB 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.003859/0.6658, allocations: 1.982 MB / 0.5859 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007136/0.6665, allocations: 349.7 kB / 0.5863 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005858/0.6724, allocations: 2.759 MB / 0.589 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.6724, allocations: 16 kB / 0.589 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.6724, allocations: 4 kB / 0.589 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.6724, allocations: 7.969 kB / 0.589 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.6867, allocations: 7.069 MB / 0.5959 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.6867, allocations: 0 / 0.5959 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.6879, allocations: 207.7 kB / 0.5961 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/0.6902, allocations: 0.7109 MB / 0.5968 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.6903, allocations: 35.97 kB / 0.5968 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006945/0.6973, allocations: 4.756 MB / 0.6015 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6973, allocations: 7.969 kB / 0.6015 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008519/0.7058, allocations: 5.094 MB / 0.6064 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.7069, allocations: 410.5 kB / 0.6068 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/0.7072, allocations: 24 kB / 0.6069 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7084, allocations: 71.91 kB / 0.6069 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.7087, allocations: 92.41 kB / 0.607 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.7089, allocations: 47.97 kB / 0.6071 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004425/0.7133, allocations: 2.537 MB / 0.6095 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.7133, allocations: 192 / 0.6095 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005169/0.7184, allocations: 0.8866 MB / 0.6104 GB, free: 3.48 MB / 0.5137 GB 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.2257/0.9441, allocations: 5.721 MB / 0.616 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008158/0.9523, allocations: 4.517 MB / 0.6204 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.9523, allocations: 0 / 0.6204 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.9545, allocations: 1.264 MB / 0.6216 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.9573, allocations: 434.6 kB / 0.6221 GB, free: 159.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06202/1.019, allocations: 43.52 MB / 0.6646 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/1.022, allocations: 3.057 MB / 0.6675 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00373/1.026, allocations: 1.845 MB / 0.6693 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/1.028, allocations: 1.751 MB / 0.6711 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/1.028, allocations: 0 / 0.6711 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.135, allocations: 64.61 MB / 0.7341 GB, free: 61.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.47/22.61, allocations: 4 kB / 0.7342 GB, free: 61.3 MB / 0.5137 GB " [Timeout remaining time 637] (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: 25.73784043919295]