Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",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.001284/0.001284, allocations: 109.4 kB / 16.41 MB, free: 6.449 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.001184/0.001184, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2084/0.2084, allocations: 43.53 MB / 314.1 MB, free: 444 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.001387/0.001387, allocations: 69.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09785, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01774/0.1156, allocations: 17.04 MB / 0.504 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1259, allocations: 5.315 MB / 0.5092 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.1285, allocations: 127.7 kB / 0.5093 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.1389, allocations: 6.075 MB / 0.5153 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.1461, allocations: 3.081 MB / 0.5183 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.1494, allocations: 1.579 MB / 0.5198 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.1606, allocations: 8.193 MB / 0.5278 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.216/0.3767, allocations: 7.626 MB / 0.5353 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005414/0.3822, allocations: 3.185 MB / 0.5384 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006946/0.3892, allocations: 4.214 MB / 0.5425 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002636/0.3918, allocations: 0.6406 MB / 0.5431 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/0.3962, allocations: 1.466 MB / 0.5446 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005894/0.4021, allocations: 3.922 MB / 0.5484 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008528/0.4107, allocations: 4.31 MB / 0.5526 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01643/0.4271, allocations: 13.15 MB / 0.5654 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4272, allocations: 0 / 0.5654 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4272, allocations: 0 / 0.5654 GB, free: 14.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004595/0.4276, allocations: 0 / 0.5654 GB, free: 14.49 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02286/0.4505, allocations: 9.321 MB / 0.5745 GB, free: 8.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4506, allocations: 12.52 kB / 0.5746 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00325/0.4538, allocations: 1.308 MB / 0.5758 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.4657, allocations: 2.715 MB / 0.5785 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.4792, allocations: 6.671 MB / 0.585 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004137/0.4796, allocations: 472.8 kB / 0.5854 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/0.482, allocations: 0.5847 MB / 0.586 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03622/0.5182, allocations: 18.73 MB / 0.6043 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002417/0.5185, allocations: 77.08 kB / 0.6044 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/0.5198, allocations: 282.6 kB / 0.6047 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005367/0.5251, allocations: 3.449 MB / 0.608 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03014/0.5553, allocations: 14.61 MB / 0.6223 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/0.6688, allocations: 70.21 MB / 0.6909 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0269/0.6958, allocations: 6.139 MB / 0.6969 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005962/0.7018, allocations: 2.451 MB / 0.6992 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02991/0.7317, allocations: 10.82 MB / 0.7098 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.479e-05/0.7318, allocations: 63.19 kB / 0.7099 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=238): time 7.715e-06/0.7319, allocations: 0 / 0.7099 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.07051/0.8024, allocations: 16.03 MB / 0.7255 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.8025, allocations: 154.5 kB / 0.7257 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01617/0.8187, allocations: 6.683 MB / 0.7322 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005212/0.8193, allocations: 69.23 kB / 0.7323 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006239/0.8255, allocations: 5.551 MB / 0.7377 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/0.8271, allocations: 1.007 MB / 0.7387 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004161/0.8313, allocations: 1.819 MB / 0.7404 GB, free: 288 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.8315, allocations: 305.1 kB / 0.7407 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004848/0.8364, allocations: 2.624 MB / 0.7433 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009062/0.8455, allocations: 8.333 MB / 0.7514 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2347/1.08, allocations: 11.94 MB / 0.7631 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002067/1.08, allocations: 59.22 kB / 0.7632 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02027/1.101, allocations: 10.64 MB / 0.7735 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.101, allocations: 96.47 kB / 0.7736 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003812/1.101, allocations: 202.1 kB / 0.7738 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/1.102, allocations: 267.9 kB / 0.7741 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007469/1.109, allocations: 2.116 MB / 0.7761 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005478/1.11, allocations: 401.5 kB / 0.7765 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007541/1.117, allocations: 445 kB / 0.777 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/1.119, allocations: 0.5566 MB / 0.7775 GB, free: 180 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1139): * Single equations (assignments): 1128 * Array equations: 11 * 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.007277/1.127, allocations: 3.621 MB / 0.781 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.128, allocations: 0.5786 MB / 0.7816 GB, free: 178.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/1.133, allocations: 2.805 MB / 0.7843 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.884e-05/1.133, allocations: 27.62 kB / 0.7844 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.133, allocations: 0 / 0.7844 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-05/1.133, allocations: 11.48 kB / 0.7844 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03375/1.167, allocations: 26.58 MB / 0.8103 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.651e-05/1.167, allocations: 52 kB / 0.8104 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.169, allocations: 0.5254 MB / 0.8109 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.577e-05/1.169, allocations: 68 kB / 0.811 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.169, allocations: 119.8 kB / 0.8111 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.656e-05/1.169, allocations: 99.03 kB / 0.8112 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.168e-05/1.169, allocations: 92.03 kB / 0.8113 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/1.174, allocations: 5.243 MB / 0.8164 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.175, allocations: 0.675 MB / 0.817 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007986/1.176, allocations: 125.1 kB / 0.8172 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/1.179, allocations: 138.9 kB / 0.8173 GB, free: 158 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/1.179, allocations: 363 kB / 0.8176 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/1.179, allocations: 148.2 kB / 0.8178 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006197/1.186, allocations: 4.181 MB / 0.8219 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/1.186, allocations: 0 / 0.8219 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008168/1.194, allocations: 1.498 MB / 0.8233 GB, free: 152.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.005888/1.2, allocations: 5.988 MB / 0.8292 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009061/1.209, allocations: 6.228 MB / 0.8353 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.684e-05/1.209, allocations: 8 kB / 0.8353 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/1.211, allocations: 1.503 MB / 0.8367 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006784/1.218, allocations: 0.9332 MB / 0.8376 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0993/1.317, allocations: 73.32 MB / 0.9092 GB, free: 54.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006808/1.324, allocations: 5.577 MB / 0.9147 GB, free: 48.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006095/1.33, allocations: 2.776 MB / 0.9174 GB, free: 46.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004326/1.335, allocations: 3.666 MB / 0.921 GB, free: 42.48 MB / 0.5919 GB Notification: Performance of SimCode: time 6.62e-07/1.335, allocations: 0 / 0.921 GB, free: 42.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3668/1.701, allocations: 102.5 MB / 1.021 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 48.32/50.02, allocations: 0 / 1.021 GB, free: 191.6 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches