Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.000816/0.000816, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 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.0008219/0.0008219, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8589/0.8589, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.72e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.007242/0.007259, allocations: 9.856 MB / 334.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.01199, allocations: 3.859 MB / 338.2 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006342/0.01262, allocations: 83.62 kB / 338.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.01545, allocations: 3.251 MB / 341.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.01766, allocations: 1.995 MB / 343.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.01855, allocations: 0.8925 MB / 344.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003129/0.02168, allocations: 4.812 MB / 349.3 MB, free: 7.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.02384, allocations: 3.305 MB / 352.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.02542, allocations: 2.424 MB / 355 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.02686, allocations: 2.225 MB / 357.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002834/0.02714, allocations: 352 kB / 357.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.02819, allocations: 1.193 MB / 358.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.02926, allocations: 2.131 MB / 360.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009476/0.03021, allocations: 1.336 MB / 362.2 MB, free: 10 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004381/0.03459, allocations: 7.508 MB / 369.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.0346, allocations: 4 kB / 369.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.0346, allocations: 0 / 369.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.23e-05/0.03465, allocations: 0 / 369.7 MB, free: 2.465 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: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.005624/0.04027, allocations: 5.216 MB / 375 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.04031, allocations: 19.92 kB / 375 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00058/0.04089, allocations: 0.7321 MB / 375.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.05189, allocations: 4.121 MB / 379.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.05506, allocations: 2.744 MB / 382.6 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.05518, allocations: 254 kB / 382.8 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.05555, allocations: 319.8 kB / 383.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.06575, allocations: 10.41 MB / 393.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.079e-05/0.06582, allocations: 39.64 kB / 393.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/0.06608, allocations: 151.9 kB / 393.7 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/0.0679, allocations: 2.044 MB / 395.8 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009662/0.07756, allocations: 8.748 MB / 404.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.1073, allocations: 39.35 MB / 443.9 MB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005921/0.1132, allocations: 3.932 MB / 447.8 MB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.1149, allocations: 2.239 MB / 450 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1409/0.2558, allocations: 6.296 MB / 456.3 MB, free: 111.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2559, allocations: 49.88 kB / 456.4 MB, free: 111.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=177): time 3.607e-06/0.2559, allocations: 0 / 456.4 MB, free: 111.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.02284/0.2787, allocations: 18.32 MB / 474.7 MB, free: 99.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.2788, allocations: 183.5 kB / 474.9 MB, free: 99.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/0.2821, allocations: 4.975 MB / 479.9 MB, free: 94.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-05/0.2821, allocations: 52.12 kB / 479.9 MB, free: 94.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008105/0.283, allocations: 3.234 MB / 483.1 MB, free: 91.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.2832, allocations: 0.7812 MB / 483.9 MB, free: 91.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008126/0.2841, allocations: 1.234 MB / 485.2 MB, free: 89.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.314e-05/0.2841, allocations: 301.1 kB / 485.5 MB, free: 89.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.2858, allocations: 2.268 MB / 487.7 MB, free: 87.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.2882, allocations: 5.97 MB / 493.7 MB, free: 79.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005002/0.2932, allocations: 8.943 MB / 0.4909 GB, free: 68.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-05/0.2932, allocations: 40 kB / 0.4909 GB, free: 68.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.008453/0.3016, allocations: 8.79 MB / 0.4995 GB, free: 59.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.3017, allocations: 64 kB / 0.4995 GB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.362e-05/0.3017, allocations: 128 kB / 0.4997 GB, free: 59.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.303, allocations: 0.9342 MB / 0.5006 GB, free: 58.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.305, allocations: 1.415 MB / 0.502 GB, free: 57.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004358/0.3093, allocations: 6.392 MB / 0.5082 GB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.3118, allocations: 375.5 kB / 0.5086 GB, free: 50.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/0.3121, allocations: 372 kB / 0.5089 GB, free: 50.05 MB / 410.7 MB 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.002008/0.3141, allocations: 2.171 MB / 0.511 GB, free: 47.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.3144, allocations: 405.3 kB / 0.5114 GB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.3177, allocations: 3.669 MB / 0.515 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.3177, allocations: 23.28 kB / 0.515 GB, free: 43.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3177, allocations: 7.938 kB / 0.515 GB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.3177, allocations: 11.91 kB / 0.515 GB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008098/0.3258, allocations: 8.69 MB / 0.5235 GB, free: 34.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3258, allocations: 4 kB / 0.5235 GB, free: 34.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/0.3265, allocations: 324.2 kB / 0.5238 GB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.3275, allocations: 0.7724 MB / 0.5246 GB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/0.3276, allocations: 40 kB / 0.5246 GB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/0.3319, allocations: 6.003 MB / 0.5305 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3319, allocations: 13.31 kB / 0.5305 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005068/0.3369, allocations: 6.562 MB / 0.5369 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/0.3376, allocations: 444.9 kB / 0.5373 GB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/0.3378, allocations: 32 kB / 0.5374 GB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/0.3387, allocations: 155.6 kB / 0.5375 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.3389, allocations: 132.9 kB / 0.5376 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.3389, allocations: 48 kB / 0.5377 GB, free: 20.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002403/0.3413, allocations: 3.081 MB / 0.5407 GB, free: 17.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3413, allocations: 0 / 0.5407 GB, free: 17.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002747/0.3441, allocations: 1.125 MB / 0.5418 GB, free: 16.04 MB / 410.7 MB 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.005094/0.3492, allocations: 7.243 MB / 0.5489 GB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004838/0.354, allocations: 5.288 MB / 0.554 GB, free: 3.445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.354, allocations: 4.188 kB / 0.554 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.3556, allocations: 1.833 MB / 0.5558 GB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.3571, allocations: 498.1 kB / 0.5563 GB, free: 1.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04906/0.4062, allocations: 50.55 MB / 0.6057 GB, free: 8.668 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/0.4088, allocations: 2.835 MB / 0.6084 GB, free: 5.785 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.1461/0.5549, allocations: 2.034 MB / 0.6104 GB, free: 163.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002615/0.5575, allocations: 2.001 MB / 0.6124 GB, free: 163.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5575, allocations: 0 / 0.6124 GB, free: 163.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/0.6311, allocations: 78.92 MB / 0.6895 GB, free: 97.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.42, allocations: 3.938 kB / 0.6895 GB, free: 97.66 MB / 474.7 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.226648394018412]