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.001792/0.001792, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002264/0.002264, allocations: 218.1 kB / 22.99 MB, free: 4.977 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.464/1.464, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2175/0.2175, allocations: 44.26 MB / 330.3 MB, free: 9.305 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.002269/0.002269, allocations: 70.23 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 61.05 MB / 0.5162 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01222/0.136, allocations: 9.277 MB / 0.5252 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006838/0.1429, allocations: 2.859 MB / 0.528 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.1444, allocations: 59.81 kB / 0.5281 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.1484, allocations: 1.951 MB / 0.53 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.1517, allocations: 1.226 MB / 0.5312 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007637/0.1524, allocations: 287.4 kB / 0.5314 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003343/0.1558, allocations: 2.45 MB / 0.5338 GB, free: 5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.1582, allocations: 1.824 MB / 0.5356 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.1595, allocations: 0.9618 MB / 0.5365 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.1614, allocations: 1.285 MB / 0.5378 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004578/0.1618, allocations: 212 kB / 0.538 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.163, allocations: 0.6241 MB / 0.5386 GB, free: 44 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2107/0.3737, allocations: 1.237 MB / 0.5398 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.375, allocations: 1.044 MB / 0.5408 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005779/0.3808, allocations: 4.733 MB / 0.5455 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3808, allocations: 1.953 kB / 0.5455 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3808, allocations: 0 / 0.5455 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001599/0.3809, allocations: 0.8125 kB / 0.5455 GB, free: 11.99 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.007062/0.388, allocations: 3.079 MB / 0.5485 GB, free: 10.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3881, allocations: 10.38 kB / 0.5485 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000801/0.3889, allocations: 0.5129 MB / 0.549 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/0.3945, allocations: 1.626 MB / 0.5506 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.3989, allocations: 1.351 MB / 0.5519 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.3991, allocations: 157.4 kB / 0.552 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007128/0.3998, allocations: 202.1 kB / 0.5522 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.4147, allocations: 6.78 MB / 0.5589 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.4147, allocations: 14.72 kB / 0.5589 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.415, allocations: 92.31 kB / 0.559 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002728/0.4177, allocations: 1.477 MB / 0.5604 GB, free: 7.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.431, allocations: 5.796 MB / 0.5661 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.032/0.463, allocations: 20.36 MB / 0.5859 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/0.4676, allocations: 1.723 MB / 0.5876 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.4687, allocations: 0.7161 MB / 0.5883 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007046/0.4757, allocations: 3.131 MB / 0.5914 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.4757, allocations: 44.12 kB / 0.5914 GB, free: 4.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 4.769e-06/0.4758, allocations: 3.906 kB / 0.5914 GB, free: 4.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.006018/0.4818, allocations: 2.199 MB / 0.5936 GB, free: 2.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.4818, allocations: 62.03 kB / 0.5936 GB, free: 2.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003795/0.4856, allocations: 2.148 MB / 0.5957 GB, free: 0 / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.755e-05/0.4857, allocations: 33.7 kB / 0.5958 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/0.4875, allocations: 2.034 MB / 0.5977 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.4879, allocations: 389.8 kB / 0.5981 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000964/0.4889, allocations: 0.6615 MB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.4891, allocations: 361.9 kB / 0.5991 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.4907, allocations: 0.9627 MB / 0.6001 GB, free: 11.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.4939, allocations: 2.92 MB / 0.6029 GB, free: 7.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005363/0.4993, allocations: 4.25 MB / 0.6071 GB, free: 2.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.192e-05/0.4994, allocations: 20 kB / 0.6071 GB, free: 2.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.0068/0.5062, allocations: 3.797 MB / 0.6108 GB, free: 15.37 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.5062, allocations: 36 kB / 0.6108 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.129e-05/0.5063, allocations: 71.94 kB / 0.6109 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.5064, allocations: 95.94 kB / 0.611 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.5086, allocations: 0.7096 MB / 0.6117 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001178/0.5087, allocations: 135.5 kB / 0.6118 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.5109, allocations: 456.8 kB / 0.6122 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/0.5112, allocations: 203.4 kB / 0.6124 GB, free: 13.68 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.002575/0.5138, allocations: 1.424 MB / 0.6138 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.5142, allocations: 178.8 kB / 0.614 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.5163, allocations: 1.193 MB / 0.6152 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.5163, allocations: 11.94 kB / 0.6152 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5163, allocations: 3.938 kB / 0.6152 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.5163, allocations: 7.984 kB / 0.6152 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009555/0.5259, allocations: 4.836 MB / 0.6199 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/0.5259, allocations: 12 kB / 0.6199 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.5265, allocations: 132.9 kB / 0.62 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/0.5265, allocations: 12 kB / 0.62 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/0.5265, allocations: 30.59 kB / 0.6201 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/0.5266, allocations: 20.48 kB / 0.6201 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.117e-05/0.5266, allocations: 19.94 kB / 0.6201 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.5287, allocations: 1.511 MB / 0.6216 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.5292, allocations: 206.1 kB / 0.6218 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.5294, allocations: 23.94 kB / 0.6218 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.5299, allocations: 43.59 kB / 0.6219 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.5301, allocations: 75.66 kB / 0.6219 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.5301, allocations: 46.59 kB / 0.622 GB, free: 3.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002363/0.5325, allocations: 1.324 MB / 0.6233 GB, free: 2.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5325, allocations: 0 / 0.6233 GB, free: 2.246 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003122/0.5356, allocations: 0.7592 MB / 0.624 GB, free: 1.484 MB / 462.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.002587/0.5382, allocations: 2.132 MB / 0.6261 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003943/0.5422, allocations: 2.163 MB / 0.6282 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.5422, allocations: 4 kB / 0.6282 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008071/0.543, allocations: 0.5105 MB / 0.6287 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.5446, allocations: 253.7 kB / 0.6289 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/0.5789, allocations: 22.63 MB / 0.651 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/0.5816, allocations: 1.847 MB / 0.6528 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00232/0.5839, allocations: 1.012 MB / 0.6538 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/0.5855, allocations: 1.147 MB / 0.655 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.5855, allocations: 0 / 0.655 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07566/0.6612, allocations: 35.39 MB / 0.6895 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.32, allocations: 4.062 kB / 0.6895 GB, free: 11.55 MB / 0.5294 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/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.54385484615341]