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.001607/0.001607, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001928/0.001928, allocations: 211 kB / 24.53 MB, free: 4.07 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2275/0.2275, allocations: 46.93 MB / 361.6 MB, free: 4.16 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 79.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.289, allocations: 66.09 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01147/0.3004, allocations: 9.589 MB / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006217/0.3067, allocations: 2.955 MB / 0.5737 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.308, allocations: 55.81 kB / 0.5738 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.312, allocations: 2.029 MB / 0.5758 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.3148, allocations: 1.133 MB / 0.5769 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007263/0.3156, allocations: 287.4 kB / 0.5772 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.3189, allocations: 2.341 MB / 0.5794 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/0.3212, allocations: 1.734 MB / 0.5811 GB, free: 36 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.3225, allocations: 0.8995 MB / 0.582 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.3243, allocations: 1.25 MB / 0.5832 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003991/0.3247, allocations: 195.9 kB / 0.5834 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.3259, allocations: 0.7294 MB / 0.5841 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.3271, allocations: 1.133 MB / 0.5852 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.3287, allocations: 1.308 MB / 0.5865 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.3335, allocations: 4.33 MB / 0.5908 GB, free: 6.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3335, allocations: 0 / 0.5908 GB, free: 6.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3335, allocations: 4 kB / 0.5908 GB, free: 6.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.625e-05/0.3336, allocations: 0 / 0.5908 GB, free: 6.152 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.005068/0.3386, allocations: 2.862 MB / 0.5936 GB, free: 3.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3387, allocations: 12.03 kB / 0.5936 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.449e-05/0.3388, allocations: 79.88 kB / 0.5936 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006273/0.3394, allocations: 479.1 kB / 0.5941 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.3445, allocations: 1.578 MB / 0.5956 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.3471, allocations: 1.271 MB / 0.5969 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.3472, allocations: 147.6 kB / 0.597 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/0.3477, allocations: 183.9 kB / 0.5972 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.3578, allocations: 6.25 MB / 0.6033 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/0.3579, allocations: 11.88 kB / 0.6033 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/0.3582, allocations: 91.91 kB / 0.6034 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002169/0.3604, allocations: 1.344 MB / 0.6047 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.371, allocations: 5.334 MB / 0.6099 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02961/0.4006, allocations: 19.96 MB / 0.6294 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.4048, allocations: 1.552 MB / 0.6309 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000993/0.4058, allocations: 0.639 MB / 0.6315 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006112/0.4119, allocations: 3.027 MB / 0.6345 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4119, allocations: 39 kB / 0.6345 GB, free: 8.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.166e-06/0.4119, allocations: 0 / 0.6345 GB, free: 8.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005492/0.4174, allocations: 1.986 MB / 0.6365 GB, free: 6.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4174, allocations: 59.84 kB / 0.6365 GB, free: 6.227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.4201, allocations: 1.946 MB / 0.6384 GB, free: 4.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/0.4202, allocations: 29.7 kB / 0.6385 GB, free: 4.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.4217, allocations: 1.911 MB / 0.6403 GB, free: 2.309 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003995/0.4221, allocations: 333.5 kB / 0.6407 GB, free: 1.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008641/0.423, allocations: 0.6156 MB / 0.6413 GB, free: 1.355 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.4232, allocations: 361.9 kB / 0.6416 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.4246, allocations: 0.8842 MB / 0.6425 GB, free: 112 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.4275, allocations: 2.747 MB / 0.6451 GB, free: 12.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/0.4323, allocations: 3.98 MB / 0.649 GB, free: 7.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-05/0.4324, allocations: 16 kB / 0.649 GB, free: 7.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006419/0.4388, allocations: 3.535 MB / 0.6525 GB, free: 3.969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/0.4389, allocations: 32 kB / 0.6525 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.968e-05/0.439, allocations: 64 kB / 0.6526 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.515e-05/0.439, allocations: 88 kB / 0.6527 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.4411, allocations: 0.6589 MB / 0.6533 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001086/0.4412, allocations: 123.5 kB / 0.6534 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.4433, allocations: 433 kB / 0.6538 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/0.4436, allocations: 195.9 kB / 0.654 GB, free: 2.391 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.001999/0.4456, allocations: 1.342 MB / 0.6553 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.4459, allocations: 162.9 kB / 0.6555 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.4463, allocations: 200.9 kB / 0.6557 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.4463, allocations: 8 kB / 0.6557 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4463, allocations: 0 / 0.6557 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.4463, allocations: 11.92 kB / 0.6557 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007067/0.4534, allocations: 4.037 MB / 0.6597 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4534, allocations: 4 kB / 0.6597 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.4538, allocations: 96.58 kB / 0.6597 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.4538, allocations: 15.92 kB / 0.6598 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.4539, allocations: 28 kB / 0.6598 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.4539, allocations: 8 kB / 0.6598 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.4539, allocations: 11.94 kB / 0.6598 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.4555, allocations: 1.247 MB / 0.661 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.4558, allocations: 174.6 kB / 0.6612 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.456, allocations: 23.94 kB / 0.6612 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.4565, allocations: 27.97 kB / 0.6612 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-05/0.4566, allocations: 51.81 kB / 0.6613 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.4566, allocations: 35.92 kB / 0.6613 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001876/0.4585, allocations: 1.263 MB / 0.6626 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4585, allocations: 0 / 0.6626 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002493/0.461, allocations: 0.6929 MB / 0.6632 GB, free: 8.73 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.002124/0.4631, allocations: 1.849 MB / 0.665 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003231/0.4664, allocations: 1.964 MB / 0.667 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.4664, allocations: 0 / 0.667 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006436/0.467, allocations: 441.5 kB / 0.6674 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.4684, allocations: 228.9 kB / 0.6676 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/0.5002, allocations: 20.88 MB / 0.688 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002796/0.503, allocations: 2.267 MB / 0.6902 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002149/0.5051, allocations: 0.948 MB / 0.6911 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/0.5067, allocations: 1.038 MB / 0.6921 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.5067, allocations: 0 / 0.6921 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06967/0.5764, allocations: 35.27 MB / 0.7266 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.47, allocations: 7.344 kB / 0.7266 GB, free: 5.344 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.13069005997386]