Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_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.001753/0.001753, allocations: 108 kB / 16.41 MB, free: 6.5 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.001895/0.001895, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2226/0.2226, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 68.31 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1098, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01243/0.1222, allocations: 10.54 MB / 0.4977 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006148/0.1284, allocations: 3.007 MB / 0.5006 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.13, allocations: 55.94 kB / 0.5007 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.1342, allocations: 2.005 MB / 0.5026 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.1373, allocations: 1.183 MB / 0.5038 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.1381, allocations: 291.4 kB / 0.5041 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003516/0.1416, allocations: 2.45 MB / 0.5065 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.1448, allocations: 2.371 MB / 0.5088 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1463, allocations: 0.9539 MB / 0.5097 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.1482, allocations: 1.262 MB / 0.5109 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005641/0.1487, allocations: 212 kB / 0.5111 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.1502, allocations: 0.7061 MB / 0.5118 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.1516, allocations: 1.208 MB / 0.513 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.1534, allocations: 1.429 MB / 0.5144 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005143/0.1586, allocations: 4.723 MB / 0.519 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1586, allocations: 0 / 0.519 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1586, allocations: 0 / 0.519 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.323e-05/0.1587, allocations: 4 kB / 0.519 GB, free: 11.77 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.00509/0.1638, allocations: 3.157 MB / 0.5221 GB, free: 8.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1638, allocations: 15.89 kB / 0.5221 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006185/0.1645, allocations: 0.5091 MB / 0.5226 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005401/0.1699, allocations: 1.633 MB / 0.5242 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.1724, allocations: 1.41 MB / 0.5256 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.1725, allocations: 160 kB / 0.5257 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.1728, allocations: 195.9 kB / 0.5259 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2068/0.3797, allocations: 6.779 MB / 0.5325 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/0.3798, allocations: 13.03 kB / 0.5326 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.38, allocations: 97.27 kB / 0.5327 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/0.3823, allocations: 1.483 MB / 0.5341 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.3924, allocations: 5.799 MB / 0.5398 GB, free: 35.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02361/0.416, allocations: 21.49 MB / 0.5608 GB, free: 21.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003921/0.42, allocations: 2.266 MB / 0.563 GB, free: 19.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000855/0.4208, allocations: 0.7753 MB / 0.5637 GB, free: 19.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004978/0.4258, allocations: 3.752 MB / 0.5674 GB, free: 17.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.4259, allocations: 42.72 kB / 0.5674 GB, free: 17.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 2.966e-06/0.4259, allocations: 0 / 0.5674 GB, free: 17.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.004987/0.4309, allocations: 2.201 MB / 0.5696 GB, free: 16.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.4309, allocations: 55.97 kB / 0.5696 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.4328, allocations: 2.031 MB / 0.5716 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.4328, allocations: 37.7 kB / 0.5717 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/0.4335, allocations: 2.035 MB / 0.5736 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.4337, allocations: 383.5 kB / 0.574 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006113/0.4343, allocations: 0.6576 MB / 0.5746 GB, free: 10.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.4344, allocations: 361.9 kB / 0.575 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.4354, allocations: 0.9704 MB / 0.5759 GB, free: 9.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.4371, allocations: 2.922 MB / 0.5788 GB, free: 5.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/0.44, allocations: 4.246 MB / 0.5829 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/0.44, allocations: 20.5 kB / 0.583 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005666/0.4457, allocations: 3.791 MB / 0.5867 GB, free: 12.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.4458, allocations: 36.16 kB / 0.5867 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.191e-05/0.4458, allocations: 76 kB / 0.5868 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.776e-05/0.446, allocations: 88 kB / 0.5869 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.448, allocations: 0.7141 MB / 0.5875 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001181/0.4482, allocations: 131.5 kB / 0.5877 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.45, allocations: 460.6 kB / 0.5881 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.4503, allocations: 198.4 kB / 0.5883 GB, free: 11.05 MB / 430.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002069/0.4524, allocations: 1.431 MB / 0.5897 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.4526, allocations: 182.7 kB / 0.5899 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.4546, allocations: 1.191 MB / 0.591 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.4547, allocations: 16 kB / 0.5911 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4547, allocations: 1.375 kB / 0.5911 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4547, allocations: 7.969 kB / 0.5911 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008003/0.4627, allocations: 4.983 MB / 0.5959 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.4628, allocations: 8 kB / 0.5959 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.4633, allocations: 135.7 kB / 0.5961 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/0.4633, allocations: 12 kB / 0.5961 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.4634, allocations: 24 kB / 0.5961 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-05/0.4634, allocations: 19.92 kB / 0.5961 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/0.4634, allocations: 19.88 kB / 0.5961 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.4655, allocations: 1.515 MB / 0.5976 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.4659, allocations: 275.5 kB / 0.5979 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.4661, allocations: 27.94 kB / 0.5979 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.4667, allocations: 39.92 kB / 0.5979 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.4669, allocations: 71.75 kB / 0.598 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.467, allocations: 47.97 kB / 0.5981 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001919/0.4689, allocations: 1.324 MB / 0.5994 GB, free: 15.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4689, allocations: 0 / 0.5994 GB, free: 15.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002526/0.4714, allocations: 0.7592 MB / 0.6001 GB, free: 14.59 MB / 446.1 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 (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.002527/0.474, allocations: 2.149 MB / 0.6022 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003574/0.4775, allocations: 2.248 MB / 0.6044 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4776, allocations: 8.062 kB / 0.6044 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.4784, allocations: 0.5334 MB / 0.6049 GB, free: 9.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4797, allocations: 252.2 kB / 0.6052 GB, free: 9.277 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0308/0.5105, allocations: 22.63 MB / 0.6273 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002631/0.5131, allocations: 2.405 MB / 0.6296 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002231/0.5154, allocations: 1.011 MB / 0.6306 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/0.5169, allocations: 1.136 MB / 0.6317 GB, free: 11.33 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5169, allocations: 0 / 0.6317 GB, free: 11.33 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06753/0.5844, allocations: 35.04 MB / 0.6659 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.79, allocations: 8.062 kB / 0.6659 GB, free: 8.25 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches