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.001179/0.001179, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.00119/0.00119, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9179/0.9179, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2506/0.2506, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 2.294e-06/2.294e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.477e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.1793/0.1793, allocations: 11.08 MB / 453.2 MB, free: 37.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004965/0.1843, allocations: 4.285 MB / 457.5 MB, free: 35.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008658/0.1851, allocations: 102.4 kB / 457.6 MB, free: 35.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.188, allocations: 3.8 MB / 461.4 MB, free: 33.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.1904, allocations: 2.319 MB / 463.8 MB, free: 32.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1915, allocations: 1.103 MB / 464.9 MB, free: 31.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003622/0.1951, allocations: 6.779 MB / 471.6 MB, free: 29.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.1974, allocations: 4.02 MB / 475.7 MB, free: 27.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.1993, allocations: 2.985 MB / 478.6 MB, free: 26.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.2011, allocations: 2.876 MB / 481.5 MB, free: 25.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004536/0.2015, allocations: 422.3 kB / 481.9 MB, free: 25.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.2032, allocations: 1.397 MB / 483.3 MB, free: 25.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.2049, allocations: 2.617 MB / 485.9 MB, free: 24.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.2062, allocations: 1.635 MB / 487.6 MB, free: 23.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00826/0.2145, allocations: 8.871 MB / 496.4 MB, free: 20.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2145, allocations: 0 / 496.4 MB, free: 20.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.2145, allocations: 1.531 kB / 496.5 MB, free: 20.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001678/0.2146, allocations: 0 / 496.5 MB, free: 20.26 MB / 410.7 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.0101/0.2247, allocations: 6.349 MB / 0.491 GB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2248, allocations: 9.625 kB / 0.491 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007844/0.2256, allocations: 0.824 MB / 0.4918 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/0.2453, allocations: 6.464 MB / 0.4981 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007335/0.2526, allocations: 3.738 MB / 0.5018 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.2527, allocations: 279.5 kB / 0.5021 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006252/0.2534, allocations: 380.1 kB / 0.5024 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.2659, allocations: 11.53 MB / 0.5137 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.266, allocations: 55.53 kB / 0.5137 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003682/0.2664, allocations: 183.8 kB / 0.5139 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002299/0.2687, allocations: 2.15 MB / 0.516 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.2811, allocations: 9.335 MB / 0.5251 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03448/0.3156, allocations: 43.91 MB / 0.568 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/0.3213, allocations: 3.377 MB / 0.5713 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.3229, allocations: 1.876 MB / 0.5731 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006952/0.3299, allocations: 5.842 MB / 0.5788 GB, free: 7.742 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.3299, allocations: 51.5 kB / 0.5789 GB, free: 7.684 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 4.278e-06/0.3299, allocations: 0 / 0.5789 GB, free: 7.684 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.02355/0.3535, allocations: 15.55 MB / 0.5941 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.3536, allocations: 200.9 kB / 0.5943 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006748/0.3603, allocations: 6.23 MB / 0.6004 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/0.3605, allocations: 53.69 kB / 0.6004 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.3625, allocations: 3.839 MB / 0.6042 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004862/0.3629, allocations: 0.6902 MB / 0.6048 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/0.3642, allocations: 1.33 MB / 0.6061 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.3642, allocations: 301.1 kB / 0.6064 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.3662, allocations: 2.098 MB / 0.6085 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.3703, allocations: 6.392 MB / 0.6147 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.3774, allocations: 9.189 MB / 0.6237 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.667e-05/0.3774, allocations: 44 kB / 0.6237 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.2148/0.5922, allocations: 8.657 MB / 0.6322 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.5924, allocations: 70.91 kB / 0.6322 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002799/0.5927, allocations: 148.7 kB / 0.6324 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.5942, allocations: 0.7073 MB / 0.6331 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/0.5979, allocations: 1.51 MB / 0.6345 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005081/0.6029, allocations: 6.657 MB / 0.641 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00499/0.6079, allocations: 410 kB / 0.6414 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/0.6091, allocations: 423.8 kB / 0.6418 GB, free: 142.1 MB / 0.5261 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.00435/0.6135, allocations: 2.454 MB / 0.6442 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008175/0.6143, allocations: 490 kB / 0.6447 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/0.6176, allocations: 2.673 MB / 0.6473 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.6176, allocations: 21.33 kB / 0.6473 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.6176, allocations: 6.188 kB / 0.6473 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.6176, allocations: 8 kB / 0.6474 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.6287, allocations: 7.214 MB / 0.6544 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.6287, allocations: 6.375 kB / 0.6544 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/0.6295, allocations: 295.9 kB / 0.6547 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008426/0.6303, allocations: 494.5 kB / 0.6552 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.6304, allocations: 31.45 kB / 0.6552 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.6348, allocations: 6.049 MB / 0.6611 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6348, allocations: 6.5 kB / 0.6611 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/0.6402, allocations: 4.97 MB / 0.666 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.6415, allocations: 0.5274 MB / 0.6665 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/0.642, allocations: 25.56 kB / 0.6665 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.643, allocations: 138.1 kB / 0.6666 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.6432, allocations: 103.8 kB / 0.6667 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.6433, allocations: 45.84 kB / 0.6668 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005194/0.6484, allocations: 3.887 MB / 0.6706 GB, free: 130 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6484, allocations: 0 / 0.6706 GB, free: 130 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005624/0.6541, allocations: 1.278 MB / 0.6718 GB, free: 129.9 MB / 0.5261 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.00582/0.6599, allocations: 5.628 MB / 0.6773 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0065/0.6664, allocations: 4.993 MB / 0.6822 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.6664, allocations: 3.938 kB / 0.6822 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.6676, allocations: 1.4 MB / 0.6836 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/0.6711, allocations: 0.6513 MB / 0.6842 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.065/0.7361, allocations: 55.11 MB / 0.738 GB, free: 70.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/0.7391, allocations: 3.24 MB / 0.7412 GB, free: 67.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003329/0.7424, allocations: 2.149 MB / 0.7433 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/0.7445, allocations: 2.324 MB / 0.7455 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of SimCode: time 3.096e-06/0.7445, allocations: 0 / 0.7455 GB, free: 62.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.8655, allocations: 88.63 MB / 0.8321 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.04, allocations: 12.05 kB / 0.8321 GB, free: 6.746 MB / 0.5573 GB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/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: 14.429850492626429]