Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 110.4 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 187 kB / 18.71 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1845/0.1845, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.009472/0.2959, allocations: 9.727 MB / 0.5279 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.302, allocations: 2.916 MB / 0.5308 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.3037, allocations: 54.06 kB / 0.5308 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003924/0.3078, allocations: 1.999 MB / 0.5328 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.3108, allocations: 1.129 MB / 0.5339 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.3116, allocations: 286.6 kB / 0.5341 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002874/0.3145, allocations: 2.329 MB / 0.5364 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.317, allocations: 2.336 MB / 0.5387 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.3182, allocations: 0.8956 MB / 0.5396 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.3196, allocations: 1.18 MB / 0.5407 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003693/0.32, allocations: 197.2 kB / 0.5409 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.3212, allocations: 0.7043 MB / 0.5416 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009468/0.3222, allocations: 1.156 MB / 0.5427 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.3233, allocations: 1.355 MB / 0.5441 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.3271, allocations: 4.449 MB / 0.5484 GB, free: 13.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3271, allocations: 0 / 0.5484 GB, free: 13.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3271, allocations: 0 / 0.5484 GB, free: 13.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.793e-05/0.3272, allocations: 0 / 0.5484 GB, free: 13.31 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004808/0.332, allocations: 2.943 MB / 0.5513 GB, free: 10.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.332, allocations: 16.02 kB / 0.5513 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005177/0.3326, allocations: 495.8 kB / 0.5518 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.3374, allocations: 1.588 MB / 0.5533 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.34, allocations: 1.359 MB / 0.5546 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.104e-05/0.3401, allocations: 151.9 kB / 0.5548 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.3405, allocations: 187.9 kB / 0.555 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0081/0.3486, allocations: 6.436 MB / 0.5612 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/0.3487, allocations: 19.88 kB / 0.5613 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/0.3489, allocations: 87.91 kB / 0.5614 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/0.3508, allocations: 1.403 MB / 0.5627 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008424/0.3592, allocations: 5.488 MB / 0.5681 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02385/0.3831, allocations: 20.42 MB / 0.588 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/0.3871, allocations: 2.073 MB / 0.59 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008772/0.388, allocations: 0.6953 MB / 0.5907 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006054/0.394, allocations: 3.503 MB / 0.5941 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3941, allocations: 35 kB / 0.5942 GB, free: 13.15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.314e-06/0.3941, allocations: 0 / 0.5942 GB, free: 13.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.004935/0.399, allocations: 1.977 MB / 0.5961 GB, free: 11.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3991, allocations: 55.84 kB / 0.5962 GB, free: 11.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.4018, allocations: 1.974 MB / 0.5981 GB, free: 9.121 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.4019, allocations: 33.7 kB / 0.5981 GB, free: 9.082 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.403, allocations: 1.883 MB / 0.6 GB, free: 7.168 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.4033, allocations: 308.1 kB / 0.6003 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007646/0.4041, allocations: 0.6307 MB / 0.6009 GB, free: 6.223 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4042, allocations: 353.9 kB / 0.6012 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.4054, allocations: 0.8959 MB / 0.6021 GB, free: 4.973 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.4077, allocations: 2.774 MB / 0.6048 GB, free: 1.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/0.4115, allocations: 3.991 MB / 0.6087 GB, free: 12.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.717e-05/0.4116, allocations: 23.94 kB / 0.6087 GB, free: 12.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005123/0.4167, allocations: 3.55 MB / 0.6122 GB, free: 8.746 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.4168, allocations: 36 kB / 0.6122 GB, free: 8.711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.763e-05/0.4168, allocations: 68.03 kB / 0.6123 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.554e-05/0.4169, allocations: 92 kB / 0.6124 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.4188, allocations: 0.6589 MB / 0.613 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001041/0.4189, allocations: 135.5 kB / 0.6131 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.4206, allocations: 423.5 kB / 0.6135 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.4209, allocations: 188 kB / 0.6137 GB, free: 7.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.001794/0.4227, allocations: 1.373 MB / 0.6151 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.423, allocations: 161.8 kB / 0.6152 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.4233, allocations: 201.2 kB / 0.6154 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.4234, allocations: 12 kB / 0.6154 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.4234, allocations: 0 / 0.6154 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4234, allocations: 0 / 0.6154 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006864/0.4302, allocations: 4.137 MB / 0.6195 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.4303, allocations: 8 kB / 0.6195 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.4307, allocations: 91.83 kB / 0.6196 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.4307, allocations: 8 kB / 0.6196 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.4307, allocations: 23.98 kB / 0.6196 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.4308, allocations: 11.94 kB / 0.6196 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.4308, allocations: 8 kB / 0.6196 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.4321, allocations: 1.239 MB / 0.6208 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.4325, allocations: 254.7 kB / 0.6211 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.4327, allocations: 12 kB / 0.6211 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.4333, allocations: 35.97 kB / 0.6211 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.4334, allocations: 55.77 kB / 0.6212 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.4334, allocations: 31.98 kB / 0.6212 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001724/0.4352, allocations: 1.287 MB / 0.6224 GB, free: 13.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4352, allocations: 0 / 0.6224 GB, free: 13.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002373/0.4375, allocations: 0.7076 MB / 0.6231 GB, free: 13.26 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.001831/0.4394, allocations: 1.848 MB / 0.6249 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002871/0.4423, allocations: 2.049 MB / 0.6269 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4423, allocations: 4.938 kB / 0.6269 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.4428, allocations: 460 kB / 0.6274 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.4441, allocations: 249.3 kB / 0.6276 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/0.4704, allocations: 21.05 MB / 0.6482 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/0.473, allocations: 2.319 MB / 0.6504 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001957/0.4749, allocations: 0.9716 MB / 0.6514 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/0.4762, allocations: 1.069 MB / 0.6524 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of SimCode: time 3.717e-06/0.4762, allocations: 4 kB / 0.6524 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/0.5323, allocations: 33.42 MB / 0.6851 GB, free: 11.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.59, allocations: 1.031 kB / 0.6851 GB, free: 11.34 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches