Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002363/0.002363, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 46.94 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 83.86 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3218, allocations: 66.08 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01203/0.3338, allocations: 9.596 MB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006359/0.3402, allocations: 2.959 MB / 0.573 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.3415, allocations: 55.81 kB / 0.573 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004327/0.3458, allocations: 2.021 MB / 0.575 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003022/0.3489, allocations: 1.144 MB / 0.5761 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/0.3498, allocations: 283.5 kB / 0.5764 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003685/0.3535, allocations: 2.333 MB / 0.5787 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.3561, allocations: 1.742 MB / 0.5804 GB, free: 76 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.3578, allocations: 0.8995 MB / 0.5813 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.3602, allocations: 1.25 MB / 0.5825 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006591/0.3609, allocations: 192 kB / 0.5827 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.3627, allocations: 0.7294 MB / 0.5834 GB, free: 13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.3642, allocations: 1.137 MB / 0.5845 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.3663, allocations: 1.305 MB / 0.5858 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005829/0.3722, allocations: 4.334 MB / 0.59 GB, free: 6.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3722, allocations: 4 kB / 0.59 GB, free: 6.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3722, allocations: 0 / 0.59 GB, free: 6.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001477/0.3723, allocations: 3.938 kB / 0.59 GB, free: 6.188 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00679/0.3791, allocations: 2.866 MB / 0.5928 GB, free: 3.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3792, allocations: 8.031 kB / 0.5928 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001073/0.3802, allocations: 479.1 kB / 0.5933 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00537/0.3856, allocations: 1.578 MB / 0.5948 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/0.3893, allocations: 1.271 MB / 0.596 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.3894, allocations: 151.7 kB / 0.5962 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007469/0.3902, allocations: 187.9 kB / 0.5964 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.4019, allocations: 6.246 MB / 0.6025 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.409e-05/0.402, allocations: 15.88 kB / 0.6025 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/0.4023, allocations: 83.91 kB / 0.6026 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/0.4045, allocations: 1.344 MB / 0.6039 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.4151, allocations: 5.338 MB / 0.6091 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02965/0.4447, allocations: 19.96 MB / 0.6286 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.4492, allocations: 1.552 MB / 0.6301 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.4502, allocations: 0.6351 MB / 0.6307 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006899/0.4571, allocations: 3.039 MB / 0.6337 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.4572, allocations: 35 kB / 0.6337 GB, free: 8.398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.848e-06/0.4572, allocations: 0 / 0.6337 GB, free: 8.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005752/0.4629, allocations: 1.99 MB / 0.6357 GB, free: 6.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.463, allocations: 55.84 kB / 0.6357 GB, free: 6.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.4662, allocations: 1.942 MB / 0.6376 GB, free: 4.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.4663, allocations: 33.7 kB / 0.6376 GB, free: 4.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.4679, allocations: 1.907 MB / 0.6395 GB, free: 2.418 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/0.4683, allocations: 329.5 kB / 0.6398 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.4694, allocations: 0.6273 MB / 0.6404 GB, free: 1.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.4696, allocations: 357.9 kB / 0.6408 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.4712, allocations: 0.8881 MB / 0.6416 GB, free: 216 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/0.4745, allocations: 2.751 MB / 0.6443 GB, free: 12.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005107/0.4796, allocations: 3.962 MB / 0.6482 GB, free: 7.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-05/0.4797, allocations: 16 kB / 0.6482 GB, free: 7.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006688/0.4864, allocations: 3.537 MB / 0.6517 GB, free: 4.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.4864, allocations: 32 kB / 0.6517 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.842e-05/0.4865, allocations: 68 kB / 0.6518 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.572e-05/0.4866, allocations: 84 kB / 0.6518 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.4887, allocations: 0.6589 MB / 0.6525 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001219/0.4889, allocations: 132 kB / 0.6526 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.4909, allocations: 428.9 kB / 0.653 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003911/0.4913, allocations: 191.9 kB / 0.6532 GB, free: 2.504 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002394/0.4937, allocations: 1.342 MB / 0.6545 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.494, allocations: 162.9 kB / 0.6547 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.4945, allocations: 204.9 kB / 0.6549 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/0.4945, allocations: 12 kB / 0.6549 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4945, allocations: 3.938 kB / 0.6549 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4945, allocations: 3.984 kB / 0.6549 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008451/0.503, allocations: 4.041 MB / 0.6588 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.503, allocations: 8.125 kB / 0.6588 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.5034, allocations: 99.83 kB / 0.6589 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.5034, allocations: 8 kB / 0.6589 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.5035, allocations: 27.91 kB / 0.659 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.5035, allocations: 11.94 kB / 0.659 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.5035, allocations: 8 kB / 0.659 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.5052, allocations: 1.243 MB / 0.6602 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.5056, allocations: 174.6 kB / 0.6604 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.5058, allocations: 23.94 kB / 0.6604 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.5063, allocations: 27.97 kB / 0.6604 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5064, allocations: 51.81 kB / 0.6605 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.5065, allocations: 28 kB / 0.6605 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002114/0.5086, allocations: 1.271 MB / 0.6617 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5086, allocations: 0 / 0.6617 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002751/0.5113, allocations: 0.6929 MB / 0.6624 GB, free: 8.84 MB / 0.4981 GB 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.002269/0.5136, allocations: 1.845 MB / 0.6642 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003279/0.5169, allocations: 1.971 MB / 0.6661 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.5169, allocations: 0 / 0.6661 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006445/0.5175, allocations: 430.7 kB / 0.6665 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.5189, allocations: 241.2 kB / 0.6668 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/0.5522, allocations: 20.88 MB / 0.6872 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/0.5549, allocations: 2.271 MB / 0.6894 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002157/0.557, allocations: 0.9596 MB / 0.6903 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.5584, allocations: 1.03 MB / 0.6913 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.5584, allocations: 0 / 0.6913 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07768/0.6361, allocations: 35.22 MB / 0.7257 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.56, allocations: 6.125 kB / 0.7257 GB, free: 5.484 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForce.force[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.899584661005065]