Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",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.001451/0.001451, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.00162/0.00162, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1874/0.1874, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2772, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009451/0.2867, allocations: 9.732 MB / 0.5279 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005784/0.2925, allocations: 2.924 MB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.294, allocations: 50.44 kB / 0.5308 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.2978, allocations: 1.994 MB / 0.5328 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.3006, allocations: 1.129 MB / 0.5339 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.3013, allocations: 287.3 kB / 0.5341 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002975/0.3043, allocations: 2.328 MB / 0.5364 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/0.3074, allocations: 2.336 MB / 0.5387 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.3089, allocations: 0.8915 MB / 0.5396 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.3107, allocations: 1.184 MB / 0.5407 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006111/0.3113, allocations: 198 kB / 0.5409 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3127, allocations: 0.7029 MB / 0.5416 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.3139, allocations: 1.157 MB / 0.5427 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.3156, allocations: 1.355 MB / 0.5441 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.3196, allocations: 4.449 MB / 0.5484 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3196, allocations: 0 / 0.5484 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3196, allocations: 0 / 0.5484 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.822e-05/0.3197, allocations: 7.938 kB / 0.5484 GB, free: 13.3 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.004139/0.3239, allocations: 2.943 MB / 0.5513 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3239, allocations: 8.031 kB / 0.5513 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005124/0.3244, allocations: 495.8 kB / 0.5518 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/0.3294, allocations: 1.584 MB / 0.5533 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.3321, allocations: 1.359 MB / 0.5546 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/0.3322, allocations: 155.8 kB / 0.5548 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.3325, allocations: 187.9 kB / 0.555 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008396/0.3409, allocations: 6.429 MB / 0.5612 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/0.341, allocations: 15.88 kB / 0.5613 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.3412, allocations: 87.89 kB / 0.5613 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002009/0.3432, allocations: 1.414 MB / 0.5627 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008572/0.3518, allocations: 5.484 MB / 0.5681 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02349/0.3753, allocations: 20.42 MB / 0.588 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.3793, allocations: 2.08 MB / 0.59 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.3802, allocations: 0.6953 MB / 0.5907 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006102/0.3863, allocations: 3.503 MB / 0.5941 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3864, allocations: 35 kB / 0.5942 GB, free: 13.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.876e-06/0.3864, allocations: 4 kB / 0.5942 GB, free: 13.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.004945/0.3914, allocations: 1.973 MB / 0.5961 GB, free: 11.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.3914, allocations: 55.84 kB / 0.5962 GB, free: 11.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.3937, allocations: 1.97 MB / 0.5981 GB, free: 9.117 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.3938, allocations: 33.7 kB / 0.5981 GB, free: 9.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.3948, allocations: 1.887 MB / 0.6 GB, free: 7.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.3951, allocations: 312.1 kB / 0.6003 GB, free: 6.852 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000695/0.3958, allocations: 0.6268 MB / 0.6009 GB, free: 6.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3959, allocations: 353.9 kB / 0.6012 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3971, allocations: 0.8959 MB / 0.6021 GB, free: 4.965 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.3993, allocations: 2.766 MB / 0.6048 GB, free: 1.258 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.403, allocations: 4.004 MB / 0.6087 GB, free: 12.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-05/0.4031, allocations: 20 kB / 0.6087 GB, free: 12.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004872/0.408, allocations: 3.545 MB / 0.6122 GB, free: 8.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.408, allocations: 32 kB / 0.6122 GB, free: 8.711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-05/0.4081, allocations: 71.94 kB / 0.6123 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.177e-05/0.4082, allocations: 88.75 kB / 0.6124 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.41, allocations: 0.6628 MB / 0.613 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.15e-05/0.4101, allocations: 131.5 kB / 0.6131 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.4117, allocations: 419.5 kB / 0.6135 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/0.4119, allocations: 191.9 kB / 0.6137 GB, free: 7.164 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.001628/0.4136, allocations: 1.373 MB / 0.6151 GB, free: 5.781 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.4138, allocations: 165.8 kB / 0.6152 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.4141, allocations: 201.2 kB / 0.6154 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.4141, allocations: 15.94 kB / 0.6154 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4141, allocations: 0 / 0.6154 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4141, allocations: 3.984 kB / 0.6154 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005996/0.4201, allocations: 4.134 MB / 0.6195 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.4202, allocations: 8 kB / 0.6195 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.4205, allocations: 95.81 kB / 0.6196 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.4206, allocations: 8 kB / 0.6196 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.4206, allocations: 20 kB / 0.6196 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.4206, allocations: 11.94 kB / 0.6196 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4206, allocations: 8 kB / 0.6196 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.4219, allocations: 1.242 MB / 0.6208 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.4223, allocations: 250.7 kB / 0.6211 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.4224, allocations: 19.98 kB / 0.6211 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.4229, allocations: 27.98 kB / 0.6211 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.423, allocations: 55.83 kB / 0.6212 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.423, allocations: 35.97 kB / 0.6212 GB, free: 15.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001459/0.4245, allocations: 1.283 MB / 0.6224 GB, free: 13.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4245, allocations: 0 / 0.6224 GB, free: 13.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002155/0.4267, allocations: 0.7037 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.001628/0.4283, allocations: 1.852 MB / 0.6249 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.4309, allocations: 2.052 MB / 0.6269 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4309, allocations: 6 kB / 0.627 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.4315, allocations: 465 kB / 0.6274 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4326, allocations: 236.6 kB / 0.6276 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/0.4559, allocations: 21.06 MB / 0.6482 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.4581, allocations: 2.315 MB / 0.6504 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001896/0.46, allocations: 0.9638 MB / 0.6514 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.4612, allocations: 1.073 MB / 0.6524 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.244e-06/0.4612, allocations: 0 / 0.6524 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05631/0.5175, allocations: 33.42 MB / 0.6851 GB, free: 11.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.51, allocations: 5.016 kB / 0.6851 GB, free: 11.34 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches