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) 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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002185/0.002185, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2931, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.009926/0.303, allocations: 9.524 MB / 0.5398 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.3093, allocations: 2.925 MB / 0.5427 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.3108, allocations: 47.28 kB / 0.5427 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003932/0.3147, allocations: 1.987 MB / 0.5446 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.3177, allocations: 1.113 MB / 0.5457 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.3186, allocations: 291.5 kB / 0.546 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.322, allocations: 2.339 MB / 0.5483 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.3246, allocations: 2.297 MB / 0.5505 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.326, allocations: 0.88 MB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.3278, allocations: 1.149 MB / 0.5525 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005625/0.3284, allocations: 196 kB / 0.5527 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.3299, allocations: 0.7021 MB / 0.5534 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.3311, allocations: 1.114 MB / 0.5545 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.3327, allocations: 1.301 MB / 0.5558 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.3369, allocations: 4.321 MB / 0.56 GB, free: 3.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.337, allocations: 3.938 kB / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.337, allocations: 0 / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.23e-05/0.3371, allocations: 0 / 0.56 GB, free: 3.484 MB / 414.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.004741/0.3418, allocations: 2.857 MB / 0.5628 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3419, allocations: 8.031 kB / 0.5628 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005029/0.3424, allocations: 487.1 kB / 0.5632 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/0.3472, allocations: 1.557 MB / 0.5648 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.3499, allocations: 1.34 MB / 0.5661 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.35, allocations: 151.8 kB / 0.5662 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.3504, allocations: 183.9 kB / 0.5664 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008377/0.3588, allocations: 6.246 MB / 0.5725 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.3589, allocations: 11.88 kB / 0.5725 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.3592, allocations: 87.91 kB / 0.5726 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001889/0.3611, allocations: 1.34 MB / 0.5739 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008522/0.3696, allocations: 5.334 MB / 0.5791 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.3949, allocations: 20 MB / 0.5986 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.3991, allocations: 2.085 MB / 0.6007 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009435/0.4, allocations: 0.6836 MB / 0.6013 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006227/0.4063, allocations: 3.487 MB / 0.6047 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.4063, allocations: 38.98 kB / 0.6048 GB, free: 4.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.065e-06/0.4064, allocations: 0 / 0.6048 GB, free: 4.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.004976/0.4113, allocations: 1.97 MB / 0.6067 GB, free: 2.355 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.4114, allocations: 59.84 kB / 0.6068 GB, free: 2.285 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.4139, allocations: 1.933 MB / 0.6086 GB, free: 356 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.4139, allocations: 37.7 kB / 0.6087 GB, free: 312 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.415, allocations: 1.832 MB / 0.6105 GB, free: 14.44 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.4153, allocations: 316.1 kB / 0.6108 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00072/0.416, allocations: 0.6189 MB / 0.6114 GB, free: 13.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4161, allocations: 357.9 kB / 0.6117 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.4173, allocations: 0.888 MB / 0.6126 GB, free: 12.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.4196, allocations: 2.763 MB / 0.6153 GB, free: 8.559 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00389/0.4235, allocations: 3.954 MB / 0.6191 GB, free: 3.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/0.4236, allocations: 23.94 kB / 0.6192 GB, free: 3.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005038/0.4286, allocations: 3.522 MB / 0.6226 GB, free: 132 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.4287, allocations: 32 kB / 0.6226 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.796e-05/0.4288, allocations: 68 kB / 0.6227 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.61e-05/0.4289, allocations: 88.05 kB / 0.6228 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.4307, allocations: 0.6627 MB / 0.6234 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001055/0.4308, allocations: 131.5 kB / 0.6236 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.4326, allocations: 416.1 kB / 0.624 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.4328, allocations: 195.9 kB / 0.6241 GB, free: 14.55 MB / 494.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.001703/0.4345, allocations: 1.338 MB / 0.6255 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.4348, allocations: 157.8 kB / 0.6256 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.4351, allocations: 200.9 kB / 0.6258 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.4351, allocations: 8 kB / 0.6258 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4351, allocations: 0 / 0.6258 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.4352, allocations: 3.984 kB / 0.6258 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/0.4424, allocations: 4.073 MB / 0.6298 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.4425, allocations: 4 kB / 0.6298 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.4429, allocations: 95.92 kB / 0.6299 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.4429, allocations: 8 kB / 0.6299 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.443, allocations: 27.92 kB / 0.6299 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.443, allocations: 11.94 kB / 0.6299 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.443, allocations: 7.938 kB / 0.6299 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.4444, allocations: 1.234 MB / 0.6311 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004122/0.4448, allocations: 250.7 kB / 0.6314 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.4451, allocations: 19.94 kB / 0.6314 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.4456, allocations: 27.97 kB / 0.6314 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.4457, allocations: 59.77 kB / 0.6315 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.4458, allocations: 23.98 kB / 0.6315 GB, free: 6.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.4475, allocations: 1.275 MB / 0.6327 GB, free: 5.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4475, allocations: 0 / 0.6327 GB, free: 5.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002339/0.4499, allocations: 0.6804 MB / 0.6334 GB, free: 4.797 MB / 494.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.001815/0.4517, allocations: 1.844 MB / 0.6352 GB, free: 2.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.4545, allocations: 2.049 MB / 0.6372 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4545, allocations: 0 / 0.6372 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.4551, allocations: 458.3 kB / 0.6376 GB, free: 384 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.4563, allocations: 250.6 kB / 0.6379 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/0.4823, allocations: 20.78 MB / 0.6582 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/0.4848, allocations: 2.279 MB / 0.6604 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001958/0.4867, allocations: 0.9441 MB / 0.6613 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.488, allocations: 1.034 MB / 0.6623 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.488, allocations: 0 / 0.6623 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/0.5451, allocations: 32.9 MB / 0.6945 GB, free: 3.754 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.89, allocations: 18.66 kB / 0.6945 GB, free: 3.738 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches