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.001715/0.001715, allocations: 93.98 kB / 20.48 MB, free: 1.395 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.00166/0.00166, allocations: 218 kB / 23.78 MB, free: 4.551 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.508/1.508, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.2207/0.2207, allocations: 44.26 MB / 331.1 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 179] 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.002285/0.002285, allocations: 67.91 kB / 468.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1311, allocations: 61.04 MB / 0.5169 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01202/0.1431, allocations: 9.233 MB / 0.5259 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006521/0.1496, allocations: 2.847 MB / 0.5287 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1509, allocations: 59.81 kB / 0.5288 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00415/0.1551, allocations: 1.939 MB / 0.5306 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.1583, allocations: 1.226 MB / 0.5318 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.1592, allocations: 299.4 kB / 0.5321 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003612/0.1628, allocations: 2.446 MB / 0.5345 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.1655, allocations: 1.824 MB / 0.5363 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.1674, allocations: 0.9579 MB / 0.5372 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.1696, allocations: 1.375 MB / 0.5386 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.1701, allocations: 212 kB / 0.5388 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.1714, allocations: 0.628 MB / 0.5394 GB, free: 40 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2656/0.4371, allocations: 1.239 MB / 0.5406 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001887/0.4389, allocations: 1.039 MB / 0.5416 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007417/0.4464, allocations: 4.741 MB / 0.5462 GB, free: 12.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4464, allocations: 0 / 0.5462 GB, free: 12.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4464, allocations: 2.781 kB / 0.5463 GB, free: 12.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001885/0.4466, allocations: 0 / 0.5463 GB, free: 12.01 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.008644/0.4552, allocations: 3.076 MB / 0.5493 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4552, allocations: 12.69 kB / 0.5493 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001389/0.4554, allocations: 70.61 kB / 0.5493 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001149/0.4565, allocations: 0.5087 MB / 0.5498 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006111/0.4626, allocations: 1.63 MB / 0.5514 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/0.4673, allocations: 1.353 MB / 0.5527 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.4675, allocations: 152.8 kB / 0.5529 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007697/0.4682, allocations: 203.5 kB / 0.5531 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.483, allocations: 6.782 MB / 0.5597 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.435e-05/0.4831, allocations: 16.16 kB / 0.5597 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003959/0.4835, allocations: 95.7 kB / 0.5598 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002488/0.486, allocations: 1.481 MB / 0.5613 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.4988, allocations: 5.804 MB / 0.5669 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03709/0.5358, allocations: 20.36 MB / 0.5868 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005155/0.541, allocations: 1.726 MB / 0.5885 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.5428, allocations: 0.7178 MB / 0.5892 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008937/0.5517, allocations: 3.123 MB / 0.5922 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.5518, allocations: 42.41 kB / 0.5923 GB, free: 4.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 4.699e-06/0.5518, allocations: 0.75 kB / 0.5923 GB, free: 4.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.006777/0.5586, allocations: 2.202 MB / 0.5944 GB, free: 2.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.5586, allocations: 60.06 kB / 0.5945 GB, free: 2.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.5628, allocations: 2.032 MB / 0.5965 GB, free: 84 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.5629, allocations: 39.03 kB / 0.5965 GB, free: 40 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.5648, allocations: 2.035 MB / 0.5985 GB, free: 14.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005831/0.5654, allocations: 384.2 kB / 0.5989 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.5667, allocations: 0.6631 MB / 0.5995 GB, free: 12.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.5669, allocations: 362.5 kB / 0.5999 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.569, allocations: 0.9702 MB / 0.6008 GB, free: 11.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/0.5729, allocations: 2.926 MB / 0.6037 GB, free: 7.777 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005925/0.5788, allocations: 4.238 MB / 0.6078 GB, free: 2.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-05/0.5789, allocations: 20 kB / 0.6078 GB, free: 2.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.008574/0.5875, allocations: 3.789 MB / 0.6115 GB, free: 15.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/0.5876, allocations: 36 kB / 0.6116 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.5877, allocations: 68 kB / 0.6116 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.5878, allocations: 95.94 kB / 0.6117 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/0.5905, allocations: 0.7135 MB / 0.6124 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001493/0.5907, allocations: 131.5 kB / 0.6125 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/0.5936, allocations: 457.3 kB / 0.613 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/0.5942, allocations: 203.9 kB / 0.6132 GB, free: 13.73 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.003571/0.5978, allocations: 1.425 MB / 0.6146 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.5982, allocations: 178.8 kB / 0.6147 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.6008, allocations: 1.2 MB / 0.6159 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.6008, allocations: 12 kB / 0.6159 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.6008, allocations: 0 / 0.6159 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.6008, allocations: 3.984 kB / 0.6159 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.6133, allocations: 4.84 MB / 0.6206 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.6133, allocations: 11.94 kB / 0.6207 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.6139, allocations: 133.4 kB / 0.6208 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.387e-05/0.614, allocations: 15.94 kB / 0.6208 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.6141, allocations: 29.55 kB / 0.6208 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.776e-05/0.6141, allocations: 16.53 kB / 0.6208 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.567e-05/0.6141, allocations: 19.94 kB / 0.6209 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.6166, allocations: 1.52 MB / 0.6223 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/0.6173, allocations: 201.1 kB / 0.6225 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/0.6178, allocations: 31.92 kB / 0.6226 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.6187, allocations: 42.23 kB / 0.6226 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.6188, allocations: 75.67 kB / 0.6227 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/0.6189, allocations: 39.98 kB / 0.6227 GB, free: 3.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003143/0.6221, allocations: 1.32 MB / 0.624 GB, free: 2.289 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6221, allocations: 0 / 0.624 GB, free: 2.289 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004056/0.6261, allocations: 0.7691 MB / 0.6248 GB, free: 1.52 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.003326/0.6295, allocations: 2.127 MB / 0.6268 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004434/0.6339, allocations: 2.159 MB / 0.6289 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.6339, allocations: 0 / 0.6289 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009235/0.6348, allocations: 0.5103 MB / 0.6294 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.6369, allocations: 259.9 kB / 0.6297 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0502/0.6871, allocations: 22.63 MB / 0.6518 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005094/0.6922, allocations: 1.843 MB / 0.6536 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003081/0.6953, allocations: 1.01 MB / 0.6546 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/0.6981, allocations: 1.137 MB / 0.6557 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.6981, allocations: 0 / 0.6557 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0819/0.78, allocations: 36.63 MB / 0.6915 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.45, allocations: 12 kB / 0.6915 GB, free: 10.34 MB / 0.5294 GB " [Timeout remaining time 643] (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: 20.06735644710716]