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.001565/0.001565, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001621/0.001621, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.458/1.458, allocations: 230.2 MB / 254.5 MB, free: 15.39 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 63.89 kB / 373.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1141, allocations: 53.32 MB / 426.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01349/0.1276, allocations: 11.05 MB / 437.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008302/0.1359, allocations: 3.843 MB / 441.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.1375, allocations: 63.81 kB / 441.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.1428, allocations: 2.71 MB / 444.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004923/0.1477, allocations: 1.802 MB / 446.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1492, allocations: 0.5771 MB / 446.7 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2504/0.3996, allocations: 3.56 MB / 450.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004276/0.4039, allocations: 2.982 MB / 453.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004158/0.408, allocations: 1.45 MB / 454.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.414, allocations: 2.146 MB / 456.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.4152, allocations: 315.1 kB / 457.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.4184, allocations: 1.072 MB / 458.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.421, allocations: 1.836 MB / 460.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003303/0.4243, allocations: 2.085 MB / 462.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009724/0.4341, allocations: 6.689 MB / 468.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4341, allocations: 3.938 kB / 468.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.839e-06/0.4341, allocations: 0 / 468.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002416/0.4343, allocations: 1.25 kB / 468.8 MB, free: 4.234 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.02026/0.4546, allocations: 5.178 MB / 474 MB, free: 1.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4546, allocations: 13.16 kB / 474 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002247/0.4569, allocations: 0.6742 MB / 474.7 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007465/0.4643, allocations: 1.894 MB / 476.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007875/0.4722, allocations: 2.467 MB / 479.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.4725, allocations: 228.2 kB / 479.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.4741, allocations: 308.2 kB / 479.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.4978, allocations: 10.01 MB / 489.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/0.498, allocations: 42.86 kB / 489.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001415/0.4995, allocations: 145.6 kB / 489.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003615/0.5031, allocations: 1.805 MB / 491.6 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02151/0.5246, allocations: 8.973 MB / 0.4888 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05853/0.5831, allocations: 37.81 MB / 0.5257 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/0.5963, allocations: 3.492 MB / 0.5292 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002703/0.599, allocations: 1.575 MB / 0.5307 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007149/0.5997, allocations: 354.2 kB / 0.531 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.5998, allocations: 47.11 kB / 0.5311 GB, free: 1.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 6.432e-06/0.5998, allocations: 0 / 0.5311 GB, free: 1.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.0451/0.6449, allocations: 12.9 MB / 0.5437 GB, free: 4.672 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.645, allocations: 141.1 kB / 0.5438 GB, free: 4.504 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008439/0.6534, allocations: 4.061 MB / 0.5478 GB, free: 424 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.6538, allocations: 41.7 kB / 0.5478 GB, free: 376 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002908/0.6567, allocations: 3.135 MB / 0.5509 GB, free: 13.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009457/0.6576, allocations: 0.5697 MB / 0.5514 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/0.6606, allocations: 1.174 MB / 0.5526 GB, free: 11.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6608, allocations: 309.1 kB / 0.5529 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/0.6643, allocations: 1.947 MB / 0.5548 GB, free: 9.273 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006732/0.671, allocations: 5.643 MB / 0.5603 GB, free: 1.777 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.6818, allocations: 8.241 MB / 0.5683 GB, free: 7.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/0.682, allocations: 40 kB / 0.5684 GB, free: 7.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01699/0.699, allocations: 8.061 MB / 0.5762 GB, free: 15.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.6991, allocations: 60 kB / 0.5763 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/0.6993, allocations: 132 kB / 0.5764 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/0.7019, allocations: 0.9102 MB / 0.5773 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00448/0.7064, allocations: 1.31 MB / 0.5786 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00747/0.7138, allocations: 5.201 MB / 0.5837 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004383/0.7182, allocations: 315.6 kB / 0.584 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/0.7193, allocations: 367.9 kB / 0.5843 GB, free: 7.207 MB / 494.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.004385/0.7237, allocations: 1.981 MB / 0.5863 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008617/0.7246, allocations: 349.7 kB / 0.5866 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006078/0.7306, allocations: 2.759 MB / 0.5893 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/0.7307, allocations: 23.98 kB / 0.5893 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.7307, allocations: 4 kB / 0.5893 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.7307, allocations: 3.984 kB / 0.5893 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.7467, allocations: 7.059 MB / 0.5962 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.7467, allocations: 0 / 0.5962 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7478, allocations: 219.8 kB / 0.5964 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/0.7499, allocations: 0.7141 MB / 0.5971 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.7501, allocations: 35.98 kB / 0.5971 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.7566, allocations: 4.746 MB / 0.6018 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.7566, allocations: 7.969 kB / 0.6018 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008365/0.765, allocations: 5.095 MB / 0.6068 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.7663, allocations: 410.5 kB / 0.6072 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00082/0.7671, allocations: 20 kB / 0.6072 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.7687, allocations: 71.91 kB / 0.6072 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.769, allocations: 92.41 kB / 0.6073 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.7691, allocations: 46.7 kB / 0.6074 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005408/0.7746, allocations: 2.537 MB / 0.6099 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7746, allocations: 4 kB / 0.6099 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006221/0.7808, allocations: 0.8827 MB / 0.6107 GB, free: 11.88 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.009797/0.7906, allocations: 5.733 MB / 0.6163 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008257/0.7988, allocations: 4.511 MB / 0.6207 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7988, allocations: 8.25 kB / 0.6207 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.801, allocations: 1.263 MB / 0.622 GB, free: 352 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/0.8044, allocations: 427.8 kB / 0.6224 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2947/1.099, allocations: 43.52 MB / 0.6649 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003496/1.103, allocations: 3.055 MB / 0.6679 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003586/1.106, allocations: 1.838 MB / 0.6697 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.108, allocations: 1.751 MB / 0.6714 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.903e-06/1.108, allocations: 0 / 0.6714 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.212, allocations: 64.61 MB / 0.7345 GB, free: 98.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.57/24.78, allocations: 19.78 kB / 0.7345 GB, free: 98.38 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 28.134003527928144]