Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006892/0.0006891, allocations: 93.09 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.319/0.319, allocations: 43.55 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 19.98 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09374, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2451/0.3389, allocations: 91.7 MB / 0.569 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0399/0.3788, allocations: 18.3 MB / 0.5868 GB, free: 4.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01743/0.3963, allocations: 445 kB / 0.5873 GB, free: 4.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01563/0.412, allocations: 4.897 MB / 0.592 GB, free: 2.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03682/0.4488, allocations: 14.38 MB / 0.6061 GB, free: 4.113 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007173/0.456, allocations: 1.318 MB / 0.6074 GB, free: 2.797 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01564/0.4717, allocations: 9.575 MB / 0.6167 GB, free: 9.215 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01883/0.4906, allocations: 10.2 MB / 0.6267 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006831/0.4975, allocations: 2.596 MB / 0.6292 GB, free: 12.31 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007185/0.5047, allocations: 3.871 MB / 0.633 GB, free: 8.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002231/0.507, allocations: 284 kB / 0.6333 GB, free: 8.152 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004924/0.512, allocations: 1.162 MB / 0.6344 GB, free: 6.988 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006175/0.5182, allocations: 3.37 MB / 0.6377 GB, free: 3.609 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008172/0.5264, allocations: 3.601 MB / 0.6412 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.5413, allocations: 10.06 MB / 0.651 GB, free: 5.898 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.5413, allocations: 0 / 0.651 GB, free: 5.898 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.5413, allocations: 0 / 0.651 GB, free: 5.898 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006326/0.542, allocations: 0 / 0.651 GB, free: 5.898 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02195/0.564, allocations: 7.658 MB / 0.6585 GB, free: 14.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.564, allocations: 8.031 kB / 0.6585 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004184/0.5682, allocations: 1.315 MB / 0.6598 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.5802, allocations: 2.77 MB / 0.6625 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/0.5934, allocations: 6.559 MB / 0.6689 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006213/0.5941, allocations: 475.5 kB / 0.6694 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/0.5967, allocations: 0.5855 MB / 0.6699 GB, free: 2.348 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3769/0.9737, allocations: 18.73 MB / 0.6882 GB, free: 130.9 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/0.9738, allocations: 79.12 kB / 0.6883 GB, free: 130.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006163/0.9745, allocations: 287.3 kB / 0.6886 GB, free: 130.7 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00405/0.9785, allocations: 3.445 MB / 0.692 GB, free: 130.1 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02454/1.003, allocations: 14.57 MB / 0.7062 GB, free: 125.6 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07061/1.074, allocations: 70.49 MB / 0.775 GB, free: 67.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/1.088, allocations: 6.125 MB / 0.781 GB, free: 61.18 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/1.091, allocations: 2.442 MB / 0.7834 GB, free: 58.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01563/1.107, allocations: 10.84 MB / 0.794 GB, free: 47.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/1.107, allocations: 72.48 kB / 0.794 GB, free: 47.42 MB / 490.8 MB Notification: Performance of pre-optimization done (n=238): time 4.959e-06/1.107, allocations: 1.875 kB / 0.794 GB, free: 47.42 MB / 490.8 MB Notification: Performance of matching and sorting (n=262): time 0.03392/1.141, allocations: 16.05 MB / 0.8097 GB, free: 31.4 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/1.141, allocations: 150.5 kB / 0.8099 GB, free: 31.23 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006834/1.148, allocations: 6.651 MB / 0.8164 GB, free: 24.59 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003708/1.148, allocations: 67.89 kB / 0.8164 GB, free: 24.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/1.15, allocations: 5.545 MB / 0.8218 GB, free: 18.98 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000695/1.151, allocations: 1.015 MB / 0.8228 GB, free: 17.97 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/1.151, allocations: 179 kB / 0.823 GB, free: 17.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002972/1.152, allocations: 0.6985 MB / 0.8237 GB, free: 17.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/1.155, allocations: 2.587 MB / 0.8262 GB, free: 14.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004944/1.16, allocations: 8.298 MB / 0.8343 GB, free: 3.355 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/1.172, allocations: 11.89 MB / 0.8459 GB, free: 4.625 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/1.172, allocations: 56 kB / 0.846 GB, free: 4.57 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.01715/1.189, allocations: 10.56 MB / 0.8563 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.189, allocations: 92 kB / 0.8564 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.189, allocations: 208 kB / 0.8566 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/1.19, allocations: 271.9 kB / 0.8568 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00658/1.196, allocations: 2.121 MB / 0.8589 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002924/1.196, allocations: 398.5 kB / 0.8593 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005481/1.202, allocations: 443.5 kB / 0.8597 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008573/1.203, allocations: 0.5612 MB / 0.8603 GB, free: 5.945 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1139): * Single equations (assignments): 1128 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005642/1.208, allocations: 3.616 MB / 0.8638 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009362/1.209, allocations: 0.5745 MB / 0.8643 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2046/1.414, allocations: 2.784 MB / 0.8671 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/1.414, allocations: 27.28 kB / 0.8671 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.414, allocations: 2.719 kB / 0.8671 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/1.414, allocations: 12.27 kB / 0.8671 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03115/1.445, allocations: 26.55 MB / 0.893 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.013e-05/1.445, allocations: 52.59 kB / 0.8931 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.447, allocations: 0.5291 MB / 0.8936 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.64e-05/1.447, allocations: 69.75 kB / 0.8937 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.447, allocations: 115.6 kB / 0.8938 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.021e-05/1.447, allocations: 101.2 kB / 0.8939 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.342e-05/1.447, allocations: 82.66 kB / 0.894 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/1.452, allocations: 5.227 MB / 0.8991 GB, free: 136.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/1.453, allocations: 0.6816 MB / 0.8997 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006461/1.454, allocations: 121.6 kB / 0.8998 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.456, allocations: 144.3 kB / 0.9 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.457, allocations: 363.3 kB / 0.9003 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.457, allocations: 148.9 kB / 0.9005 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005889/1.463, allocations: 4.141 MB / 0.9045 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/1.463, allocations: 4.125 kB / 0.9045 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007595/1.47, allocations: 1.498 MB / 0.906 GB, free: 134.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * Number of states: 0 () * 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 (273): * Single equations (assignments): 270 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006469/1.477, allocations: 5.974 MB / 0.9118 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008976/1.486, allocations: 6.056 MB / 0.9177 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-05/1.486, allocations: 7.781 kB / 0.9177 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/1.488, allocations: 1.489 MB / 0.9192 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0477/1.536, allocations: 0.9106 MB / 0.9201 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07839/1.614, allocations: 62.32 MB / 0.9809 GB, free: 69.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005508/1.62, allocations: 5.58 MB / 0.9864 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003437/1.623, allocations: 3.729 MB / 0.99 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/1.623, allocations: 0 / 0.99 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.44/12.06, allocations: 125.6 MB / 1.113 GB, free: 140.6 MB / 0.5262 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches