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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 122.2 kB / 17.84 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 211.8 kB / 20.8 MB, free: 2.258 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.408/1.408, allocations: 207.6 MB / 231.2 MB, free: 4.129 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.3187/0.3187, allocations: 44.23 MB / 327.3 MB, free: 6.719 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003617/0.003617, allocations: 63.91 kB / 462.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2675, allocations: 61 MB / 0.5116 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008811/0.2763, allocations: 10.6 MB / 0.522 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005225/0.2815, allocations: 3.019 MB / 0.5249 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.2829, allocations: 59.81 kB / 0.525 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003572/0.2865, allocations: 2.029 MB / 0.527 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.2896, allocations: 1.218 MB / 0.5282 GB, free: 14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008093/0.2905, allocations: 287.4 kB / 0.5284 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.2941, allocations: 2.45 MB / 0.5308 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.2971, allocations: 1.976 MB / 0.5328 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.2987, allocations: 0.9695 MB / 0.5337 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.3009, allocations: 1.367 MB / 0.535 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006069/0.3015, allocations: 216 kB / 0.5352 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.3032, allocations: 0.7255 MB / 0.5359 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.3048, allocations: 1.246 MB / 0.5372 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.3066, allocations: 1.433 MB / 0.5386 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005635/0.3123, allocations: 4.727 MB / 0.5432 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3123, allocations: 0 / 0.5432 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3123, allocations: 0 / 0.5432 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001035/0.3124, allocations: 3.938 kB / 0.5432 GB, free: 14.52 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.006275/0.3186, allocations: 3.157 MB / 0.5463 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.3187, allocations: 11.89 kB / 0.5463 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001136/0.3188, allocations: 68.2 kB / 0.5463 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007973/0.3196, allocations: 0.513 MB / 0.5468 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005824/0.3254, allocations: 1.625 MB / 0.5484 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.3283, allocations: 1.41 MB / 0.5498 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3284, allocations: 159.8 kB / 0.55 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004348/0.3288, allocations: 199.9 kB / 0.5502 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.3399, allocations: 6.781 MB / 0.5568 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.3399, allocations: 15.81 kB / 0.5568 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/0.3402, allocations: 91.89 kB / 0.5569 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002509/0.3427, allocations: 1.478 MB / 0.5583 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.3541, allocations: 5.806 MB / 0.564 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/0.3846, allocations: 21.49 MB / 0.585 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00507/0.3897, allocations: 2.171 MB / 0.5871 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.3909, allocations: 0.723 MB / 0.5878 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00696/0.3979, allocations: 3.755 MB / 0.5915 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.3979, allocations: 39.12 kB / 0.5915 GB, free: 11.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.296e-06/0.3979, allocations: 0 / 0.5915 GB, free: 11.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.006238/0.4041, allocations: 2.198 MB / 0.5937 GB, free: 9.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.4042, allocations: 59.97 kB / 0.5937 GB, free: 9.387 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.4071, allocations: 2.028 MB / 0.5957 GB, free: 7.359 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.4072, allocations: 41.7 kB / 0.5957 GB, free: 7.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.4088, allocations: 2.04 MB / 0.5977 GB, free: 5.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.4091, allocations: 377.1 kB / 0.5981 GB, free: 4.879 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008828/0.41, allocations: 0.6632 MB / 0.5987 GB, free: 4.207 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4102, allocations: 361.9 kB / 0.5991 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4118, allocations: 0.9666 MB / 0.6 GB, free: 2.879 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/0.415, allocations: 2.914 MB / 0.6029 GB, free: 14.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005211/0.4202, allocations: 4.248 MB / 0.607 GB, free: 9.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.192e-05/0.4202, allocations: 20 kB / 0.607 GB, free: 9.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006341/0.4266, allocations: 3.797 MB / 0.6107 GB, free: 5.961 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.128e-05/0.4266, allocations: 43.92 kB / 0.6108 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.499e-05/0.4267, allocations: 71.94 kB / 0.6108 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.4268, allocations: 92 kB / 0.6109 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.429, allocations: 0.7096 MB / 0.6116 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/0.4291, allocations: 143.4 kB / 0.6118 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.4311, allocations: 457.1 kB / 0.6122 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.4313, allocations: 200 kB / 0.6124 GB, free: 4.262 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.00209/0.4334, allocations: 1.42 MB / 0.6138 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.4337, allocations: 178.7 kB / 0.6139 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.4358, allocations: 1.204 MB / 0.6151 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.4358, allocations: 8 kB / 0.6151 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4358, allocations: 0 / 0.6151 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4358, allocations: 3.984 kB / 0.6151 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/0.4441, allocations: 4.979 MB / 0.62 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.4442, allocations: 12.88 kB / 0.62 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.4447, allocations: 131.7 kB / 0.6201 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/0.4447, allocations: 20 kB / 0.6202 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.4448, allocations: 24 kB / 0.6202 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.821e-05/0.4448, allocations: 23.92 kB / 0.6202 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.4448, allocations: 11.94 kB / 0.6202 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.4469, allocations: 1.514 MB / 0.6217 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.4473, allocations: 283.5 kB / 0.622 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.4475, allocations: 23.98 kB / 0.622 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.4481, allocations: 35.97 kB / 0.622 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4483, allocations: 71.69 kB / 0.6221 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/0.4483, allocations: 39.94 kB / 0.6221 GB, free: 9.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001947/0.4503, allocations: 1.332 MB / 0.6234 GB, free: 8.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4503, allocations: 0 / 0.6234 GB, free: 8.566 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00265/0.4529, allocations: 0.7553 MB / 0.6242 GB, free: 7.809 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.002667/0.4556, allocations: 2.15 MB / 0.6263 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.4594, allocations: 2.153 MB / 0.6284 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.4594, allocations: 0 / 0.6284 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.4602, allocations: 0.5143 MB / 0.6289 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.4616, allocations: 250.1 kB / 0.6291 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.245/0.7067, allocations: 22.62 MB / 0.6512 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002845/0.7095, allocations: 2.401 MB / 0.6535 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002437/0.712, allocations: 1.016 MB / 0.6545 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.7132, allocations: 1.139 MB / 0.6556 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.7132, allocations: 0 / 0.6556 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0501/0.7633, allocations: 35.31 MB / 0.6901 GB, free: 87.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.65, allocations: 11.95 kB / 0.6901 GB, free: 87.22 MB / 0.4981 GB " [Timeout remaining time 646] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 16.9825814270298]