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.001912/0.001912, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002073/0.002073, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.23/0.23, allocations: 46.93 MB / 360.8 MB, free: 4.164 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.002341/0.002341, allocations: 80.06 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3242, allocations: 66.08 MB / 0.5607 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01565/0.3398, allocations: 12.73 MB / 0.5732 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009933/0.3498, allocations: 4.552 MB / 0.5776 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.3518, allocations: 103.4 kB / 0.5777 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007608/0.3594, allocations: 3.761 MB / 0.5814 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.3654, allocations: 2.248 MB / 0.5836 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.3679, allocations: 1.006 MB / 0.5846 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.378, allocations: 6.046 MB / 0.5905 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00504/0.3831, allocations: 3.514 MB / 0.5939 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.3863, allocations: 1.978 MB / 0.5958 GB, free: 292 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.3909, allocations: 2.823 MB / 0.5986 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.3919, allocations: 412 kB / 0.599 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.3949, allocations: 1.486 MB / 0.6004 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002741/0.3976, allocations: 2.497 MB / 0.6029 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003646/0.4013, allocations: 2.765 MB / 0.6056 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.4122, allocations: 8.774 MB / 0.6141 GB, free: 13.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4122, allocations: 0 / 0.6141 GB, free: 13.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4122, allocations: 0 / 0.6141 GB, free: 13.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002126/0.4124, allocations: 0 / 0.6141 GB, free: 13.46 MB / 462.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.01435/0.4268, allocations: 6.268 MB / 0.6203 GB, free: 7.133 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4268, allocations: 8.031 kB / 0.6203 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/0.4282, allocations: 0.8227 MB / 0.6211 GB, free: 6.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03864/0.4668, allocations: 6.055 MB / 0.627 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.4769, allocations: 4.075 MB / 0.631 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.4772, allocations: 283.3 kB / 0.6312 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.4785, allocations: 371.8 kB / 0.6316 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.5, allocations: 11.47 MB / 0.6428 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.5002, allocations: 59.52 kB / 0.6428 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004992/0.5007, allocations: 175.8 kB / 0.643 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003794/0.5045, allocations: 2.15 MB / 0.6451 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01959/0.524, allocations: 9.363 MB / 0.6543 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06349/0.5875, allocations: 45.09 MB / 0.6983 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009996/0.5975, allocations: 3.224 MB / 0.7014 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003018/0.6006, allocations: 1.88 MB / 0.7033 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01245/0.613, allocations: 6.009 MB / 0.7091 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.6131, allocations: 51.5 kB / 0.7092 GB, free: 9.742 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 4.559e-06/0.6131, allocations: 0 / 0.7092 GB, free: 9.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.04051/0.6536, allocations: 14.75 MB / 0.7236 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.6537, allocations: 192.9 kB / 0.7238 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009586/0.6633, allocations: 5.631 MB / 0.7293 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003692/0.6637, allocations: 61.69 kB / 0.7293 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003778/0.6674, allocations: 3.87 MB / 0.7331 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.6685, allocations: 0.6941 MB / 0.7338 GB, free: 428 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2501/0.9186, allocations: 1.35 MB / 0.7351 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.9187, allocations: 302.5 kB / 0.7354 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003404/0.9221, allocations: 2.098 MB / 0.7374 GB, free: 154 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/0.9262, allocations: 6.339 MB / 0.7436 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007572/0.9338, allocations: 9.19 MB / 0.7526 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/0.9339, allocations: 42.97 kB / 0.7527 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01287/0.9468, allocations: 8.659 MB / 0.7611 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.9469, allocations: 72 kB / 0.7612 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.947, allocations: 148 kB / 0.7613 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.9485, allocations: 0.7137 MB / 0.762 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.9525, allocations: 1.51 MB / 0.7635 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/0.9584, allocations: 6.617 MB / 0.77 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/0.9633, allocations: 341.1 kB / 0.7703 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007349/0.964, allocations: 424 kB / 0.7707 GB, free: 126.8 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.003234/0.9673, allocations: 2.449 MB / 0.7731 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/0.968, allocations: 482.5 kB / 0.7735 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.9718, allocations: 2.688 MB / 0.7762 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.9719, allocations: 23.83 kB / 0.7762 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.9719, allocations: 7.938 kB / 0.7762 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.9719, allocations: 7.969 kB / 0.7762 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.9825, allocations: 7.393 MB / 0.7834 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.9825, allocations: 8.266 kB / 0.7834 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.9838, allocations: 299.5 kB / 0.7837 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.9851, allocations: 496 kB / 0.7842 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.9852, allocations: 31.94 kB / 0.7842 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005166/0.9904, allocations: 5.991 MB / 0.7901 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9904, allocations: 4 kB / 0.7901 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005718/0.9961, allocations: 4.99 MB / 0.7949 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.9974, allocations: 475.6 kB / 0.7954 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/0.998, allocations: 27.94 kB / 0.7954 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.9995, allocations: 75.91 kB / 0.7955 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.9997, allocations: 104.8 kB / 0.7956 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.701e-05/0.9998, allocations: 44 kB / 0.7956 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004925/1.005, allocations: 3.605 MB / 0.7992 GB, free: 98.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.005, allocations: 0 / 0.7992 GB, free: 98.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005493/1.01, allocations: 1.087 MB / 0.8002 GB, free: 96.99 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.005979/1.016, allocations: 5.631 MB / 0.8057 GB, free: 91.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006662/1.023, allocations: 4.996 MB / 0.8106 GB, free: 86.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.023, allocations: 2.344 kB / 0.8106 GB, free: 86.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/1.025, allocations: 1.405 MB / 0.812 GB, free: 84.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/1.028, allocations: 0.6337 MB / 0.8126 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06106/1.089, allocations: 54.1 MB / 0.8654 GB, free: 23.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003843/1.093, allocations: 3.761 MB / 0.8691 GB, free: 19.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004002/1.097, allocations: 2.136 MB / 0.8712 GB, free: 17.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002311/1.099, allocations: 2.308 MB / 0.8734 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of SimCode: time 1.213e-06/1.099, allocations: 0 / 0.8734 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/1.271, allocations: 90.82 MB / 0.9621 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.95/34.22, allocations: 7.734 kB / 0.9621 GB, free: 4.809 MB / 0.6387 GB " [Timeout remaining time 626] (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: 37.42369295199751]