Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 120.2 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.4 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.92 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 75.88 kB / 0.4916 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1109, allocations: 66.05 MB / 0.5561 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01149/0.1224, allocations: 9.565 MB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005762/0.1281, allocations: 2.936 MB / 0.5684 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007708/0.1289, allocations: 55.81 kB / 0.5684 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.1326, allocations: 2.021 MB / 0.5704 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.1351, allocations: 1.129 MB / 0.5715 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.1359, allocations: 291.4 kB / 0.5718 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003167/0.139, allocations: 2.336 MB / 0.574 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.1415, allocations: 1.907 MB / 0.5759 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.1427, allocations: 0.8956 MB / 0.5768 GB, free: 280 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.1444, allocations: 1.25 MB / 0.578 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.1448, allocations: 196 kB / 0.5782 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.146, allocations: 0.7215 MB / 0.5789 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.1471, allocations: 1.145 MB / 0.58 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.1484, allocations: 1.301 MB / 0.5813 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004615/0.153, allocations: 4.338 MB / 0.5855 GB, free: 7.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.153, allocations: 0 / 0.5855 GB, free: 7.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.153, allocations: 3.938 kB / 0.5855 GB, free: 7.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.83e-05/0.1531, allocations: 0 / 0.5855 GB, free: 7.289 MB / 446.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.00514/0.1582, allocations: 2.942 MB / 0.5884 GB, free: 4.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1582, allocations: 12.02 kB / 0.5884 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.957e-05/0.1583, allocations: 63.94 kB / 0.5885 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006037/0.1589, allocations: 487.1 kB / 0.5889 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005284/0.1642, allocations: 1.578 MB / 0.5905 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.1667, allocations: 1.336 MB / 0.5918 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1668, allocations: 151.6 kB / 0.5919 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004141/0.1673, allocations: 183.9 kB / 0.5921 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2257/0.3929, allocations: 6.246 MB / 0.5982 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/0.393, allocations: 12.75 kB / 0.5982 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.3932, allocations: 87.7 kB / 0.5983 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002245/0.3955, allocations: 1.344 MB / 0.5996 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009856/0.4053, allocations: 5.333 MB / 0.6048 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0218/0.4271, allocations: 20.03 MB / 0.6244 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.4308, allocations: 2.013 MB / 0.6263 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/0.4315, allocations: 0.6347 MB / 0.627 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004726/0.4363, allocations: 3.502 MB / 0.6304 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.4363, allocations: 39 kB / 0.6304 GB, free: 12.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.4363, allocations: 0 / 0.6304 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004602/0.4409, allocations: 1.981 MB / 0.6323 GB, free: 10.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.4409, allocations: 63.84 kB / 0.6324 GB, free: 10.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.4428, allocations: 1.94 MB / 0.6343 GB, free: 8.473 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.4429, allocations: 33.7 kB / 0.6343 GB, free: 8.434 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006787/0.4435, allocations: 1.908 MB / 0.6362 GB, free: 6.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.4437, allocations: 332.5 kB / 0.6365 GB, free: 6.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005883/0.4443, allocations: 0.6175 MB / 0.6371 GB, free: 5.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.4444, allocations: 357.9 kB / 0.6375 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.4454, allocations: 0.8881 MB / 0.6383 GB, free: 4.461 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.4469, allocations: 2.751 MB / 0.641 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/0.4514, allocations: 3.974 MB / 0.6449 GB, free: 11.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-05/0.4514, allocations: 20 kB / 0.6449 GB, free: 11.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005842/0.4573, allocations: 3.526 MB / 0.6484 GB, free: 8.332 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.4573, allocations: 36 kB / 0.6484 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-05/0.4574, allocations: 67.94 kB / 0.6485 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-05/0.4575, allocations: 88 kB / 0.6485 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.4595, allocations: 0.655 MB / 0.6492 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/0.4596, allocations: 136.9 kB / 0.6493 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.4614, allocations: 428.2 kB / 0.6497 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.4616, allocations: 190.7 kB / 0.6499 GB, free: 6.754 MB / 462.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.002014/0.4636, allocations: 1.338 MB / 0.6512 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.4639, allocations: 166.9 kB / 0.6514 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.4643, allocations: 200.9 kB / 0.6516 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.4644, allocations: 9.031 kB / 0.6516 GB, free: 5.027 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4644, allocations: 3.938 kB / 0.6516 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4644, allocations: 3.984 kB / 0.6516 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007309/0.4717, allocations: 4.073 MB / 0.6556 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4717, allocations: 8.125 kB / 0.6556 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.4721, allocations: 95.83 kB / 0.6557 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/0.4721, allocations: 15.98 kB / 0.6557 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.4722, allocations: 23.92 kB / 0.6557 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.4722, allocations: 11.94 kB / 0.6557 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.4722, allocations: 8 kB / 0.6557 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.4739, allocations: 1.239 MB / 0.6569 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.4743, allocations: 263.7 kB / 0.6572 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.4745, allocations: 15.94 kB / 0.6572 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.475, allocations: 35.88 kB / 0.6572 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4751, allocations: 47.83 kB / 0.6573 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.4752, allocations: 31.94 kB / 0.6573 GB, free: 14.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002039/0.4772, allocations: 1.275 MB / 0.6585 GB, free: 13.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4772, allocations: 0 / 0.6585 GB, free: 13.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002632/0.4798, allocations: 0.6852 MB / 0.6592 GB, free: 12.95 MB / 478.1 MB 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.002273/0.4821, allocations: 1.857 MB / 0.661 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003221/0.4853, allocations: 1.958 MB / 0.6629 GB, free: 9.051 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.4853, allocations: 0 / 0.6629 GB, free: 9.051 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.486, allocations: 431.4 kB / 0.6633 GB, free: 8.633 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.4873, allocations: 239.4 kB / 0.6636 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/0.5168, allocations: 20.88 MB / 0.684 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/0.5195, allocations: 2.271 MB / 0.6862 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002111/0.5216, allocations: 0.9498 MB / 0.6871 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/0.523, allocations: 1.034 MB / 0.6881 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.523, allocations: 0 / 0.6881 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06133/0.5844, allocations: 32.81 MB / 0.7202 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.52, allocations: 7.938 kB / 0.7202 GB, free: 12.04 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.054696495993994]