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.002343/0.002343, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.001632/0.001632, allocations: 219.1 kB / 23.01 MB, free: 5.062 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.462/1.462, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.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.2216/0.2216, allocations: 44.23 MB / 330.3 MB, free: 9.531 MB / 270.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="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.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.002342/0.002342, allocations: 71.89 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1204, allocations: 61.04 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01367/0.1341, allocations: 10.63 MB / 0.5265 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007313/0.1414, allocations: 3.022 MB / 0.5295 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.1427, allocations: 59.81 kB / 0.5295 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003947/0.1467, allocations: 2.04 MB / 0.5315 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.1495, allocations: 1.226 MB / 0.5327 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.1502, allocations: 287.4 kB / 0.533 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003272/0.1535, allocations: 2.45 MB / 0.5354 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.1557, allocations: 1.832 MB / 0.5372 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.157, allocations: 0.9617 MB / 0.5381 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2069/0.3639, allocations: 1.365 MB / 0.5394 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.3645, allocations: 214.8 kB / 0.5397 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.3658, allocations: 0.726 MB / 0.5404 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.3669, allocations: 1.247 MB / 0.5416 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.3683, allocations: 1.429 MB / 0.543 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.3736, allocations: 4.727 MB / 0.5476 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3736, allocations: 2.406 kB / 0.5476 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3736, allocations: 2.047 kB / 0.5476 GB, free: 10.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001229/0.3737, allocations: 0 / 0.5476 GB, free: 10.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.006533/0.3803, allocations: 3.077 MB / 0.5506 GB, free: 9.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3803, allocations: 9.344 kB / 0.5506 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007966/0.3811, allocations: 0.5096 MB / 0.5511 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/0.3864, allocations: 1.631 MB / 0.5527 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.3893, allocations: 1.343 MB / 0.554 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.3894, allocations: 154.4 kB / 0.5542 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004818/0.3899, allocations: 207.1 kB / 0.5544 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.4004, allocations: 6.78 MB / 0.561 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.395e-05/0.4005, allocations: 13.66 kB / 0.561 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.4007, allocations: 96.39 kB / 0.5611 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001957/0.4027, allocations: 1.472 MB / 0.5625 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.4127, allocations: 5.806 MB / 0.5682 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03097/0.4437, allocations: 21.39 MB / 0.5891 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004169/0.4478, allocations: 1.718 MB / 0.5908 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.4489, allocations: 0.721 MB / 0.5915 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006809/0.4557, allocations: 3.291 MB / 0.5947 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.4557, allocations: 46.77 kB / 0.5947 GB, free: 15.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 3.247e-06/0.4557, allocations: 4 kB / 0.5947 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.005907/0.4616, allocations: 2.198 MB / 0.5969 GB, free: 13.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4617, allocations: 60.06 kB / 0.5969 GB, free: 13.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.4654, allocations: 2.028 MB / 0.5989 GB, free: 11.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.4655, allocations: 37.7 kB / 0.5989 GB, free: 11.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.4673, allocations: 2.045 MB / 0.6009 GB, free: 9.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004987/0.4678, allocations: 377.8 kB / 0.6013 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009957/0.4688, allocations: 0.6701 MB / 0.602 GB, free: 8.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.469, allocations: 353.9 kB / 0.6023 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.4709, allocations: 0.9704 MB / 0.6032 GB, free: 6.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/0.4744, allocations: 2.921 MB / 0.6061 GB, free: 2.875 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005476/0.4798, allocations: 4.245 MB / 0.6102 GB, free: 13.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-05/0.4799, allocations: 20 kB / 0.6103 GB, free: 13.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006148/0.486, allocations: 3.79 MB / 0.614 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.4861, allocations: 36 kB / 0.614 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.028e-05/0.4862, allocations: 68 kB / 0.6141 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.904e-05/0.4863, allocations: 95.94 kB / 0.6141 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.4884, allocations: 0.715 MB / 0.6148 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001191/0.4885, allocations: 135.5 kB / 0.615 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.4906, allocations: 455.9 kB / 0.6154 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/0.4909, allocations: 199.1 kB / 0.6156 GB, free: 8.906 MB / 462.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.002508/0.4934, allocations: 1.428 MB / 0.617 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002747/0.4936, allocations: 174.8 kB / 0.6172 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.4957, allocations: 1.201 MB / 0.6183 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/0.4957, allocations: 11.94 kB / 0.6183 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4957, allocations: 0 / 0.6183 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.4957, allocations: 3.984 kB / 0.6183 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009093/0.5048, allocations: 4.949 MB / 0.6232 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.5048, allocations: 8 kB / 0.6232 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.5054, allocations: 137.7 kB / 0.6233 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.5054, allocations: 12 kB / 0.6233 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.5055, allocations: 31.94 kB / 0.6234 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.5055, allocations: 19.92 kB / 0.6234 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/0.5055, allocations: 15.94 kB / 0.6234 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.5075, allocations: 1.516 MB / 0.6249 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.508, allocations: 202.5 kB / 0.6251 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.5082, allocations: 30.59 kB / 0.6251 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.5087, allocations: 39.59 kB / 0.6251 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.5089, allocations: 81.75 kB / 0.6252 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.5089, allocations: 40 kB / 0.6253 GB, free: 14.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.511, allocations: 1.324 MB / 0.6265 GB, free: 13.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.511, allocations: 0 / 0.6265 GB, free: 13.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00274/0.5137, allocations: 0.769 MB / 0.6273 GB, free: 12.59 MB / 478.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.002538/0.5163, allocations: 2.124 MB / 0.6294 GB, free: 10.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00377/0.5201, allocations: 2.17 MB / 0.6315 GB, free: 8.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.5201, allocations: 4 kB / 0.6315 GB, free: 8.176 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007944/0.5209, allocations: 0.5063 MB / 0.632 GB, free: 7.672 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5224, allocations: 252.5 kB / 0.6322 GB, free: 7.434 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/0.5573, allocations: 22.63 MB / 0.6543 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/0.5604, allocations: 2.405 MB / 0.6567 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002392/0.5628, allocations: 1.017 MB / 0.6577 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/0.5645, allocations: 1.14 MB / 0.6588 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.5645, allocations: 0 / 0.6588 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0823/0.6468, allocations: 37.91 MB / 0.6958 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.33, allocations: 3.938 kB / 0.6958 GB, free: 3.555 MB / 0.5294 GB " [Timeout remaining time 644] (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: 19.468108156928793]