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.001784/0.001784, allocations: 116.5 kB / 20.43 MB, free: 1.305 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.002386/0.002386, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.497/1.497, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.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 0.001836/0.001836, allocations: 55.91 kB / 377.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2724, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01417/0.2866, allocations: 11.25 MB / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009371/0.296, allocations: 4.109 MB / 446.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.2984, allocations: 79.62 kB / 446.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00649/0.3049, allocations: 3.22 MB / 449.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.3103, allocations: 1.934 MB / 451.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.3124, allocations: 0.8305 MB / 452.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00709/0.3195, allocations: 4.405 MB / 457 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004653/0.3242, allocations: 3.039 MB / 460.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.3277, allocations: 1.643 MB / 461.7 MB, free: 8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005469/0.3332, allocations: 2.282 MB / 464 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001389/0.3346, allocations: 348 kB / 464.3 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.3374, allocations: 1.276 MB / 465.6 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.34, allocations: 2.057 MB / 467.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003283/0.3433, allocations: 2.303 MB / 470 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.3546, allocations: 7.463 MB / 477.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.3546, allocations: 0 / 477.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3546, allocations: 0 / 477.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002658/0.3549, allocations: 0 / 477.4 MB, free: 8.223 MB / 382.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.01642/0.3713, allocations: 5.212 MB / 482.6 MB, free: 2.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.3714, allocations: 8.031 kB / 482.6 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001911/0.3733, allocations: 0.736 MB / 483.4 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/0.3944, allocations: 3.89 MB / 487.3 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008469/0.4029, allocations: 2.912 MB / 490.2 MB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.4031, allocations: 242.2 kB / 490.4 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.4043, allocations: 335.8 kB / 490.8 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.4267, allocations: 10.38 MB / 0.4894 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.4269, allocations: 39.64 kB / 0.4894 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006546/0.4275, allocations: 155.9 kB / 0.4896 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003853/0.4314, allocations: 2.033 MB / 0.4916 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.4516, allocations: 8.784 MB / 0.5001 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3038/0.7554, allocations: 40.54 MB / 0.5397 GB, free: 74.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.7655, allocations: 3.798 MB / 0.5434 GB, free: 74.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.7677, allocations: 2.24 MB / 0.5456 GB, free: 74.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009499/0.7772, allocations: 6.54 MB / 0.552 GB, free: 72.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.7773, allocations: 54.19 kB / 0.5521 GB, free: 72.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.529e-06/0.7773, allocations: 3.812 kB / 0.5521 GB, free: 72.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03793/0.8152, allocations: 17.81 MB / 0.5694 GB, free: 60.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.8153, allocations: 175.5 kB / 0.5696 GB, free: 60.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/0.8203, allocations: 4.571 MB / 0.5741 GB, free: 55.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.8206, allocations: 57.7 kB / 0.5741 GB, free: 55.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.822, allocations: 3.272 MB / 0.5773 GB, free: 52.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005836/0.8226, allocations: 0.7918 MB / 0.5781 GB, free: 51.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.8237, allocations: 1.246 MB / 0.5793 GB, free: 50.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.8238, allocations: 301.1 kB / 0.5796 GB, free: 50.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.8262, allocations: 2.276 MB / 0.5818 GB, free: 47.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/0.8297, allocations: 5.959 MB / 0.5876 GB, free: 40.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00701/0.8367, allocations: 8.961 MB / 0.5964 GB, free: 29.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.827e-05/0.8368, allocations: 36 kB / 0.5964 GB, free: 29.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01243/0.8492, allocations: 8.814 MB / 0.605 GB, free: 20.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.8493, allocations: 60 kB / 0.6051 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.967e-05/0.8494, allocations: 128 kB / 0.6052 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.8513, allocations: 0.9425 MB / 0.6061 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/0.8552, allocations: 1.408 MB / 0.6075 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/0.8615, allocations: 6.406 MB / 0.6138 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/0.8661, allocations: 347.5 kB / 0.6141 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005681/0.8667, allocations: 375.8 kB / 0.6145 GB, free: 11.02 MB / 446.1 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.00272/0.8694, allocations: 2.171 MB / 0.6166 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006682/0.8701, allocations: 410.1 kB / 0.617 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/0.8755, allocations: 3.68 MB / 0.6206 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/0.8755, allocations: 20 kB / 0.6206 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.8755, allocations: 8 kB / 0.6206 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.8755, allocations: 7.969 kB / 0.6206 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.891, allocations: 9.016 MB / 0.6294 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.891, allocations: 8.656 kB / 0.6294 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.8926, allocations: 322.8 kB / 0.6297 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.8947, allocations: 0.7655 MB / 0.6305 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.8949, allocations: 40.47 kB / 0.6305 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009386/0.9043, allocations: 6.006 MB / 0.6364 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.9043, allocations: 11.94 kB / 0.6364 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.9151, allocations: 6.605 MB / 0.6428 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.9165, allocations: 405.1 kB / 0.6432 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000643/0.9172, allocations: 43.88 kB / 0.6433 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.9188, allocations: 111.8 kB / 0.6434 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.9191, allocations: 129 kB / 0.6435 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/0.9192, allocations: 59.98 kB / 0.6435 GB, free: 12.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004744/0.924, allocations: 2.928 MB / 0.6464 GB, free: 9.977 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.924, allocations: 0 / 0.6464 GB, free: 9.977 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005714/0.9297, allocations: 1.025 MB / 0.6474 GB, free: 8.953 MB / 478.1 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.01172/0.9414, allocations: 7.268 MB / 0.6545 GB, free: 1.598 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00934/0.9508, allocations: 5.311 MB / 0.6597 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/0.9508, allocations: 0 / 0.6597 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003264/0.954, allocations: 1.844 MB / 0.6615 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.9572, allocations: 0.5041 MB / 0.662 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09022/1.047, allocations: 50.2 MB / 0.711 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004657/1.052, allocations: 3.363 MB / 0.7143 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005024/1.057, allocations: 2.032 MB / 0.7163 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003514/1.061, allocations: 1.995 MB / 0.7182 GB, free: 10.42 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/1.061, allocations: 0 / 0.7182 GB, free: 10.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.399/1.46, allocations: 82 MB / 0.7983 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.06/29.52, allocations: 0 / 0.7983 GB, free: 174.1 MB / 0.5606 GB " [Timeout remaining time 630] (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/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_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: 32.255867587002285]