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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002082/0.002082, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 77.47 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01356/0.134, allocations: 12.65 MB / 492.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008726/0.1428, allocations: 4.489 MB / 497.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.1448, allocations: 83.75 kB / 497.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00712/0.152, allocations: 3.703 MB / 0.4893 GB, free: 188 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005132/0.1572, allocations: 2.187 MB / 0.4914 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.1592, allocations: 0.9905 MB / 0.4924 GB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007205/0.1664, allocations: 6.034 MB / 0.4983 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005318/0.1717, allocations: 4.557 MB / 0.5028 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.1754, allocations: 1.947 MB / 0.5047 GB, free: 384 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2432/0.4186, allocations: 2.604 MB / 0.5072 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.4199, allocations: 408.1 kB / 0.5076 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.423, allocations: 1.429 MB / 0.509 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.4255, allocations: 2.427 MB / 0.5114 GB, free: 17.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.4289, allocations: 2.763 MB / 0.5141 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.4394, allocations: 8.488 MB / 0.5223 GB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4394, allocations: 0 / 0.5223 GB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4394, allocations: 1.219 kB / 0.5223 GB, free: 15.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002723/0.4397, allocations: 0 / 0.5223 GB, free: 15.05 MB / 382.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.01893/0.4587, allocations: 6.187 MB / 0.5284 GB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4587, allocations: 10.03 kB / 0.5284 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002905/0.4616, allocations: 0.8193 MB / 0.5292 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03846/0.5001, allocations: 6.023 MB / 0.5351 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.5108, allocations: 4.067 MB / 0.539 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.511, allocations: 282.8 kB / 0.5393 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.5122, allocations: 375.1 kB / 0.5397 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.5315, allocations: 11.46 MB / 0.5509 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.5317, allocations: 58.03 kB / 0.5509 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004895/0.5322, allocations: 180.9 kB / 0.5511 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003448/0.5356, allocations: 2.15 MB / 0.5532 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.555, allocations: 9.356 MB / 0.5623 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05735/0.6124, allocations: 45.38 MB / 0.6066 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009875/0.6223, allocations: 3.799 MB / 0.6104 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.625, allocations: 2.036 MB / 0.6123 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.6351, allocations: 6.241 MB / 0.6184 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.6352, allocations: 47.55 kB / 0.6185 GB, free: 6.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=154): time 5.19e-06/0.6352, allocations: 0 / 0.6185 GB, free: 6.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=166): time 0.04274/0.6779, allocations: 14.72 MB / 0.6329 GB, free: 7.594 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.6781, allocations: 204.1 kB / 0.633 GB, free: 7.355 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009011/0.6871, allocations: 5.611 MB / 0.6385 GB, free: 1.766 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004176/0.6875, allocations: 45.7 kB / 0.6386 GB, free: 1.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003029/0.6906, allocations: 3.745 MB / 0.6422 GB, free: 13.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009819/0.6916, allocations: 0.6658 MB / 0.6429 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/0.6935, allocations: 1.339 MB / 0.6442 GB, free: 11.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6937, allocations: 305.1 kB / 0.6445 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/0.6966, allocations: 2.094 MB / 0.6465 GB, free: 9.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005782/0.7024, allocations: 6.34 MB / 0.6527 GB, free: 1.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.7126, allocations: 9.188 MB / 0.6617 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.7127, allocations: 44 kB / 0.6617 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01772/0.7305, allocations: 8.631 MB / 0.6702 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.7306, allocations: 76.22 kB / 0.6702 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/0.7308, allocations: 148 kB / 0.6704 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/0.7325, allocations: 0.7043 MB / 0.6711 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004971/0.7375, allocations: 1.517 MB / 0.6725 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008079/0.7456, allocations: 6.829 MB / 0.6792 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/0.7528, allocations: 351.4 kB / 0.6795 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/0.7542, allocations: 420 kB / 0.6799 GB, free: 3.574 MB / 0.5137 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.005295/0.7595, allocations: 2.446 MB / 0.6823 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.7606, allocations: 462 kB / 0.6828 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004939/0.7655, allocations: 2.692 MB / 0.6854 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/0.7656, allocations: 20 kB / 0.6854 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.7656, allocations: 4 kB / 0.6854 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.7656, allocations: 7.969 kB / 0.6854 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.7809, allocations: 7.475 MB / 0.6927 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.7809, allocations: 0 / 0.6927 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.7824, allocations: 303.5 kB / 0.693 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.7838, allocations: 495.4 kB / 0.6935 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.784, allocations: 32 kB / 0.6935 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00711/0.7911, allocations: 6.211 MB / 0.6996 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7911, allocations: 4 kB / 0.6996 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007315/0.7985, allocations: 4.963 MB / 0.7044 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.8001, allocations: 0.511 MB / 0.7049 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006301/0.8007, allocations: 31.98 kB / 0.705 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.8022, allocations: 71.92 kB / 0.705 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.8025, allocations: 104.7 kB / 0.7051 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.8026, allocations: 50.34 kB / 0.7052 GB, free: 9.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006418/0.809, allocations: 3.601 MB / 0.7087 GB, free: 5.691 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8091, allocations: 0 / 0.7087 GB, free: 5.691 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006826/0.8159, allocations: 1.094 MB / 0.7098 GB, free: 4.598 MB / 0.545 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.2321/1.048, allocations: 5.596 MB / 0.7152 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.06, allocations: 5.889 MB / 0.721 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/1.06, allocations: 1 kB / 0.721 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.063, allocations: 1.485 MB / 0.7224 GB, free: 189.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/1.067, allocations: 0.6357 MB / 0.7231 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0774/1.144, allocations: 65.5 MB / 0.787 GB, free: 131.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004891/1.149, allocations: 3.764 MB / 0.7907 GB, free: 128.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005102/1.154, allocations: 2.133 MB / 0.7928 GB, free: 126 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003046/1.157, allocations: 2.307 MB / 0.795 GB, free: 123.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/1.157, allocations: 0 / 0.795 GB, free: 123.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/1.29, allocations: 89.45 MB / 0.8824 GB, free: 34.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.47, allocations: 12.03 kB / 0.8824 GB, free: 34.51 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches