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.002021/0.002021, allocations: 112 kB / 20.48 MB, free: 1.266 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.00236/0.00236, allocations: 210.8 kB / 23.77 MB, free: 4.441 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.533/1.533, allocations: 230.5 MB / 257.4 MB, free: 7.719 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.2219/0.2219, allocations: 46.95 MB / 360.9 MB, free: 3.898 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.002215/0.002215, allocations: 79.88 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.305, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01334/0.3183, allocations: 11.08 MB / 0.5716 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008771/0.3271, allocations: 4.295 MB / 0.5758 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.329, allocations: 107.5 kB / 0.5759 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006966/0.3359, allocations: 3.606 MB / 0.5794 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006088/0.342, allocations: 2.26 MB / 0.5816 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.3445, allocations: 0.9943 MB / 0.5826 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009427/0.354, allocations: 6.044 MB / 0.5885 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004974/0.3589, allocations: 3.482 MB / 0.5919 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.3623, allocations: 1.978 MB / 0.5938 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.3666, allocations: 2.663 MB / 0.5964 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009819/0.3675, allocations: 408 kB / 0.5968 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.37, allocations: 1.338 MB / 0.5981 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.3726, allocations: 2.501 MB / 0.6005 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002892/0.3755, allocations: 2.066 MB / 0.6026 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.3865, allocations: 8.821 MB / 0.6112 GB, free: 140 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3865, allocations: 4 kB / 0.6112 GB, free: 136 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3865, allocations: 0 / 0.6112 GB, free: 136 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002735/0.3867, allocations: 0 / 0.6112 GB, free: 136 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.01543/0.4022, allocations: 6.283 MB / 0.6173 GB, free: 9.777 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4022, allocations: 12.03 kB / 0.6173 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001682/0.4039, allocations: 0.8188 MB / 0.6181 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0381/0.442, allocations: 6.473 MB / 0.6244 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.4522, allocations: 4.094 MB / 0.6284 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002724/0.4524, allocations: 283.3 kB / 0.6287 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.4537, allocations: 371.8 kB / 0.6291 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.4748, allocations: 11.53 MB / 0.6403 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.4749, allocations: 63.52 kB / 0.6404 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004902/0.4754, allocations: 179.8 kB / 0.6406 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003608/0.479, allocations: 2.147 MB / 0.6427 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.498, allocations: 9.344 MB / 0.6518 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05505/0.553, allocations: 43.64 MB / 0.6944 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009985/0.563, allocations: 3.376 MB / 0.6977 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.5658, allocations: 1.876 MB / 0.6995 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/0.5779, allocations: 5.569 MB / 0.705 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.578, allocations: 51.55 kB / 0.705 GB, free: 13.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 5.661e-06/0.578, allocations: 0 / 0.705 GB, free: 13.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.03966/0.6176, allocations: 15.38 MB / 0.72 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.6178, allocations: 196.9 kB / 0.7202 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009676/0.6274, allocations: 5.882 MB / 0.726 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003732/0.6278, allocations: 49.7 kB / 0.726 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003286/0.6311, allocations: 3.877 MB / 0.7298 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.6322, allocations: 0.6902 MB / 0.7305 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/0.6342, allocations: 1.346 MB / 0.7318 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6343, allocations: 305.1 kB / 0.7321 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2799/0.9142, allocations: 2.089 MB / 0.7341 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006279/0.9205, allocations: 6.395 MB / 0.7404 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007968/0.9284, allocations: 9.192 MB / 0.7493 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001543/0.9286, allocations: 45.66 kB / 0.7494 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.0126/0.9412, allocations: 8.654 MB / 0.7578 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.9413, allocations: 72 kB / 0.7579 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.9414, allocations: 148 kB / 0.758 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.9429, allocations: 0.7081 MB / 0.7587 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/0.9468, allocations: 1.514 MB / 0.7602 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/0.9526, allocations: 6.563 MB / 0.7666 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/0.9581, allocations: 339.4 kB / 0.767 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.9592, allocations: 419.4 kB / 0.7674 GB, free: 128.3 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.003663/0.9628, allocations: 2.455 MB / 0.7697 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00088/0.9637, allocations: 482.5 kB / 0.7702 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.9674, allocations: 2.693 MB / 0.7728 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.9674, allocations: 20 kB / 0.7729 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.9674, allocations: 4 kB / 0.7729 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.9675, allocations: 7.969 kB / 0.7729 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.9784, allocations: 7.075 MB / 0.7798 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.9784, allocations: 6.656 kB / 0.7798 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.9797, allocations: 295.5 kB / 0.7801 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.9809, allocations: 493.2 kB / 0.7805 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.981, allocations: 37.84 kB / 0.7806 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004947/0.9859, allocations: 5.946 MB / 0.7864 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9859, allocations: 7.984 kB / 0.7864 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.9914, allocations: 4.982 MB / 0.7913 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.9928, allocations: 481.9 kB / 0.7917 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009238/0.9937, allocations: 28 kB / 0.7917 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.9954, allocations: 75.91 kB / 0.7918 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.9956, allocations: 100.8 kB / 0.7919 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/0.9957, allocations: 54.58 kB / 0.792 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004355/1, allocations: 3.601 MB / 0.7955 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1, allocations: 1.969 kB / 0.7955 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005151/1.005, allocations: 1.094 MB / 0.7965 GB, free: 99.61 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.005392/1.011, allocations: 5.614 MB / 0.802 GB, free: 93.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006554/1.017, allocations: 4.984 MB / 0.8069 GB, free: 88.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.017, allocations: 4 kB / 0.8069 GB, free: 88.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/1.019, allocations: 1.414 MB / 0.8083 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/1.022, allocations: 0.6373 MB / 0.8089 GB, free: 86.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06814/1.09, allocations: 54.07 MB / 0.8617 GB, free: 26.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002958/1.093, allocations: 3.246 MB / 0.8649 GB, free: 22.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003774/1.097, allocations: 2.131 MB / 0.867 GB, free: 20.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/1.099, allocations: 2.311 MB / 0.8692 GB, free: 18.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/1.099, allocations: 7.938 kB / 0.8692 GB, free: 18.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/1.252, allocations: 86.17 MB / 0.9534 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/19.79, allocations: 11.19 kB / 0.9534 GB, free: 13 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: 22.970602940768003]