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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001598/0.001598, allocations: 115.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.001931, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.09 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 73.33 kB / 417.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1231, allocations: 62.46 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03153/0.1546, allocations: 30.31 MB / 0.498 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.1694, allocations: 6.271 MB / 0.5041 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006127/0.1755, allocations: 127.7 kB / 0.5042 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2504/0.426, allocations: 1.921 MB / 0.5061 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.429, allocations: 1.029 MB / 0.5071 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007646/0.4298, allocations: 270.7 kB / 0.5073 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003518/0.4333, allocations: 2.35 MB / 0.5096 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.4366, allocations: 2.42 MB / 0.512 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4383, allocations: 0.8848 MB / 0.5129 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.4402, allocations: 1.265 MB / 0.5141 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.4406, allocations: 197.5 kB / 0.5143 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.4422, allocations: 0.7059 MB / 0.515 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.4437, allocations: 1.12 MB / 0.5161 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.4452, allocations: 1.313 MB / 0.5173 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004939/0.4501, allocations: 4.189 MB / 0.5214 GB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4501, allocations: 0 / 0.5214 GB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.4501, allocations: 4 kB / 0.5214 GB, free: 8.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001078/0.4503, allocations: 3.938 kB / 0.5214 GB, free: 8.77 MB / 382.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.006115/0.4564, allocations: 2.86 MB / 0.5242 GB, free: 7.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4564, allocations: 9.5 kB / 0.5242 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007686/0.4572, allocations: 480.9 kB / 0.5247 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.4621, allocations: 1.563 MB / 0.5262 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.4651, allocations: 1.315 MB / 0.5275 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4652, allocations: 144.9 kB / 0.5277 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.4656, allocations: 189.7 kB / 0.5278 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009672/0.4753, allocations: 6.249 MB / 0.5339 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.4754, allocations: 15.97 kB / 0.534 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.4756, allocations: 95.16 kB / 0.534 GB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001728/0.4774, allocations: 1.34 MB / 0.5354 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009251/0.4866, allocations: 5.332 MB / 0.5406 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/0.5148, allocations: 20.13 MB / 0.5602 GB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.5191, allocations: 2.076 MB / 0.5622 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009852/0.5201, allocations: 0.6914 MB / 0.5629 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00621/0.5263, allocations: 3.489 MB / 0.5663 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.5264, allocations: 39 kB / 0.5664 GB, free: 2.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.868e-06/0.5264, allocations: 2.812 kB / 0.5664 GB, free: 2.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005483/0.5319, allocations: 1.977 MB / 0.5683 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.532, allocations: 59.84 kB / 0.5684 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/0.5359, allocations: 1.929 MB / 0.5702 GB, free: 14.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.536, allocations: 33.7 kB / 0.5703 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.5374, allocations: 1.845 MB / 0.5721 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.5378, allocations: 307.4 kB / 0.5724 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009591/0.5387, allocations: 0.6192 MB / 0.573 GB, free: 11.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5389, allocations: 368.4 kB / 0.5733 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5402, allocations: 0.8842 MB / 0.5742 GB, free: 10.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.5427, allocations: 2.746 MB / 0.5769 GB, free: 7.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004215/0.547, allocations: 3.967 MB / 0.5807 GB, free: 2.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-05/0.547, allocations: 26.91 kB / 0.5808 GB, free: 2.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005657/0.5527, allocations: 3.519 MB / 0.5842 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.5528, allocations: 36 kB / 0.5842 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.935e-05/0.5529, allocations: 64.88 kB / 0.5843 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.685e-05/0.553, allocations: 88 kB / 0.5844 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.555, allocations: 0.6552 MB / 0.585 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001431/0.5552, allocations: 131.6 kB / 0.5852 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.5576, allocations: 421.1 kB / 0.5856 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/0.5579, allocations: 180 kB / 0.5857 GB, free: 13.76 MB / 446.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.002317/0.5603, allocations: 1.36 MB / 0.5871 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.5606, allocations: 153.9 kB / 0.5872 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.561, allocations: 192.9 kB / 0.5874 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.561, allocations: 11.98 kB / 0.5874 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.561, allocations: 0 / 0.5874 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.561, allocations: 0 / 0.5874 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007785/0.5688, allocations: 4.075 MB / 0.5914 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.5689, allocations: 4 kB / 0.5914 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.5693, allocations: 103.8 kB / 0.5915 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.5693, allocations: 8 kB / 0.5915 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.5694, allocations: 15.2 kB / 0.5915 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/0.5694, allocations: 19.86 kB / 0.5915 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.5694, allocations: 11.94 kB / 0.5915 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.5709, allocations: 1.227 MB / 0.5927 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004921/0.5714, allocations: 246.8 kB / 0.593 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/0.5717, allocations: 19.98 kB / 0.593 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.5724, allocations: 27.92 kB / 0.593 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5725, allocations: 55.81 kB / 0.5931 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.5726, allocations: 31.98 kB / 0.5931 GB, free: 6.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002347/0.5749, allocations: 1.271 MB / 0.5943 GB, free: 4.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5749, allocations: 0 / 0.5943 GB, free: 4.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002962/0.5779, allocations: 0.6866 MB / 0.595 GB, free: 4.066 MB / 446.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.002067/0.58, allocations: 1.844 MB / 0.5968 GB, free: 2.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.5835, allocations: 2.255 MB / 0.599 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.5836, allocations: 0 / 0.599 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.5842, allocations: 461 kB / 0.5994 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.5857, allocations: 238.6 kB / 0.5997 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/0.621, allocations: 23.24 MB / 0.6224 GB, free: 5.027 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003726/0.6248, allocations: 2.271 MB / 0.6246 GB, free: 2.727 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002391/0.6272, allocations: 0.9518 MB / 0.6255 GB, free: 1.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/0.6291, allocations: 1.034 MB / 0.6265 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6291, allocations: 0 / 0.6265 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/0.6879, allocations: 31.83 MB / 0.6576 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.6882, allocations: 195.4 kB / 0.6578 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.26, allocations: 0 / 0.6578 GB, free: 0.8047 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches