Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001386/0.001386, 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.001511/0.001511, 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.465/1.465, 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.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1272, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2594/0.3866, allocations: 11.21 MB / 437.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008941/0.3956, allocations: 4.08 MB / 441.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.3984, allocations: 81.34 kB / 441.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006667/0.4051, allocations: 3.209 MB / 444.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006684/0.4118, allocations: 1.926 MB / 446.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.4141, allocations: 0.8221 MB / 447.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008119/0.4222, allocations: 4.404 MB / 452.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005417/0.4276, allocations: 3.342 MB / 455.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.4316, allocations: 1.642 MB / 457 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.4359, allocations: 2.291 MB / 459.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.4374, allocations: 345.1 kB / 459.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003884/0.4413, allocations: 1.266 MB / 460.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003615/0.4449, allocations: 2.057 MB / 463 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005654/0.4505, allocations: 2.308 MB / 465.3 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4638, allocations: 7.472 MB / 472.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4638, allocations: 0 / 472.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4638, allocations: 0 / 472.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003568/0.4641, allocations: 0 / 472.8 MB, free: 2.297 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: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01777/0.4819, allocations: 5.28 MB / 478.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.797e-05/0.482, allocations: 8.031 kB / 478.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00275/0.4847, allocations: 0.7359 MB / 478.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/0.5091, allocations: 3.89 MB / 482.7 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008189/0.5172, allocations: 2.992 MB / 485.7 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.5175, allocations: 242.2 kB / 485.9 MB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.5195, allocations: 327.8 kB / 486.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.544, allocations: 10.38 MB / 496.6 MB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/0.5442, allocations: 39.64 kB / 496.7 MB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001335/0.5455, allocations: 151.9 kB / 496.8 MB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004187/0.5497, allocations: 2.029 MB / 498.8 MB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/0.5721, allocations: 8.789 MB / 0.4957 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05473/0.6268, allocations: 40.67 MB / 0.5354 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.6389, allocations: 4.258 MB / 0.5396 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.6421, allocations: 2.22 MB / 0.5418 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.6542, allocations: 7.218 MB / 0.5488 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/0.6542, allocations: 51.56 kB / 0.5489 GB, free: 6.738 MB / 462.1 MB Notification: Performance of pre-optimization done (n=177): time 3.918e-06/0.6542, allocations: 0 / 0.5489 GB, free: 6.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=198): time 0.05011/0.7044, allocations: 18.02 MB / 0.5665 GB, free: 4.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.7045, allocations: 175.5 kB / 0.5666 GB, free: 4.391 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0089/0.7134, allocations: 4.575 MB / 0.5711 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004464/0.7138, allocations: 53.7 kB / 0.5712 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002991/0.7168, allocations: 3.275 MB / 0.5744 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.718, allocations: 0.783 MB / 0.5751 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002903/0.7209, allocations: 1.254 MB / 0.5763 GB, free: 10.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.721, allocations: 301.1 kB / 0.5766 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/0.7245, allocations: 2.268 MB / 0.5788 GB, free: 7.801 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006721/0.7312, allocations: 5.961 MB / 0.5847 GB, free: 16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.7431, allocations: 8.968 MB / 0.5934 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.7432, allocations: 36 kB / 0.5935 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01717/0.7604, allocations: 8.807 MB / 0.6021 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.954e-05/0.7605, allocations: 64 kB / 0.6021 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.7607, allocations: 128 kB / 0.6022 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/0.7632, allocations: 0.9374 MB / 0.6032 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/0.7678, allocations: 1.404 MB / 0.6045 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008723/0.7765, allocations: 6.517 MB / 0.6109 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/0.781, allocations: 347.5 kB / 0.6112 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007833/0.7818, allocations: 375.9 kB / 0.6116 GB, free: 2.473 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 738 * Array equations: 5 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003504/0.7853, allocations: 2.177 MB / 0.6137 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1974/0.9827, allocations: 405.8 kB / 0.6141 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007254/0.99, allocations: 3.665 MB / 0.6177 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/0.99, allocations: 26.55 kB / 0.6177 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.99, allocations: 5.5 kB / 0.6177 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.99, allocations: 11.39 kB / 0.6177 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/1.006, allocations: 9.045 MB / 0.6265 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/1.006, allocations: 5.812 kB / 0.6266 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.008, allocations: 323 kB / 0.6269 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/1.01, allocations: 0.7715 MB / 0.6276 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/1.01, allocations: 37.03 kB / 0.6277 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007731/1.018, allocations: 6.115 MB / 0.6336 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.018, allocations: 9 kB / 0.6336 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008873/1.027, allocations: 6.605 MB / 0.6401 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.028, allocations: 480.9 kB / 0.6405 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/1.029, allocations: 47.08 kB / 0.6406 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/1.03, allocations: 109.4 kB / 0.6407 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/1.031, allocations: 124.2 kB / 0.6408 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/1.031, allocations: 58.91 kB / 0.6409 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004398/1.035, allocations: 2.932 MB / 0.6437 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/1.035, allocations: 0 / 0.6437 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004422/1.04, allocations: 1.031 MB / 0.6447 GB, free: 150 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (157): * Single equations (assignments): 153 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007594/1.047, allocations: 7.256 MB / 0.6518 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006569/1.054, allocations: 5.315 MB / 0.657 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/1.054, allocations: 0 / 0.657 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002551/1.056, allocations: 1.845 MB / 0.6588 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.059, allocations: 0.4903 MB / 0.6593 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05381/1.113, allocations: 50.14 MB / 0.7083 GB, free: 86.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002921/1.116, allocations: 3.361 MB / 0.7115 GB, free: 83.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003745/1.12, allocations: 2.037 MB / 0.7135 GB, free: 81.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/1.122, allocations: 1.987 MB / 0.7155 GB, free: 79.18 MB / 0.5137 GB Notification: Performance of SimCode: time 1.502e-06/1.122, allocations: 0 / 0.7155 GB, free: 79.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.312/6.434, allocations: 76.99 MB / 0.7906 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.82/34.25, allocations: 12.48 kB / 0.7907 GB, free: 2.672 MB / 0.5137 GB " [Timeout remaining time 626] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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: 37.46819583699107]