Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.00079/0.00079, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008043/0.0008043, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9159/0.9159, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.264/0.264, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.334e-05, allocations: 6.219 kB / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2001/0.2001, allocations: 8.416 MB / 450.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.2044, allocations: 2.777 MB / 453.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007544/0.2052, allocations: 54.94 kB / 453.4 MB, free: 38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.207, allocations: 2.044 MB / 455.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.2087, allocations: 1.174 MB / 456.6 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.2092, allocations: 306.8 kB / 456.9 MB, free: 36.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.2107, allocations: 2.368 MB / 459.3 MB, free: 35.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2118, allocations: 1.747 MB / 461 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009096/0.2127, allocations: 1.285 MB / 462.3 MB, free: 34.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008346/0.2135, allocations: 1.136 MB / 463.4 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.2137, allocations: 196 kB / 463.6 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/0.2143, allocations: 0.6428 MB / 464.3 MB, free: 33.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004831/0.2148, allocations: 1.178 MB / 465.5 MB, free: 33.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.2152, allocations: 0.7118 MB / 466.2 MB, free: 32.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.2175, allocations: 4.287 MB / 470.5 MB, free: 31.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2175, allocations: 0 / 470.5 MB, free: 31.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2175, allocations: 4 kB / 470.5 MB, free: 31.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.644e-05/0.2175, allocations: 6.75 kB / 470.5 MB, free: 31.44 MB / 410.7 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.002526/0.22, allocations: 2.827 MB / 473.3 MB, free: 29.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2201, allocations: 9.625 kB / 473.3 MB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/0.2204, allocations: 485.4 kB / 473.8 MB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.223, allocations: 1.59 MB / 475.4 MB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.2244, allocations: 1.281 MB / 476.6 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.2245, allocations: 146.2 kB / 476.8 MB, free: 28.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.2247, allocations: 189.5 kB / 477 MB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0072/0.2319, allocations: 6.252 MB / 483.2 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.2319, allocations: 14.94 kB / 483.2 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.2321, allocations: 87.44 kB / 483.3 MB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/0.2337, allocations: 1.344 MB / 484.7 MB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008932/0.2426, allocations: 5.34 MB / 490 MB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.2659, allocations: 19.09 MB / 0.4972 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.2692, allocations: 1.633 MB / 0.4988 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.27, allocations: 0.6363 MB / 0.4994 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003885/0.2738, allocations: 2.988 MB / 0.5023 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2739, allocations: 39.06 kB / 0.5023 GB, free: 7.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.2739, allocations: 0 / 0.5023 GB, free: 7.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003092/0.277, allocations: 2.119 MB / 0.5044 GB, free: 5.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.277, allocations: 59.91 kB / 0.5045 GB, free: 5.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.2787, allocations: 2.042 MB / 0.5065 GB, free: 3.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2788, allocations: 41.64 kB / 0.5065 GB, free: 3.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/0.2793, allocations: 1.895 MB / 0.5084 GB, free: 1.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2794, allocations: 322.5 kB / 0.5087 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.2798, allocations: 0.6117 MB / 0.5093 GB, free: 492 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.2799, allocations: 353.9 kB / 0.5096 GB, free: 132 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/0.2808, allocations: 0.8842 MB / 0.5105 GB, free: 15.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.2824, allocations: 2.751 MB / 0.5131 GB, free: 11.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.2853, allocations: 3.975 MB / 0.517 GB, free: 6.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.752e-05/0.2853, allocations: 20 kB / 0.517 GB, free: 6.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003439/0.2888, allocations: 3.531 MB / 0.5205 GB, free: 3.098 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.2888, allocations: 32 kB / 0.5205 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-05/0.2888, allocations: 68 kB / 0.5206 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.896e-05/0.2889, allocations: 91.94 kB / 0.5207 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.29, allocations: 0.6557 MB / 0.5213 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.914e-05/0.2901, allocations: 135.5 kB / 0.5214 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.2913, allocations: 428.8 kB / 0.5219 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.2915, allocations: 184 kB / 0.522 GB, free: 1.52 MB / 426.7 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.001642/0.2931, allocations: 1.35 MB / 0.5233 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.2933, allocations: 162.9 kB / 0.5235 GB, free: 0 / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.2935, allocations: 200.2 kB / 0.5237 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.2935, allocations: 12 kB / 0.5237 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.2935, allocations: 7.922 kB / 0.5237 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2935, allocations: 0 / 0.5237 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/0.2981, allocations: 3.973 MB / 0.5276 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2981, allocations: 7.938 kB / 0.5276 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.2986, allocations: 100.6 kB / 0.5277 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.2986, allocations: 8 kB / 0.5277 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.2987, allocations: 23.98 kB / 0.5277 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.2987, allocations: 11.94 kB / 0.5277 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2987, allocations: 4 kB / 0.5277 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/0.2997, allocations: 1.236 MB / 0.529 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.2999, allocations: 178.6 kB / 0.5291 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.863e-05/0.3, allocations: 16 kB / 0.5291 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.3003, allocations: 35.92 kB / 0.5292 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.3003, allocations: 55.75 kB / 0.5292 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.3004, allocations: 28 kB / 0.5292 GB, free: 9.875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001121/0.3015, allocations: 1.279 MB / 0.5305 GB, free: 8.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3015, allocations: 0 / 0.5305 GB, free: 8.605 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001783/0.3033, allocations: 0.6774 MB / 0.5312 GB, free: 7.926 MB / 442.7 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.001398/0.3047, allocations: 1.852 MB / 0.533 GB, free: 5.984 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.3073, allocations: 1.952 MB / 0.5349 GB, free: 4.047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.3073, allocations: 4 kB / 0.5349 GB, free: 4.043 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.3076, allocations: 426.7 kB / 0.5353 GB, free: 3.629 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3087, allocations: 247.6 kB / 0.5355 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/0.3314, allocations: 20.77 MB / 0.5558 GB, free: 12.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.3329, allocations: 1.704 MB / 0.5575 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001415/0.3343, allocations: 0.9495 MB / 0.5584 GB, free: 9.414 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009285/0.3352, allocations: 1.039 MB / 0.5594 GB, free: 8.375 MB / 474.7 MB Notification: Performance of SimCode: time 2.224e-06/0.3352, allocations: 0 / 0.5594 GB, free: 8.375 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04672/0.3819, allocations: 32.95 MB / 0.5916 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.002, allocations: 7.984 kB / 0.5916 GB, free: 7.766 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 10.16975453402847]