Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 120.8 kB / 17.74 MB, free: 5.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 186.9 kB / 20.68 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 246.4 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 51.92 kB / 357.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1165, allocations: 49.44 MB / 406.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01494/0.1315, allocations: 11.11 MB / 418 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008767/0.1403, allocations: 3.82 MB / 421.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.1424, allocations: 67.81 kB / 421.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005376/0.1478, allocations: 2.694 MB / 424.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.1529, allocations: 1.798 MB / 426.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1544, allocations: 0.5732 MB / 427 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2542/0.4086, allocations: 3.593 MB / 430.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004563/0.4132, allocations: 3.607 MB / 434.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.4167, allocations: 1.459 MB / 435.6 MB, free: 4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004228/0.4209, allocations: 2.012 MB / 437.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.4223, allocations: 319.5 kB / 438 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/0.4252, allocations: 1.054 MB / 439 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002317/0.4275, allocations: 1.827 MB / 440.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002914/0.4305, allocations: 2.127 MB / 443 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.4416, allocations: 6.844 MB / 449.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4416, allocations: 4 kB / 449.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4416, allocations: 0 / 449.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002961/0.4419, allocations: 1.25 kB / 449.8 MB, free: 1.762 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02136/0.4633, allocations: 5.234 MB / 455.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4634, allocations: 15 kB / 455.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00186/0.4652, allocations: 0.6897 MB / 455.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00721/0.4725, allocations: 1.888 MB / 457.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006294/0.4788, allocations: 2.598 MB / 460.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.479, allocations: 226.8 kB / 460.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.4801, allocations: 303.8 kB / 460.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.5015, allocations: 10.21 MB / 471 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.5017, allocations: 39.36 kB / 471 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005287/0.5022, allocations: 147.4 kB / 471.2 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003555/0.5057, allocations: 1.875 MB / 473 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.5269, allocations: 9.112 MB / 482.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05343/0.5803, allocations: 38.22 MB / 0.5082 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/0.5939, allocations: 3.59 MB / 0.5117 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.5966, allocations: 1.674 MB / 0.5133 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/0.5972, allocations: 362.6 kB / 0.5137 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.5973, allocations: 46.03 kB / 0.5137 GB, free: 14.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 5.4e-06/0.5973, allocations: 3.984 kB / 0.5137 GB, free: 14.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04375/0.641, allocations: 12.96 MB / 0.5264 GB, free: 1.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/0.6412, allocations: 141.2 kB / 0.5265 GB, free: 1.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006559/0.6477, allocations: 4.078 MB / 0.5305 GB, free: 13.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003873/0.6481, allocations: 41.7 kB / 0.5305 GB, free: 13.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002662/0.6508, allocations: 3.177 MB / 0.5336 GB, free: 10.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/0.6517, allocations: 0.5587 MB / 0.5342 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001733/0.6534, allocations: 1.184 MB / 0.5353 GB, free: 8.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6536, allocations: 305.1 kB / 0.5356 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.6569, allocations: 1.955 MB / 0.5375 GB, free: 6.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006383/0.6633, allocations: 5.672 MB / 0.5431 GB, free: 14.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.6742, allocations: 8.265 MB / 0.5511 GB, free: 4.891 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.6743, allocations: 40 kB / 0.5512 GB, free: 4.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.01834/0.6927, allocations: 8.097 MB / 0.5591 GB, free: 12.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.6928, allocations: 60 kB / 0.5591 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/0.693, allocations: 132 kB / 0.5593 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/0.6956, allocations: 0.9128 MB / 0.5602 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/0.7004, allocations: 1.322 MB / 0.5615 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007472/0.7079, allocations: 5.205 MB / 0.5665 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/0.7126, allocations: 303.8 kB / 0.5668 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.7137, allocations: 368 kB / 0.5672 GB, free: 4.328 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (698): * Single equations (assignments): 694 * 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.004191/0.7179, allocations: 2.009 MB / 0.5691 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000845/0.7187, allocations: 357.5 kB / 0.5695 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005872/0.7246, allocations: 2.763 MB / 0.5722 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/0.7247, allocations: 22.58 kB / 0.5722 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.7247, allocations: 4 kB / 0.5722 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.7247, allocations: 3.984 kB / 0.5722 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.7393, allocations: 7.141 MB / 0.5792 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.7394, allocations: 0 / 0.5792 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.7405, allocations: 211.7 kB / 0.5794 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/0.7428, allocations: 0.7163 MB / 0.5801 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.7429, allocations: 31.97 kB / 0.5801 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006895/0.7498, allocations: 4.758 MB / 0.5848 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.7499, allocations: 3.938 kB / 0.5848 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009032/0.7589, allocations: 5.11 MB / 0.5898 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.7603, allocations: 402.6 kB / 0.5901 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/0.7607, allocations: 23.94 kB / 0.5902 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.762, allocations: 75.91 kB / 0.5902 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/0.7623, allocations: 88.47 kB / 0.5903 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.7624, allocations: 50 kB / 0.5904 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004809/0.7672, allocations: 2.546 MB / 0.5928 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.21e-07/0.7673, allocations: 0 / 0.5928 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005716/0.773, allocations: 0.8984 MB / 0.5937 GB, free: 8.852 MB / 0.4981 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.00901/0.782, allocations: 5.75 MB / 0.5993 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008627/0.7907, allocations: 4.671 MB / 0.6039 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.7907, allocations: 0 / 0.6039 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.7929, allocations: 1.35 MB / 0.6052 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.7957, allocations: 427.5 kB / 0.6056 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3024/1.098, allocations: 43.77 MB / 0.6484 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/1.101, allocations: 3.1 MB / 0.6514 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003645/1.105, allocations: 1.854 MB / 0.6532 GB, free: 159.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/1.107, allocations: 1.783 MB / 0.655 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.513e-06/1.107, allocations: 0 / 0.655 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.213, allocations: 64.56 MB / 0.718 GB, free: 94.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.44/23.65, allocations: 15.69 kB / 0.718 GB, free: 94.51 MB / 0.5137 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.97466902108863]