Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.00127/0.00127, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 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.001358/0.001358, allocations: 169.9 kB / 23.31 MB, free: 1.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8698/0.8698, allocations: 158.6 MB / 185.1 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1315/0.1315, allocations: 32.36 MB / 269.7 MB, free: 14.93 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 407.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.813e-05, allocations: 6.078 kB / 407.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.009012/0.00903, allocations: 11.99 MB / 419.1 MB, free: 6.027 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007552/0.01658, allocations: 4.408 MB / 423.5 MB, free: 1.605 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.01836, allocations: 103.5 kB / 423.6 MB, free: 1.504 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.02231, allocations: 3.858 MB / 427.5 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.02639, allocations: 2.523 MB / 430 MB, free: 11.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.02809, allocations: 1.103 MB / 431.1 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005635/0.03372, allocations: 6.594 MB / 437.7 MB, free: 3.383 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005113/0.03883, allocations: 4.176 MB / 441.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/0.0427, allocations: 3.188 MB / 445.1 MB, free: 11.94 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003208/0.04591, allocations: 3.102 MB / 448.2 MB, free: 8.832 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007448/0.04665, allocations: 456 kB / 448.6 MB, free: 8.387 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.04834, allocations: 1.443 MB / 450 MB, free: 6.941 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001585/0.04992, allocations: 2.844 MB / 452.9 MB, free: 4.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.05131, allocations: 1.776 MB / 454.7 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006248/0.05756, allocations: 9.657 MB / 464.3 MB, free: 8.621 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.05757, allocations: 0 / 464.3 MB, free: 8.621 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.05757, allocations: 4 kB / 464.3 MB, free: 8.617 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001462/0.05772, allocations: 0 / 464.3 MB, free: 8.617 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.008558/0.06627, allocations: 6.757 MB / 471.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.06631, allocations: 12.02 kB / 471.1 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007676/0.06708, allocations: 0.8854 MB / 472 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1838/0.2509, allocations: 6.577 MB / 478.6 MB, free: 94.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005851/0.2567, allocations: 4.258 MB / 482.8 MB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.2569, allocations: 299.1 kB / 483.1 MB, free: 93.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006535/0.2575, allocations: 404.4 kB / 483.5 MB, free: 93.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.268, allocations: 12.54 MB / 496 MB, free: 87.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.57e-05/0.2681, allocations: 56.58 kB / 496.1 MB, free: 87.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003207/0.2684, allocations: 192.3 kB / 496.3 MB, free: 87.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002349/0.2708, allocations: 2.399 MB / 498.7 MB, free: 86.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.2828, allocations: 10.24 MB / 0.497 GB, free: 83.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02873/0.3115, allocations: 46.88 MB / 0.5428 GB, free: 39.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00558/0.3171, allocations: 4.218 MB / 0.5469 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.3187, allocations: 2.12 MB / 0.549 GB, free: 33.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006208/0.3249, allocations: 6.476 MB / 0.5553 GB, free: 26.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3249, allocations: 63.73 kB / 0.5553 GB, free: 26.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=181): time 3.637e-06/0.3249, allocations: 0 / 0.5553 GB, free: 26.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=193): time 0.02204/0.3469, allocations: 17.23 MB / 0.5722 GB, free: 9.645 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.347, allocations: 201.2 kB / 0.5724 GB, free: 9.402 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/0.3514, allocations: 6.561 MB / 0.5788 GB, free: 2.859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.57e-05/0.3515, allocations: 53.7 kB / 0.5788 GB, free: 2.801 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.3528, allocations: 4.112 MB / 0.5828 GB, free: 14.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004781/0.3533, allocations: 0.7832 MB / 0.5836 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.3545, allocations: 1.421 MB / 0.585 GB, free: 12.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.3546, allocations: 301.1 kB / 0.5853 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.3569, allocations: 2.383 MB / 0.5876 GB, free: 9.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004393/0.3613, allocations: 6.86 MB / 0.5943 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007427/0.3687, allocations: 9.956 MB / 0.604 GB, free: 4.535 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.792e-05/0.3688, allocations: 44 kB / 0.6041 GB, free: 4.492 MB / 474.7 MB Notification: Performance of matching and sorting (n=926) (initialization): time 0.0102/0.379, allocations: 9.443 MB / 0.6133 GB, free: 11.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.379, allocations: 72 kB / 0.6134 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.3791, allocations: 156 kB / 0.6135 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000996/0.3801, allocations: 0.716 MB / 0.6142 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.3827, allocations: 1.645 MB / 0.6158 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.3876, allocations: 6.674 MB / 0.6223 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/0.3905, allocations: 451.4 kB / 0.6228 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/0.3908, allocations: 436 kB / 0.6232 GB, free: 0.6758 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 859 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002593/0.3934, allocations: 2.638 MB / 0.6258 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/0.394, allocations: 0.4967 MB / 0.6262 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/0.3973, allocations: 3.23 MB / 0.6294 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.3973, allocations: 20 kB / 0.6294 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3973, allocations: 8 kB / 0.6294 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3973, allocations: 7.969 kB / 0.6294 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008801/0.4061, allocations: 8.276 MB / 0.6375 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.4061, allocations: 4 kB / 0.6375 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/0.407, allocations: 351.5 kB / 0.6378 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007502/0.4078, allocations: 497.4 kB / 0.6383 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-05/0.4079, allocations: 36 kB / 0.6384 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.4123, allocations: 6.048 MB / 0.6443 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4123, allocations: 8.125 kB / 0.6443 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005324/0.4177, allocations: 5.85 MB / 0.65 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.4188, allocations: 0.8243 MB / 0.6508 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/0.4192, allocations: 40 kB / 0.6508 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.4202, allocations: 171.7 kB / 0.651 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.4204, allocations: 121 kB / 0.6511 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.4205, allocations: 52 kB / 0.6512 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.183/0.6035, allocations: 4.087 MB / 0.6551 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.9e-07/0.6035, allocations: 0 / 0.6551 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004377/0.6078, allocations: 1.4 MB / 0.6565 GB, free: 150.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004687/0.6125, allocations: 6.51 MB / 0.6629 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005217/0.6177, allocations: 5.608 MB / 0.6683 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6177, allocations: 0 / 0.6683 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.619, allocations: 1.639 MB / 0.6699 GB, free: 146 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.6213, allocations: 0.6529 MB / 0.6706 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05495/0.6763, allocations: 59.82 MB / 0.729 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/0.6788, allocations: 3.505 MB / 0.7324 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002969/0.6817, allocations: 2.303 MB / 0.7347 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/0.6834, allocations: 2.522 MB / 0.7371 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/0.6834, allocations: 0 / 0.7371 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09012/0.7735, allocations: 94.7 MB / 0.8296 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.71, allocations: 7.984 kB / 0.8296 GB, free: 6.172 MB / 0.5105 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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: 14.950929250568151]