Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001267/0.001267, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001446/0.001446, allocations: 202.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.233/0.233, allocations: 46.96 MB / 360.9 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.88 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 66.05 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01107/0.3442, allocations: 8.402 MB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006253/0.3504, allocations: 2.784 MB / 0.5715 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009691/0.3514, allocations: 51.88 kB / 0.5716 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.3553, allocations: 1.935 MB / 0.5735 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.3581, allocations: 1.14 MB / 0.5746 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.3589, allocations: 295.4 kB / 0.5748 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.3622, allocations: 2.325 MB / 0.5771 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.3645, allocations: 1.746 MB / 0.5788 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.3657, allocations: 0.8879 MB / 0.5797 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.3674, allocations: 1.254 MB / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003858/0.3678, allocations: 192 kB / 0.5811 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.369, allocations: 0.6201 MB / 0.5817 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.3701, allocations: 1.133 MB / 0.5828 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.3712, allocations: 0.9471 MB / 0.5837 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005039/0.3763, allocations: 4.346 MB / 0.588 GB, free: 8.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3763, allocations: 0 / 0.588 GB, free: 8.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3763, allocations: 0 / 0.588 GB, free: 8.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.577e-05/0.3764, allocations: 0 / 0.588 GB, free: 8.051 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.005042/0.3814, allocations: 2.866 MB / 0.5908 GB, free: 5.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3815, allocations: 8.031 kB / 0.5908 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005896/0.382, allocations: 491 kB / 0.5913 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/0.387, allocations: 1.574 MB / 0.5928 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.3903, allocations: 1.279 MB / 0.594 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.3904, allocations: 147.8 kB / 0.5942 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000408/0.3908, allocations: 187.9 kB / 0.5944 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.4009, allocations: 6.25 MB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.4009, allocations: 15.86 kB / 0.6005 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.4011, allocations: 87.91 kB / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002132/0.4033, allocations: 1.344 MB / 0.6019 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.4134, allocations: 5.318 MB / 0.6071 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02932/0.4427, allocations: 19.02 MB / 0.6256 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/0.447, allocations: 1.553 MB / 0.6272 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009882/0.448, allocations: 0.6432 MB / 0.6278 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006531/0.4545, allocations: 2.899 MB / 0.6306 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.4546, allocations: 39 kB / 0.6307 GB, free: 11.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.4546, allocations: 0 / 0.6307 GB, free: 11.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005511/0.4601, allocations: 1.982 MB / 0.6326 GB, free: 9.344 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.4601, allocations: 55.84 kB / 0.6326 GB, free: 9.277 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.4629, allocations: 2.05 MB / 0.6346 GB, free: 7.223 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.463, allocations: 41.69 kB / 0.6347 GB, free: 7.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.4644, allocations: 1.907 MB / 0.6365 GB, free: 5.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.4647, allocations: 333.5 kB / 0.6369 GB, free: 4.918 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000785/0.4655, allocations: 0.6156 MB / 0.6375 GB, free: 4.293 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4657, allocations: 361.9 kB / 0.6378 GB, free: 3.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.467, allocations: 0.8881 MB / 0.6387 GB, free: 3.043 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/0.4699, allocations: 2.747 MB / 0.6414 GB, free: 15.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004826/0.4747, allocations: 3.966 MB / 0.6452 GB, free: 10.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.128e-05/0.4748, allocations: 20 kB / 0.6453 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006089/0.4809, allocations: 3.535 MB / 0.6487 GB, free: 6.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.4809, allocations: 40 kB / 0.6487 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-05/0.481, allocations: 64 kB / 0.6488 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001063/0.4811, allocations: 88 kB / 0.6489 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.4831, allocations: 0.6589 MB / 0.6495 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001074/0.4832, allocations: 131.5 kB / 0.6497 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.4851, allocations: 420.9 kB / 0.6501 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/0.4853, allocations: 195.9 kB / 0.6502 GB, free: 5.332 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.002045/0.4874, allocations: 1.342 MB / 0.6516 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.4876, allocations: 166.8 kB / 0.6517 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.488, allocations: 196.9 kB / 0.6519 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.488, allocations: 8 kB / 0.6519 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.488, allocations: 0 / 0.6519 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.488, allocations: 3.984 kB / 0.6519 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006992/0.495, allocations: 3.959 MB / 0.6558 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.495, allocations: 12 kB / 0.6558 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.4954, allocations: 99.81 kB / 0.6559 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.4954, allocations: 8 kB / 0.6559 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.4955, allocations: 23.94 kB / 0.6559 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/0.4955, allocations: 15.92 kB / 0.6559 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4955, allocations: 4 kB / 0.6559 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.4971, allocations: 1.247 MB / 0.6572 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.4975, allocations: 174.6 kB / 0.6573 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.4976, allocations: 31.91 kB / 0.6573 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.4981, allocations: 27.94 kB / 0.6574 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4982, allocations: 51.8 kB / 0.6574 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.4983, allocations: 28 kB / 0.6575 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001906/0.5002, allocations: 1.271 MB / 0.6587 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5002, allocations: 0 / 0.6587 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003175/0.5034, allocations: 0.6813 MB / 0.6594 GB, free: 11.76 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.002571/0.5059, allocations: 1.86 MB / 0.6612 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003595/0.5095, allocations: 1.96 MB / 0.6631 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/0.5095, allocations: 4 kB / 0.6631 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006735/0.5102, allocations: 428.2 kB / 0.6635 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.5118, allocations: 227.5 kB / 0.6637 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/0.5422, allocations: 20.88 MB / 0.6841 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.5445, allocations: 1.704 MB / 0.6858 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002092/0.5466, allocations: 0.9519 MB / 0.6867 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/0.548, allocations: 1.03 MB / 0.6877 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.548, allocations: 0 / 0.6877 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0778/0.6258, allocations: 34.22 MB / 0.7211 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.95, allocations: 6.875 kB / 0.7211 GB, free: 10.23 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.387419406004483]