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.0008859/0.0008861, allocations: 102.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 186.6 kB / 16.92 MB, free: 6.918 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.34/1.34, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3226/0.3226, allocations: 43.57 MB / 315 MB, free: 9.047 MB / 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.0005384/0.0005384, allocations: 15.98 kB / 384.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.256/0.364, allocations: 98.65 MB / 0.5295 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04896/0.413, allocations: 19.09 MB / 0.5481 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02005/0.433, allocations: 446.1 kB / 0.5485 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.4358, allocations: 0.7035 MB / 0.5492 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008274/0.4441, allocations: 2.92 MB / 0.5521 GB, free: 276 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.4472, allocations: 1.258 MB / 0.5533 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01355/0.4607, allocations: 11.9 MB / 0.5649 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.4754, allocations: 10.59 MB / 0.5753 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.4798, allocations: 2.413 MB / 0.5776 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005382/0.4852, allocations: 3.881 MB / 0.5814 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.4867, allocations: 288 kB / 0.5817 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.4905, allocations: 1.17 MB / 0.5828 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004983/0.4955, allocations: 3.451 MB / 0.5862 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00622/0.5017, allocations: 3.82 MB / 0.5899 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.5161, allocations: 12.14 MB / 0.6018 GB, free: 13.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.5162, allocations: 8 kB / 0.6018 GB, free: 13.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.5162, allocations: 0 / 0.6018 GB, free: 13.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005252/0.5167, allocations: 4 kB / 0.6018 GB, free: 13.49 MB / 478.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.01639/0.5331, allocations: 7.654 MB / 0.6093 GB, free: 5.754 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5332, allocations: 12.03 kB / 0.6093 GB, free: 5.742 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003381/0.5366, allocations: 1.307 MB / 0.6106 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.5482, allocations: 2.77 MB / 0.6133 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.5595, allocations: 6.549 MB / 0.6197 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004669/0.56, allocations: 475.5 kB / 0.6201 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.5619, allocations: 0.5856 MB / 0.6207 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4723/1.034, allocations: 18.77 MB / 0.639 GB, free: 53.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/1.034, allocations: 73.91 kB / 0.6391 GB, free: 53.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006634/1.035, allocations: 286.5 kB / 0.6394 GB, free: 53.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004404/1.04, allocations: 3.449 MB / 0.6427 GB, free: 53.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03089/1.07, allocations: 14.64 MB / 0.657 GB, free: 53.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07778/1.148, allocations: 70.49 MB / 0.7259 GB, free: 10.89 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01701/1.165, allocations: 6.14 MB / 0.7319 GB, free: 4.613 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/1.169, allocations: 2.446 MB / 0.7343 GB, free: 2.156 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01977/1.189, allocations: 10.85 MB / 0.7449 GB, free: 6.949 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/1.189, allocations: 60.55 kB / 0.7449 GB, free: 6.883 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=238): time 5.33e-06/1.189, allocations: 0 / 0.7449 GB, free: 6.883 MB / 0.5138 GB Notification: Performance of matching and sorting (n=262): time 0.04291/1.232, allocations: 16.09 MB / 0.7606 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/1.232, allocations: 156.2 kB / 0.7608 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.242, allocations: 6.688 MB / 0.7673 GB, free: 28 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004683/1.243, allocations: 65.94 kB / 0.7674 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004231/1.247, allocations: 5.548 MB / 0.7728 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.248, allocations: 1.018 MB / 0.7738 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/1.249, allocations: 0.7873 MB / 0.7746 GB, free: 8.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/1.25, allocations: 301.1 kB / 0.7748 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00453/1.254, allocations: 2.622 MB / 0.7774 GB, free: 5.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009298/1.263, allocations: 8.33 MB / 0.7855 GB, free: 10.63 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0147/1.278, allocations: 11.95 MB / 0.7972 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/1.278, allocations: 59.94 kB / 0.7973 GB, free: 12.63 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02085/1.299, allocations: 10.63 MB / 0.8076 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/1.299, allocations: 92 kB / 0.8077 GB, free: 3.117 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003161/1.3, allocations: 204 kB / 0.8079 GB, free: 2.918 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/1.3, allocations: 268 kB / 0.8082 GB, free: 2.656 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00721/1.307, allocations: 2.122 MB / 0.8103 GB, free: 0.7227 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003159/1.308, allocations: 399.2 kB / 0.8106 GB, free: 428 kB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006119/1.314, allocations: 447.5 kB / 0.8111 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00097/1.315, allocations: 0.5576 MB / 0.8116 GB, free: 15.43 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.005588/1.32, allocations: 3.621 MB / 0.8151 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009776/1.321, allocations: 0.5706 MB / 0.8157 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004641/1.326, allocations: 2.801 MB / 0.8184 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/1.326, allocations: 28 kB / 0.8185 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.326, allocations: 6.719 kB / 0.8185 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/1.326, allocations: 11.95 kB / 0.8185 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03573/1.362, allocations: 26.56 MB / 0.8444 GB, free: 13.59 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.673e-05/1.362, allocations: 52 kB / 0.8445 GB, free: 13.54 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/1.364, allocations: 0.524 MB / 0.845 GB, free: 13.06 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.905e-05/1.364, allocations: 72 kB / 0.845 GB, free: 12.99 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/1.364, allocations: 119.2 kB / 0.8452 GB, free: 12.88 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-05/1.364, allocations: 101.6 kB / 0.8453 GB, free: 12.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.56e-05/1.364, allocations: 87.34 kB / 0.8453 GB, free: 12.74 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00617/1.37, allocations: 5.254 MB / 0.8505 GB, free: 6.715 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/1.372, allocations: 0.6846 MB / 0.8511 GB, free: 6.004 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006775/1.372, allocations: 120 kB / 0.8513 GB, free: 5.887 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.375, allocations: 139.9 kB / 0.8514 GB, free: 5.75 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/1.375, allocations: 363.2 kB / 0.8517 GB, free: 5.438 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/1.375, allocations: 148 kB / 0.8519 GB, free: 5.297 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006447/1.382, allocations: 4.183 MB / 0.856 GB, free: 1.133 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.71e-07/1.382, allocations: 4 kB / 0.856 GB, free: 1.129 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.1999/1.582, allocations: 1.492 MB / 0.8574 GB, free: 254.4 MB / 0.6232 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.006427/1.588, allocations: 5.985 MB / 0.8633 GB, free: 251.2 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.008881/1.597, allocations: 6.101 MB / 0.8692 GB, free: 250.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.89e-05/1.597, allocations: 10.47 kB / 0.8692 GB, free: 250.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.002157/1.599, allocations: 1.495 MB / 0.8707 GB, free: 250.4 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05002/1.649, allocations: 0.9158 MB / 0.8716 GB, free: 250.4 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1149/1.764, allocations: 92.98 MB / 0.9624 GB, free: 175.9 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00952/1.774, allocations: 5.573 MB / 0.9678 GB, free: 174.1 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.007882/1.782, allocations: 2.78 MB / 0.9705 GB, free: 172.8 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005848/1.788, allocations: 3.662 MB / 0.9741 GB, free: 169.4 MB / 0.6232 GB Notification: Performance of SimCode: time 3.156e-06/1.788, allocations: 4 kB / 0.9741 GB, free: 169.4 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/1.921, allocations: 104.2 MB / 1.076 GB, free: 68.95 MB / 0.6232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.921, allocations: 204.9 kB / 1.076 GB, free: 68.68 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.775/6.696, allocations: 0 / 1.076 GB, free: 68.68 MB / 0.6232 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches