Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 113.8 kB / 17.12 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 192.6 kB / 20.07 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.6 MB / 230.5 MB, free: 4.066 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3057/0.3057, allocations: 44.23 MB / 326.5 MB, free: 6.848 MB / 254.1 MB " [Timeout remaining time 180] 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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002193/0.002193, allocations: 71.89 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2492, allocations: 60.99 MB / 0.5109 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.00924/0.2584, allocations: 10.6 MB / 0.5212 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005381/0.2638, allocations: 3.014 MB / 0.5242 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.2651, allocations: 51.94 kB / 0.5242 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.2682, allocations: 2.04 MB / 0.5262 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.2708, allocations: 1.214 MB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.2715, allocations: 287.4 kB / 0.5277 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.2745, allocations: 2.444 MB / 0.5301 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.2769, allocations: 1.981 MB / 0.532 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.2782, allocations: 0.9461 MB / 0.5329 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.2799, allocations: 1.378 MB / 0.5343 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004108/0.2803, allocations: 216 kB / 0.5345 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.2816, allocations: 0.7216 MB / 0.5352 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.283, allocations: 1.239 MB / 0.5364 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.2848, allocations: 1.433 MB / 0.5378 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006051/0.2908, allocations: 4.73 MB / 0.5424 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2908, allocations: 0 / 0.5424 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2908, allocations: 0 / 0.5424 GB, free: 14.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.291, allocations: 4 kB / 0.5424 GB, free: 14.58 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.006639/0.2976, allocations: 3.153 MB / 0.5455 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.2977, allocations: 23.77 kB / 0.5455 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000998/0.2987, allocations: 0.5052 MB / 0.546 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005646/0.3043, allocations: 1.633 MB / 0.5476 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.3081, allocations: 1.403 MB / 0.549 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.3082, allocations: 160 kB / 0.5491 GB, free: 7.574 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005554/0.3088, allocations: 199.9 kB / 0.5493 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.3202, allocations: 6.784 MB / 0.556 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/0.3203, allocations: 11.88 kB / 0.556 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002797/0.3205, allocations: 91.89 kB / 0.5561 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/0.3229, allocations: 1.478 MB / 0.5575 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.3343, allocations: 5.814 MB / 0.5632 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/0.3672, allocations: 21.49 MB / 0.5842 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004799/0.372, allocations: 2.163 MB / 0.5863 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.3733, allocations: 0.7191 MB / 0.587 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007968/0.3812, allocations: 3.763 MB / 0.5906 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.3813, allocations: 39.12 kB / 0.5907 GB, free: 11.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.456e-06/0.3813, allocations: 0 / 0.5907 GB, free: 11.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.00581/0.3871, allocations: 2.202 MB / 0.5928 GB, free: 9.598 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.3871, allocations: 59.97 kB / 0.5929 GB, free: 9.523 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.3902, allocations: 2.024 MB / 0.5949 GB, free: 7.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/0.3902, allocations: 37.69 kB / 0.5949 GB, free: 7.457 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001616/0.3919, allocations: 2.04 MB / 0.5969 GB, free: 5.395 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.3923, allocations: 385.1 kB / 0.5973 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008672/0.3931, allocations: 0.6671 MB / 0.5979 GB, free: 4.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.3934, allocations: 361.9 kB / 0.5983 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.3949, allocations: 0.9627 MB / 0.5992 GB, free: 3.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003196/0.3981, allocations: 2.918 MB / 0.6021 GB, free: 15.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/0.4034, allocations: 4.236 MB / 0.6062 GB, free: 9.926 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/0.4035, allocations: 20 kB / 0.6062 GB, free: 9.906 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.00687/0.4103, allocations: 3.805 MB / 0.6099 GB, free: 6.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.4104, allocations: 36 kB / 0.61 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.378e-05/0.4105, allocations: 71.94 kB / 0.61 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001095/0.4106, allocations: 92 kB / 0.6101 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.4127, allocations: 0.7096 MB / 0.6108 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001224/0.4128, allocations: 143.4 kB / 0.6109 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.4148, allocations: 460.7 kB / 0.6114 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/0.4151, allocations: 200 kB / 0.6116 GB, free: 4.402 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.0021/0.4172, allocations: 1.42 MB / 0.613 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.4174, allocations: 178.8 kB / 0.6131 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.4195, allocations: 1.193 MB / 0.6143 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.4195, allocations: 12 kB / 0.6143 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4195, allocations: 0 / 0.6143 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4195, allocations: 3.984 kB / 0.6143 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009981/0.4295, allocations: 4.987 MB / 0.6192 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.4295, allocations: 8 kB / 0.6192 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.4301, allocations: 135.7 kB / 0.6193 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.432e-05/0.4301, allocations: 19.92 kB / 0.6193 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/0.4302, allocations: 24 kB / 0.6194 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.857e-05/0.4302, allocations: 16.5 kB / 0.6194 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/0.4302, allocations: 15.94 kB / 0.6194 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.4323, allocations: 1.51 MB / 0.6209 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.4328, allocations: 283.5 kB / 0.6211 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/0.433, allocations: 27.98 kB / 0.6212 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/0.4337, allocations: 35.97 kB / 0.6212 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.4338, allocations: 75.69 kB / 0.6213 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.4339, allocations: 39.98 kB / 0.6213 GB, free: 10.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002116/0.436, allocations: 1.324 MB / 0.6226 GB, free: 8.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.436, allocations: 0 / 0.6226 GB, free: 8.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00267/0.4387, allocations: 0.763 MB / 0.6233 GB, free: 7.949 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.002746/0.4414, allocations: 2.142 MB / 0.6254 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003568/0.445, allocations: 2.161 MB / 0.6275 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.445, allocations: 0 / 0.6275 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007576/0.4457, allocations: 0.4987 MB / 0.628 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4471, allocations: 254.7 kB / 0.6283 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.232/0.6791, allocations: 22.62 MB / 0.6504 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/0.6819, allocations: 2.414 MB / 0.6527 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002458/0.6843, allocations: 1.014 MB / 0.6537 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.6856, allocations: 1.136 MB / 0.6548 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.773e-06/0.6856, allocations: 0 / 0.6548 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/0.7448, allocations: 35.27 MB / 0.6893 GB, free: 87.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.6, allocations: 4.062 kB / 0.6893 GB, free: 87.52 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.556563419755548]