Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 226.5 MB / 243.4 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007772/0.0007773, allocations: 96.67 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2834/0.2834, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002725, allocations: 4 kB / 465.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2859, allocations: 62.96 MB / 0.516 GB, free: 37.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02294/0.3089, allocations: 34.13 MB / 0.5493 GB, free: 12.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.3236, allocations: 7.23 MB / 0.5563 GB, free: 7.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008314/0.332, allocations: 157.2 kB / 0.5565 GB, free: 7.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005752/0.3378, allocations: 1.507 MB / 0.558 GB, free: 7.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.3501, allocations: 4.424 MB / 0.5623 GB, free: 5.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.352, allocations: 273.8 kB / 0.5626 GB, free: 5.504 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.3565, allocations: 2.744 MB / 0.5652 GB, free: 4.594 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004875/0.3614, allocations: 3.239 MB / 0.5684 GB, free: 2.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.3629, allocations: 0.6855 MB / 0.5691 GB, free: 2.406 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.3647, allocations: 1.028 MB / 0.5701 GB, free: 1.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004985/0.3652, allocations: 88 kB / 0.5702 GB, free: 1.754 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.3668, allocations: 0.624 MB / 0.5708 GB, free: 1.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.3678, allocations: 0.9856 MB / 0.5717 GB, free: 144 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.3695, allocations: 1.155 MB / 0.5729 GB, free: 14.97 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.373, allocations: 3.417 MB / 0.5762 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3731, allocations: 0 / 0.5762 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3731, allocations: 0 / 0.5762 GB, free: 11.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001464/0.3732, allocations: 0 / 0.5762 GB, free: 11.55 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004533/0.3778, allocations: 2.42 MB / 0.5786 GB, free: 9.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3778, allocations: 8.031 kB / 0.5786 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001077/0.3789, allocations: 0.4958 MB / 0.579 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/0.3839, allocations: 1.627 MB / 0.5806 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.3864, allocations: 1.34 MB / 0.5819 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3865, allocations: 151.7 kB / 0.5821 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005189/0.3871, allocations: 191.9 kB / 0.5823 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.3974, allocations: 6.421 MB / 0.5885 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/0.3975, allocations: 11.88 kB / 0.5886 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.3979, allocations: 87.91 kB / 0.5886 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.4, allocations: 1.403 MB / 0.59 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009749/0.4098, allocations: 5.464 MB / 0.5953 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02558/0.4354, allocations: 20.57 MB / 0.6154 GB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.4395, allocations: 2.089 MB / 0.6175 GB, free: 160 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009464/0.4405, allocations: 0.6866 MB / 0.6181 GB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005671/0.4462, allocations: 3.503 MB / 0.6216 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.4462, allocations: 39 kB / 0.6216 GB, free: 11.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.787e-06/0.4462, allocations: 3.938 kB / 0.6216 GB, free: 11.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.004915/0.4512, allocations: 1.977 MB / 0.6235 GB, free: 9.781 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.4512, allocations: 55.84 kB / 0.6236 GB, free: 9.715 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.4541, allocations: 1.946 MB / 0.6255 GB, free: 7.766 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.4542, allocations: 33.7 kB / 0.6255 GB, free: 7.727 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.4555, allocations: 1.887 MB / 0.6274 GB, free: 5.809 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.4558, allocations: 312.1 kB / 0.6277 GB, free: 5.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4559, allocations: 60 kB / 0.6277 GB, free: 5.441 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.4562, allocations: 497.2 kB / 0.6282 GB, free: 4.945 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.4575, allocations: 0.8803 MB / 0.6291 GB, free: 4.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/0.4597, allocations: 2.754 MB / 0.6317 GB, free: 376 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004106/0.4639, allocations: 3.982 MB / 0.6356 GB, free: 11.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.147e-05/0.4639, allocations: 20 kB / 0.6356 GB, free: 11.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005406/0.4693, allocations: 3.528 MB / 0.6391 GB, free: 7.891 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.4694, allocations: 39.94 kB / 0.6391 GB, free: 7.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.227e-05/0.4695, allocations: 67.94 kB / 0.6392 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.664e-05/0.4696, allocations: 88 kB / 0.6393 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.4715, allocations: 0.6673 MB / 0.6399 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.96e-05/0.4716, allocations: 135.4 kB / 0.6401 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.4734, allocations: 415.5 kB / 0.6405 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.4736, allocations: 196 kB / 0.6406 GB, free: 6.297 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001848/0.4755, allocations: 1.369 MB / 0.642 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.4757, allocations: 161.9 kB / 0.6421 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.4761, allocations: 201.2 kB / 0.6423 GB, free: 4.555 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4761, allocations: 8 kB / 0.6423 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4761, allocations: 0 / 0.6423 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4761, allocations: 3.984 kB / 0.6423 GB, free: 4.543 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/0.4825, allocations: 4.149 MB / 0.6464 GB, free: 260 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.4825, allocations: 4 kB / 0.6464 GB, free: 256 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.4829, allocations: 103.8 kB / 0.6465 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.4829, allocations: 12 kB / 0.6465 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.483, allocations: 12 kB / 0.6465 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.483, allocations: 8 kB / 0.6465 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.483, allocations: 15.92 kB / 0.6465 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.4844, allocations: 1.238 MB / 0.6477 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.4848, allocations: 254.7 kB / 0.648 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.485, allocations: 16 kB / 0.648 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.4856, allocations: 27.97 kB / 0.648 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4857, allocations: 51.77 kB / 0.6481 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.4858, allocations: 28 kB / 0.6481 GB, free: 14.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001854/0.4876, allocations: 1.275 MB / 0.6494 GB, free: 13.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.422e-06/0.4876, allocations: 0 / 0.6494 GB, free: 13.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002394/0.49, allocations: 0.7192 MB / 0.6501 GB, free: 12.39 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001847/0.4919, allocations: 1.84 MB / 0.6519 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.4948, allocations: 2.015 MB / 0.6538 GB, free: 8.457 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.4948, allocations: 5.875 kB / 0.6538 GB, free: 8.453 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.4953, allocations: 461.1 kB / 0.6543 GB, free: 8.004 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.4978, allocations: 228.8 kB / 0.6545 GB, free: 7.785 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/0.5224, allocations: 15.76 MB / 0.6699 GB, free: 6.477 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/0.5251, allocations: 2.319 MB / 0.6721 GB, free: 4.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/0.5265, allocations: 1.097 MB / 0.6732 GB, free: 3.031 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5265, allocations: 0 / 0.6732 GB, free: 3.031 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.727/5.253, allocations: 40.92 MB / 0.7132 GB, free: 119.1 MB / 490.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches