Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 79.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3047, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01098/0.3157, allocations: 9.531 MB / 0.5398 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006341/0.3221, allocations: 2.916 MB / 0.5427 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.3237, allocations: 51.81 kB / 0.5427 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004241/0.328, allocations: 1.997 MB / 0.5447 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.3312, allocations: 1.099 MB / 0.5457 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009042/0.3321, allocations: 291 kB / 0.546 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003586/0.3357, allocations: 2.329 MB / 0.5483 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.3387, allocations: 2.305 MB / 0.5505 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.3403, allocations: 0.8762 MB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.3421, allocations: 1.156 MB / 0.5525 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005658/0.3427, allocations: 196 kB / 0.5527 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3442, allocations: 0.7021 MB / 0.5534 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.3455, allocations: 1.107 MB / 0.5545 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.3473, allocations: 1.312 MB / 0.5558 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004853/0.3522, allocations: 4.321 MB / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3523, allocations: 0 / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3523, allocations: 0 / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.3524, allocations: 0 / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00587/0.3583, allocations: 2.861 MB / 0.5628 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3584, allocations: 8.031 kB / 0.5628 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009669/0.3593, allocations: 491.1 kB / 0.5632 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/0.3643, allocations: 1.553 MB / 0.5648 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.3669, allocations: 1.34 MB / 0.5661 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.367, allocations: 147.8 kB / 0.5662 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/0.3676, allocations: 183.9 kB / 0.5664 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009553/0.3771, allocations: 6.242 MB / 0.5725 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.3772, allocations: 15.86 kB / 0.5725 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/0.3776, allocations: 91.91 kB / 0.5726 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001946/0.3795, allocations: 1.344 MB / 0.5739 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009604/0.3892, allocations: 5.327 MB / 0.5791 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02535/0.4145, allocations: 20.01 MB / 0.5986 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.4189, allocations: 2.078 MB / 0.6007 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009708/0.4199, allocations: 0.6896 MB / 0.6013 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005863/0.4257, allocations: 3.483 MB / 0.6047 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4258, allocations: 39 kB / 0.6048 GB, free: 4.332 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.865e-06/0.4258, allocations: 0 / 0.6048 GB, free: 4.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005411/0.4312, allocations: 1.974 MB / 0.6067 GB, free: 2.348 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.4313, allocations: 55.84 kB / 0.6068 GB, free: 2.281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.434, allocations: 1.937 MB / 0.6087 GB, free: 348 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.4341, allocations: 45.69 kB / 0.6087 GB, free: 296 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.4353, allocations: 1.829 MB / 0.6105 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.4356, allocations: 316.1 kB / 0.6108 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008046/0.4364, allocations: 0.6151 MB / 0.6114 GB, free: 13.49 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4366, allocations: 353.9 kB / 0.6117 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4379, allocations: 0.8881 MB / 0.6126 GB, free: 12.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.4403, allocations: 2.755 MB / 0.6153 GB, free: 8.562 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/0.4444, allocations: 3.97 MB / 0.6192 GB, free: 3.668 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.692e-05/0.4445, allocations: 20 kB / 0.6192 GB, free: 3.648 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005536/0.45, allocations: 3.532 MB / 0.6226 GB, free: 112 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.4501, allocations: 35.98 kB / 0.6227 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-05/0.4502, allocations: 68 kB / 0.6227 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.4503, allocations: 84.05 kB / 0.6228 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.4523, allocations: 0.655 MB / 0.6234 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/0.4524, allocations: 127.5 kB / 0.6236 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.4542, allocations: 423.7 kB / 0.624 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/0.4545, allocations: 191.9 kB / 0.6242 GB, free: 14.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001839/0.4564, allocations: 1.33 MB / 0.6255 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.4566, allocations: 161.8 kB / 0.6256 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.457, allocations: 192.9 kB / 0.6258 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.457, allocations: 11.98 kB / 0.6258 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.457, allocations: 0 / 0.6258 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.457, allocations: 7.984 kB / 0.6258 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006596/0.4636, allocations: 4.068 MB / 0.6298 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.4637, allocations: 4 kB / 0.6298 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.4641, allocations: 99.81 kB / 0.6299 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.4641, allocations: 8.75 kB / 0.6299 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.4642, allocations: 23.94 kB / 0.6299 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.4642, allocations: 12 kB / 0.6299 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4642, allocations: 7.938 kB / 0.6299 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.4656, allocations: 1.238 MB / 0.6311 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.466, allocations: 246.7 kB / 0.6314 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.4663, allocations: 27.91 kB / 0.6314 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.4668, allocations: 23.98 kB / 0.6314 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.4669, allocations: 51.83 kB / 0.6315 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/0.467, allocations: 27.98 kB / 0.6315 GB, free: 6.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001896/0.4689, allocations: 1.271 MB / 0.6327 GB, free: 5.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4689, allocations: 0 / 0.6327 GB, free: 5.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002546/0.4715, allocations: 0.6765 MB / 0.6334 GB, free: 4.801 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001952/0.4735, allocations: 1.852 MB / 0.6352 GB, free: 2.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.4765, allocations: 2.05 MB / 0.6372 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4765, allocations: 0 / 0.6372 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.4771, allocations: 455.9 kB / 0.6376 GB, free: 380 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4785, allocations: 251.9 kB / 0.6379 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/0.506, allocations: 20.78 MB / 0.6582 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/0.5086, allocations: 2.271 MB / 0.6604 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00205/0.5107, allocations: 0.9518 MB / 0.6613 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/0.5121, allocations: 1.034 MB / 0.6623 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.5121, allocations: 4 kB / 0.6623 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05786/0.5699, allocations: 32.88 MB / 0.6945 GB, free: 3.758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.52, allocations: 15.89 kB / 0.6945 GB, free: 3.742 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches