Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",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.001046/0.001046, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.235/1.235, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008112/0.0008113, allocations: 82.42 kB / 271.2 MB, free: 8.246 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.2885/0.2885, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 15.98 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.0972, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2006/0.2978, allocations: 34.84 MB / 0.5134 GB, free: 25.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.3112, allocations: 7.271 MB / 0.5205 GB, free: 20.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005188/0.3164, allocations: 153.1 kB / 0.5207 GB, free: 20.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.3199, allocations: 1.517 MB / 0.5222 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009764/0.3297, allocations: 4.461 MB / 0.5265 GB, free: 18.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.331, allocations: 271.7 kB / 0.5268 GB, free: 18.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002785/0.3338, allocations: 2.824 MB / 0.5295 GB, free: 17.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.3372, allocations: 3.27 MB / 0.5327 GB, free: 15.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008221/0.3381, allocations: 0.7257 MB / 0.5334 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.3391, allocations: 1.123 MB / 0.5345 GB, free: 15.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.3393, allocations: 94.12 kB / 0.5346 GB, free: 15.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009139/0.3403, allocations: 0.6141 MB / 0.5352 GB, free: 15.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007122/0.341, allocations: 1.044 MB / 0.5363 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.3418, allocations: 1.225 MB / 0.5374 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003281/0.3451, allocations: 3.615 MB / 0.541 GB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3451, allocations: 7.125 kB / 0.541 GB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3451, allocations: 0 / 0.541 GB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001134/0.3452, allocations: 0 / 0.541 GB, free: 13.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.004042/0.3493, allocations: 2.517 MB / 0.5434 GB, free: 11.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3493, allocations: 10.83 kB / 0.5435 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007714/0.3501, allocations: 0.5102 MB / 0.544 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/0.3552, allocations: 1.651 MB / 0.5456 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.3574, allocations: 1.39 MB / 0.5469 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.3575, allocations: 160.9 kB / 0.5471 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/0.3579, allocations: 196.9 kB / 0.5473 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009619/0.3676, allocations: 6.773 MB / 0.5539 GB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.3676, allocations: 16.88 kB / 0.5539 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.3679, allocations: 93.58 kB / 0.554 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002145/0.37, allocations: 1.471 MB / 0.5554 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008788/0.3789, allocations: 5.784 MB / 0.5611 GB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0264/0.4053, allocations: 21.6 MB / 0.5822 GB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/0.4097, allocations: 2.259 MB / 0.5844 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.411, allocations: 0.7737 MB / 0.5851 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006996/0.418, allocations: 3.751 MB / 0.5888 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.4181, allocations: 39.12 kB / 0.5888 GB, free: 4.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=93): time 4.99e-06/0.4181, allocations: 0 / 0.5888 GB, free: 4.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.005638/0.4237, allocations: 2.193 MB / 0.591 GB, free: 2.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.4238, allocations: 59.97 kB / 0.591 GB, free: 2.441 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/0.4274, allocations: 2.012 MB / 0.593 GB, free: 440 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/0.4275, allocations: 41.64 kB / 0.593 GB, free: 392 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.429, allocations: 1.954 MB / 0.5949 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/0.4295, allocations: 367.3 kB / 0.5953 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.4297, allocations: 63.98 kB / 0.5953 GB, free: 13.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000409/0.4301, allocations: 0.4978 MB / 0.5958 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.4319, allocations: 0.951 MB / 0.5968 GB, free: 12.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/0.4348, allocations: 2.906 MB / 0.5996 GB, free: 8.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/0.4391, allocations: 4.233 MB / 0.6037 GB, free: 3.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-05/0.4392, allocations: 20 kB / 0.6038 GB, free: 3.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005925/0.4451, allocations: 3.749 MB / 0.6074 GB, free: 15.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.4452, allocations: 36 kB / 0.6074 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.022e-05/0.4453, allocations: 71.94 kB / 0.6075 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.161e-05/0.4454, allocations: 96.03 kB / 0.6076 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.4474, allocations: 0.7096 MB / 0.6083 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/0.4475, allocations: 139.4 kB / 0.6084 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.4495, allocations: 447.3 kB / 0.6089 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.4498, allocations: 200 kB / 0.609 GB, free: 13.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 386 * Array equations: 5 * 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.002139/0.4519, allocations: 1.427 MB / 0.6104 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.4522, allocations: 173.7 kB / 0.6106 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.4541, allocations: 1.189 MB / 0.6118 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.4541, allocations: 12 kB / 0.6118 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4541, allocations: 7.938 kB / 0.6118 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4542, allocations: 3.984 kB / 0.6118 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008374/0.4625, allocations: 4.982 MB / 0.6167 GB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.4626, allocations: 8 kB / 0.6167 GB, free: 5.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.4631, allocations: 127.8 kB / 0.6168 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/0.4631, allocations: 19.94 kB / 0.6168 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.4632, allocations: 27.94 kB / 0.6168 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.4632, allocations: 15.98 kB / 0.6168 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.4632, allocations: 11.94 kB / 0.6169 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.4651, allocations: 1.502 MB / 0.6183 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.4656, allocations: 274.4 kB / 0.6186 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.4658, allocations: 27.98 kB / 0.6186 GB, free: 3.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.4665, allocations: 35.97 kB / 0.6186 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.4666, allocations: 75.69 kB / 0.6187 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.4667, allocations: 36 kB / 0.6188 GB, free: 3.652 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001775/0.4685, allocations: 1.316 MB / 0.62 GB, free: 2.312 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4685, allocations: 0 / 0.62 GB, free: 2.312 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002349/0.4708, allocations: 0.7504 MB / 0.6208 GB, free: 1.559 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.002125/0.473, allocations: 2.118 MB / 0.6228 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.4759, allocations: 2.213 MB / 0.625 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.476, allocations: 4.188 kB / 0.625 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006684/0.4766, allocations: 0.5373 MB / 0.6255 GB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/0.4797, allocations: 241.5 kB / 0.6258 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/0.5032, allocations: 16.87 MB / 0.6422 GB, free: 9.727 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/0.506, allocations: 2.417 MB / 0.6446 GB, free: 7.281 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/0.5075, allocations: 1.155 MB / 0.6457 GB, free: 6.125 MB / 474.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5075, allocations: 0 / 0.6457 GB, free: 6.125 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.74/5.247, allocations: 43.26 MB / 0.688 GB, free: 150.2 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches