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.001213/0.001213, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.001641, allocations: 83.53 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1163, allocations: 62.44 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02994/0.1463, allocations: 30.31 MB / 0.4977 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.1609, allocations: 6.318 MB / 0.5039 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00571/0.1667, allocations: 123.8 kB / 0.504 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2382/0.4049, allocations: 1.991 MB / 0.506 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.4089, allocations: 1.045 MB / 0.507 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.4098, allocations: 267.3 kB / 0.5073 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005162/0.415, allocations: 3.372 MB / 0.5105 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/0.4192, allocations: 2.28 MB / 0.5128 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.4212, allocations: 0.7781 MB / 0.5135 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.4237, allocations: 1.226 MB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009755/0.4247, allocations: 150.8 kB / 0.5149 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.4271, allocations: 0.6903 MB / 0.5155 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002236/0.4294, allocations: 1.075 MB / 0.5166 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.4328, allocations: 1.272 MB / 0.5178 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006448/0.4393, allocations: 4.121 MB / 0.5219 GB, free: 8.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4393, allocations: 0 / 0.5219 GB, free: 8.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4393, allocations: 4 kB / 0.5219 GB, free: 8.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000209/0.4396, allocations: 1.812 kB / 0.5219 GB, free: 8.891 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.01025/0.4498, allocations: 2.86 MB / 0.5247 GB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.4499, allocations: 11.16 kB / 0.5247 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001877/0.4518, allocations: 486.2 kB / 0.5251 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005597/0.4574, allocations: 1.554 MB / 0.5267 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.4611, allocations: 1.318 MB / 0.5279 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.4613, allocations: 150.1 kB / 0.5281 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.4624, allocations: 193.3 kB / 0.5283 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.4761, allocations: 6.24 MB / 0.5344 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-05/0.4762, allocations: 18.28 kB / 0.5344 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009214/0.4771, allocations: 88.89 kB / 0.5345 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/0.4793, allocations: 1.344 MB / 0.5358 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.4916, allocations: 5.335 MB / 0.541 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03516/0.5268, allocations: 20.13 MB / 0.5606 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00524/0.5321, allocations: 2.081 MB / 0.5627 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.5334, allocations: 0.6903 MB / 0.5634 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007039/0.5405, allocations: 3.493 MB / 0.5668 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5406, allocations: 35 kB / 0.5668 GB, free: 2.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.448e-06/0.5406, allocations: 0 / 0.5668 GB, free: 2.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005775/0.5464, allocations: 1.98 MB / 0.5687 GB, free: 128 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.5464, allocations: 55.84 kB / 0.5688 GB, free: 60 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00376/0.5502, allocations: 1.934 MB / 0.5707 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.5503, allocations: 33.7 kB / 0.5707 GB, free: 14.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.5518, allocations: 1.84 MB / 0.5725 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.5523, allocations: 308.5 kB / 0.5728 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.5533, allocations: 0.6212 MB / 0.5734 GB, free: 11.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.5535, allocations: 357.9 kB / 0.5737 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.555, allocations: 0.8881 MB / 0.5746 GB, free: 10.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/0.5578, allocations: 2.752 MB / 0.5773 GB, free: 6.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005167/0.5629, allocations: 3.962 MB / 0.5812 GB, free: 1.797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.598e-05/0.563, allocations: 24 kB / 0.5812 GB, free: 1.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006122/0.5692, allocations: 3.52 MB / 0.5846 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.5693, allocations: 32.97 kB / 0.5847 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.5694, allocations: 68 kB / 0.5847 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.365e-05/0.5695, allocations: 84 kB / 0.5848 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.5714, allocations: 0.6635 MB / 0.5855 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001057/0.5715, allocations: 127 kB / 0.5856 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.5737, allocations: 422.4 kB / 0.586 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.574, allocations: 188 kB / 0.5862 GB, free: 13.17 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.002478/0.5765, allocations: 1.35 MB / 0.5875 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.5769, allocations: 157.9 kB / 0.5876 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004239/0.5773, allocations: 192.9 kB / 0.5878 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/0.5773, allocations: 10.58 kB / 0.5878 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5773, allocations: 4 kB / 0.5878 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5773, allocations: 0 / 0.5878 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008427/0.5858, allocations: 4.074 MB / 0.5918 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.5858, allocations: 8 kB / 0.5918 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.5863, allocations: 95.88 kB / 0.5919 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.5863, allocations: 8 kB / 0.5919 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.5864, allocations: 23.94 kB / 0.5919 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.5864, allocations: 15.92 kB / 0.5919 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.5864, allocations: 7.938 kB / 0.592 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.5881, allocations: 1.234 MB / 0.5932 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.5887, allocations: 250.7 kB / 0.5934 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.589, allocations: 20 kB / 0.5934 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.5897, allocations: 31.91 kB / 0.5934 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.5898, allocations: 55.77 kB / 0.5935 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/0.5899, allocations: 28 kB / 0.5935 GB, free: 5.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002607/0.5925, allocations: 1.263 MB / 0.5948 GB, free: 4.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5925, allocations: 4 kB / 0.5948 GB, free: 4.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003384/0.5959, allocations: 0.6882 MB / 0.5954 GB, free: 3.469 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.002212/0.5982, allocations: 1.843 MB / 0.5972 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.6014, allocations: 2.022 MB / 0.5992 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6014, allocations: 0 / 0.5992 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.6019, allocations: 465.1 kB / 0.5997 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.6034, allocations: 215.9 kB / 0.5999 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03595/0.6394, allocations: 23.24 MB / 0.6226 GB, free: 4.688 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003333/0.6428, allocations: 2.271 MB / 0.6248 GB, free: 2.387 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00242/0.6452, allocations: 0.9441 MB / 0.6257 GB, free: 1.438 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/0.6469, allocations: 1.038 MB / 0.6267 GB, free: 408 kB / 478.1 MB Notification: Performance of SimCode: time 1.382e-06/0.6469, allocations: 0 / 0.6267 GB, free: 408 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/0.7036, allocations: 31.35 MB / 0.6573 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.7039, allocations: 202.3 kB / 0.6575 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.216, allocations: 0 / 0.6575 GB, free: 0.9141 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