Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.001335/0.001335, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001914/0.001914, allocations: 212.7 kB / 23.73 MB, free: 4.164 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.44/1.44, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.94 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 83.86 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3163, allocations: 66.08 MB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01369/0.33, allocations: 11.07 MB / 0.5715 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00942/0.3394, allocations: 4.299 MB / 0.5757 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.3417, allocations: 99.5 kB / 0.5758 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006998/0.3487, allocations: 3.602 MB / 0.5793 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006115/0.3548, allocations: 2.253 MB / 0.5815 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.3574, allocations: 1.002 MB / 0.5825 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009024/0.3664, allocations: 6.04 MB / 0.5884 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.3719, allocations: 3.49 MB / 0.5918 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/0.3756, allocations: 1.982 MB / 0.5937 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00454/0.3801, allocations: 2.659 MB / 0.5963 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.3816, allocations: 408 kB / 0.5967 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.3849, allocations: 1.338 MB / 0.598 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003422/0.3883, allocations: 2.497 MB / 0.6005 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004193/0.3925, allocations: 2.066 MB / 0.6025 GB, free: 9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4049, allocations: 8.821 MB / 0.6111 GB, free: 152 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.405, allocations: 3.938 kB / 0.6111 GB, free: 148 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.405, allocations: 4 kB / 0.6111 GB, free: 144 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003688/0.4053, allocations: 0 / 0.6111 GB, free: 144 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01743/0.4227, allocations: 6.26 MB / 0.6172 GB, free: 9.812 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.4228, allocations: 12.03 kB / 0.6172 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00242/0.4252, allocations: 0.8227 MB / 0.618 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03741/0.4626, allocations: 6.051 MB / 0.624 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.4736, allocations: 4.09 MB / 0.6279 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.4739, allocations: 283.3 kB / 0.6282 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.4754, allocations: 371.8 kB / 0.6286 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/0.5001, allocations: 11.51 MB / 0.6398 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000253/0.5004, allocations: 67.45 kB / 0.6399 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/0.5016, allocations: 187.8 kB / 0.6401 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004008/0.5056, allocations: 2.139 MB / 0.6421 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/0.5259, allocations: 9.324 MB / 0.6513 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.063/0.5889, allocations: 43.5 MB / 0.6937 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.5993, allocations: 3.206 MB / 0.6969 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/0.6022, allocations: 1.883 MB / 0.6987 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.6134, allocations: 5.499 MB / 0.7041 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.6135, allocations: 51.56 kB / 0.7041 GB, free: 14.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 8.125e-06/0.6135, allocations: 3.984 kB / 0.7041 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04293/0.6564, allocations: 14.84 MB / 0.7186 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.6566, allocations: 197 kB / 0.7188 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009323/0.6659, allocations: 5.882 MB / 0.7246 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.6663, allocations: 45.7 kB / 0.7246 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003336/0.6696, allocations: 3.881 MB / 0.7284 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009909/0.6706, allocations: 0.6863 MB / 0.7291 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/0.6725, allocations: 1.353 MB / 0.7304 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6726, allocations: 305.1 kB / 0.7307 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/0.6758, allocations: 2.094 MB / 0.7327 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2815/0.9573, allocations: 6.392 MB / 0.739 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008252/0.9656, allocations: 9.19 MB / 0.7479 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002014/0.9658, allocations: 46.5 kB / 0.748 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.013/0.9788, allocations: 8.65 MB / 0.7564 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/0.9789, allocations: 68 kB / 0.7565 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/0.979, allocations: 148 kB / 0.7566 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.9804, allocations: 0.7051 MB / 0.7573 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/0.9844, allocations: 1.516 MB / 0.7588 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/0.9901, allocations: 6.561 MB / 0.7652 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/0.9952, allocations: 350.6 kB / 0.7655 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.9962, allocations: 415.2 kB / 0.7659 GB, free: 129.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (804): * Single equations (assignments): 797 * 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.003639/0.9999, allocations: 2.458 MB / 0.7683 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007931/1.001, allocations: 481.3 kB / 0.7688 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/1.004, allocations: 2.681 MB / 0.7714 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/1.004, allocations: 20 kB / 0.7714 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.004, allocations: 4 kB / 0.7714 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.004, allocations: 9.953 kB / 0.7714 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.016, allocations: 7.064 MB / 0.7783 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.016, allocations: 5.078 kB / 0.7783 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.017, allocations: 295.5 kB / 0.7786 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/1.018, allocations: 495.6 kB / 0.7791 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.018, allocations: 25.75 kB / 0.7791 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004762/1.023, allocations: 5.945 MB / 0.7849 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.023, allocations: 4 kB / 0.7849 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/1.028, allocations: 4.984 MB / 0.7898 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.03, allocations: 477.7 kB / 0.7903 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004242/1.03, allocations: 34.95 kB / 0.7903 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.031, allocations: 67.92 kB / 0.7904 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.031, allocations: 108.7 kB / 0.7905 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.032, allocations: 47.98 kB / 0.7905 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004065/1.036, allocations: 3.605 MB / 0.794 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.036, allocations: 0 / 0.794 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005133/1.041, allocations: 1.089 MB / 0.7951 GB, free: 101.1 MB / 0.5606 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 (126): * Single equations (assignments): 121 * 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.005252/1.046, allocations: 5.627 MB / 0.8006 GB, free: 95.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006368/1.052, allocations: 4.987 MB / 0.8055 GB, free: 90.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.052, allocations: 8 kB / 0.8055 GB, free: 90.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/1.054, allocations: 1.397 MB / 0.8068 GB, free: 88.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.057, allocations: 0.6392 MB / 0.8075 GB, free: 88.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05865/1.116, allocations: 54.09 MB / 0.8603 GB, free: 27.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/1.119, allocations: 3.25 MB / 0.8634 GB, free: 24.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004336/1.123, allocations: 2.129 MB / 0.8655 GB, free: 22.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/1.126, allocations: 2.315 MB / 0.8678 GB, free: 19.82 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/1.126, allocations: 0 / 0.8678 GB, free: 19.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/1.286, allocations: 86.07 MB / 0.9518 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.02/20.3, allocations: 7.953 kB / 0.9518 GB, free: 14.53 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 23.411292540840805]