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.001614/0.001614, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001987/0.001987, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.569/1.569, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2456/0.2456, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.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 0.00237/0.00237, allocations: 87.86 kB / 0.4912 GB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1322, allocations: 65.99 MB / 0.5557 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01246/0.1446, allocations: 9.564 MB / 0.565 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006956/0.1516, allocations: 2.94 MB / 0.5679 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.1534, allocations: 55.88 kB / 0.568 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.1579, allocations: 2.009 MB / 0.5699 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00331/0.1612, allocations: 1.121 MB / 0.571 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009397/0.1622, allocations: 295.3 kB / 0.5713 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003726/0.1659, allocations: 2.344 MB / 0.5736 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.1686, allocations: 1.91 MB / 0.5754 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.1701, allocations: 0.8761 MB / 0.5763 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.172, allocations: 1.254 MB / 0.5775 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005813/0.1726, allocations: 196 kB / 0.5777 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.1741, allocations: 0.7177 MB / 0.5784 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.1754, allocations: 1.141 MB / 0.5795 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.177, allocations: 1.312 MB / 0.5808 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.1824, allocations: 4.33 MB / 0.585 GB, free: 8.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.1824, allocations: 4 kB / 0.585 GB, free: 8.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1824, allocations: 0 / 0.585 GB, free: 8.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.1825, allocations: 0 / 0.585 GB, free: 8.012 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.005873/0.1884, allocations: 2.942 MB / 0.5879 GB, free: 5.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1884, allocations: 8.031 kB / 0.5879 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008399/0.1893, allocations: 483.1 kB / 0.5884 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.1945, allocations: 1.574 MB / 0.5899 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.1979, allocations: 1.348 MB / 0.5912 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.198, allocations: 147.8 kB / 0.5914 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000474/0.1985, allocations: 187.9 kB / 0.5916 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2468/0.4453, allocations: 6.241 MB / 0.5977 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.474e-05/0.4453, allocations: 14.28 kB / 0.5977 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.4456, allocations: 88.78 kB / 0.5977 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/0.4478, allocations: 1.34 MB / 0.5991 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.4588, allocations: 5.337 MB / 0.6043 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02613/0.4849, allocations: 20.04 MB / 0.6238 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.4889, allocations: 2.013 MB / 0.6258 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/0.4898, allocations: 0.6349 MB / 0.6264 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006171/0.4959, allocations: 3.495 MB / 0.6298 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.496, allocations: 37.97 kB / 0.6299 GB, free: 13.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.747e-06/0.496, allocations: 0 / 0.6299 GB, free: 13.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005045/0.501, allocations: 1.979 MB / 0.6318 GB, free: 11.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.5011, allocations: 59.84 kB / 0.6319 GB, free: 11.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.5033, allocations: 1.939 MB / 0.6338 GB, free: 9.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5034, allocations: 41.64 kB / 0.6338 GB, free: 9.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/0.5043, allocations: 1.908 MB / 0.6357 GB, free: 7.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.5046, allocations: 332 kB / 0.636 GB, free: 7.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000641/0.5053, allocations: 0.618 MB / 0.6366 GB, free: 6.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5054, allocations: 359.5 kB / 0.6369 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.5064, allocations: 0.8842 MB / 0.6378 GB, free: 5.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.508, allocations: 2.759 MB / 0.6405 GB, free: 1.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004201/0.5122, allocations: 3.97 MB / 0.6444 GB, free: 13.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.275e-05/0.5123, allocations: 20 kB / 0.6444 GB, free: 13.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006809/0.5191, allocations: 3.525 MB / 0.6478 GB, free: 9.508 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.5191, allocations: 32 kB / 0.6478 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.984e-05/0.5192, allocations: 71.98 kB / 0.6479 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.335e-05/0.5193, allocations: 84 kB / 0.648 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.5214, allocations: 0.6628 MB / 0.6486 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/0.5216, allocations: 134.4 kB / 0.6488 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.5237, allocations: 429.2 kB / 0.6492 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004168/0.5241, allocations: 193.5 kB / 0.6494 GB, free: 7.922 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.002295/0.5264, allocations: 1.336 MB / 0.6507 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.5267, allocations: 162.9 kB / 0.6508 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.5272, allocations: 200.9 kB / 0.651 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.709e-05/0.5272, allocations: 12 kB / 0.651 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.5272, allocations: 0 / 0.651 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.5272, allocations: 11.92 kB / 0.651 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008245/0.5354, allocations: 4.068 MB / 0.655 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.5355, allocations: 12.12 kB / 0.655 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.5359, allocations: 95.83 kB / 0.6551 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.5359, allocations: 15.94 kB / 0.6551 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.5359, allocations: 23.98 kB / 0.6552 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.536, allocations: 8 kB / 0.6552 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/0.536, allocations: 7.938 kB / 0.6552 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.5376, allocations: 1.239 MB / 0.6564 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.5381, allocations: 255.7 kB / 0.6566 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.5383, allocations: 19.94 kB / 0.6566 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.5388, allocations: 27.97 kB / 0.6567 GB, free: 188 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5389, allocations: 59.75 kB / 0.6567 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.539, allocations: 28 kB / 0.6568 GB, free: 100 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002157/0.5412, allocations: 1.271 MB / 0.658 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5412, allocations: 0 / 0.658 GB, free: 14.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002819/0.544, allocations: 0.6949 MB / 0.6587 GB, free: 14.14 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.002205/0.5462, allocations: 1.849 MB / 0.6605 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003512/0.5497, allocations: 1.957 MB / 0.6624 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.5497, allocations: 0 / 0.6624 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006632/0.5504, allocations: 430 kB / 0.6628 GB, free: 9.828 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.5519, allocations: 237.8 kB / 0.663 GB, free: 9.605 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03247/0.5843, allocations: 20.87 MB / 0.6834 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/0.5872, allocations: 2.272 MB / 0.6856 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002245/0.5895, allocations: 0.9612 MB / 0.6866 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/0.591, allocations: 1.026 MB / 0.6876 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.343e-06/0.591, allocations: 4 kB / 0.6876 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07041/0.6615, allocations: 32.76 MB / 0.7196 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.65, allocations: 18.64 kB / 0.7196 GB, free: 13.25 MB / 0.5294 GB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.04806783935055]