Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_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.001114/0.001114, allocations: 107 kB / 17.33 MB, free: 6 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.00118/0.00118, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.368/1.368, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2193/0.2193, allocations: 44.18 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 64.66 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3357/0.46, allocations: 99.36 MB / 0.5549 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05312/0.5132, allocations: 18.83 MB / 0.5732 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02644/0.5397, allocations: 446.9 kB / 0.5737 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.5511, allocations: 5.829 MB / 0.5794 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008511/0.5597, allocations: 2.66 MB / 0.582 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.5634, allocations: 1.509 MB / 0.5834 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.5743, allocations: 7.768 MB / 0.591 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.5858, allocations: 7.845 MB / 0.5987 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/0.5911, allocations: 3.127 MB / 0.6017 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00597/0.5971, allocations: 4.308 MB / 0.6059 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002186/0.5993, allocations: 0.5898 MB / 0.6065 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.6032, allocations: 1.444 MB / 0.6079 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004894/0.6081, allocations: 3.647 MB / 0.6115 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007229/0.6153, allocations: 4.031 MB / 0.6154 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.63, allocations: 11.81 MB / 0.627 GB, free: 2.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6301, allocations: 0 / 0.627 GB, free: 2.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6301, allocations: 0 / 0.627 GB, free: 2.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004868/0.6306, allocations: 0 / 0.627 GB, free: 2.285 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02379/0.6544, allocations: 8.785 MB / 0.6355 GB, free: 9.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6545, allocations: 8.031 kB / 0.6355 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004269/0.6587, allocations: 1.215 MB / 0.6367 GB, free: 8.176 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.6707, allocations: 2.623 MB / 0.6393 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.6829, allocations: 5.801 MB / 0.645 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/0.6834, allocations: 438.8 kB / 0.6454 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/0.6858, allocations: 0.5505 MB / 0.6459 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0391/0.7249, allocations: 17.44 MB / 0.6629 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000384/0.7254, allocations: 71.39 kB / 0.663 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002284/0.7277, allocations: 271.7 kB / 0.6633 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005164/0.7329, allocations: 3.174 MB / 0.6664 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02998/0.7629, allocations: 13.41 MB / 0.6795 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4904/1.253, allocations: 66.12 MB / 0.744 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/1.268, allocations: 5.496 MB / 0.7494 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/1.271, allocations: 2.114 MB / 0.7515 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/1.286, allocations: 10 MB / 0.7612 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.286, allocations: 48.53 kB / 0.7613 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.11e-06/1.286, allocations: 3.469 kB / 0.7613 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03459/1.321, allocations: 14.28 MB / 0.7752 GB, free: 124 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.321, allocations: 157.7 kB / 0.7754 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008032/1.329, allocations: 6.408 MB / 0.7816 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003377/1.329, allocations: 57.7 kB / 0.7817 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002979/1.332, allocations: 5.248 MB / 0.7868 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008273/1.333, allocations: 0.8165 MB / 0.7876 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002074/1.335, allocations: 1.691 MB / 0.7893 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/1.335, allocations: 301.1 kB / 0.7896 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/1.338, allocations: 2.308 MB / 0.7918 GB, free: 107 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004765/1.343, allocations: 7.733 MB / 0.7994 GB, free: 96.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009353/1.352, allocations: 10.93 MB / 0.81 GB, free: 83.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001406/1.353, allocations: 56 kB / 0.8101 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01436/1.367, allocations: 9.664 MB / 0.8195 GB, free: 73.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-05/1.367, allocations: 91.94 kB / 0.8196 GB, free: 73.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.367, allocations: 192 kB / 0.8198 GB, free: 73.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/1.368, allocations: 252.8 kB / 0.82 GB, free: 72.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005408/1.373, allocations: 1.926 MB / 0.8219 GB, free: 70.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002446/1.373, allocations: 378.5 kB / 0.8223 GB, free: 70.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006201/1.379, allocations: 414.9 kB / 0.8227 GB, free: 70.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/1.381, allocations: 0.5191 MB / 0.8232 GB, free: 69.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1039): * Single equations (assignments): 1028 * 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.00511/1.386, allocations: 3.402 MB / 0.8265 GB, free: 66.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009311/1.387, allocations: 0.5321 MB / 0.827 GB, free: 65.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.388, allocations: 0.6329 MB / 0.8277 GB, free: 64.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/1.388, allocations: 31.75 kB / 0.8277 GB, free: 64.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.388, allocations: 3.938 kB / 0.8277 GB, free: 64.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.388, allocations: 7.969 kB / 0.8277 GB, free: 64.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.408, allocations: 16.73 MB / 0.844 GB, free: 47.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-05/1.408, allocations: 36 kB / 0.8441 GB, free: 47.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/1.409, allocations: 391.2 kB / 0.8444 GB, free: 47.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.147e-05/1.409, allocations: 48.78 kB / 0.8445 GB, free: 47.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/1.409, allocations: 84 kB / 0.8446 GB, free: 47.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-05/1.409, allocations: 79.7 kB / 0.8446 GB, free: 47.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.718e-05/1.409, allocations: 63.73 kB / 0.8447 GB, free: 46.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/1.413, allocations: 3.95 MB / 0.8486 GB, free: 42.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.414, allocations: 0.6111 MB / 0.8492 GB, free: 41.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006074/1.415, allocations: 91.97 kB / 0.8492 GB, free: 41.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.416, allocations: 99.94 kB / 0.8493 GB, free: 41.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/1.417, allocations: 262.6 kB / 0.8496 GB, free: 41.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.417, allocations: 112 kB / 0.8497 GB, free: 41.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005469/1.422, allocations: 3.997 MB / 0.8536 GB, free: 37.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.81e-07/1.422, allocations: 0 / 0.8536 GB, free: 37.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007563/1.43, allocations: 1.357 MB / 0.8549 GB, free: 35.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.004383/1.434, allocations: 4.671 MB / 0.8595 GB, free: 30.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007587/1.442, allocations: 5.487 MB / 0.8648 GB, free: 25.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.497e-05/1.442, allocations: 8.438 kB / 0.8648 GB, free: 25.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/1.443, allocations: 1.129 MB / 0.8659 GB, free: 24.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007037/1.451, allocations: 0.897 MB / 0.8668 GB, free: 23.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3211/1.772, allocations: 83.06 MB / 0.9479 GB, free: 177.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005132/1.777, allocations: 5.23 MB / 0.953 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00559/1.782, allocations: 2.536 MB / 0.9555 GB, free: 175.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/1.786, allocations: 3.404 MB / 0.9588 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of SimCode: time 9.62e-07/1.786, allocations: 0 / 0.9588 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/1.904, allocations: 98.51 MB / 1.055 GB, free: 80.63 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.904, allocations: 198.4 kB / 1.055 GB, free: 80.37 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.039/6.943, allocations: 0 / 1.055 GB, free: 80.37 MB / 0.5607 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches