Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008428/0.0008428, allocations: 96.08 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009474/0.0009476, allocations: 184.4 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.306/0.306, allocations: 43.57 MB / 315 MB, free: 8.754 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005174/0.0005173, allocations: 16 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 58.87 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2125/0.3154, allocations: 37.43 MB / 481 MB, free: 26.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.3304, allocations: 7.596 MB / 488.6 MB, free: 22.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00688/0.3373, allocations: 156.8 kB / 488.7 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.3384, allocations: 305.8 kB / 489 MB, free: 22.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.341, allocations: 1.122 MB / 490.1 MB, free: 22.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.3416, allocations: 266.8 kB / 490.4 MB, free: 21.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.3446, allocations: 3.582 MB / 494 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.3483, allocations: 3.386 MB / 497.4 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.3494, allocations: 0.6867 MB / 498.1 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.3509, allocations: 1.142 MB / 499.2 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000275/0.3512, allocations: 94.66 kB / 499.3 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.3523, allocations: 0.6304 MB / 499.9 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009494/0.3533, allocations: 1.078 MB / 0.4893 GB, free: 18.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.3544, allocations: 1.298 MB / 0.4905 GB, free: 17.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006513/0.3609, allocations: 4.356 MB / 0.4948 GB, free: 16.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3609, allocations: 1.156 kB / 0.4948 GB, free: 16.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3609, allocations: 0 / 0.4948 GB, free: 16.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001483/0.3611, allocations: 0 / 0.4948 GB, free: 16.19 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005751/0.3668, allocations: 2.532 MB / 0.4973 GB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3669, allocations: 9.625 kB / 0.4973 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001023/0.3679, allocations: 0.5073 MB / 0.4978 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00604/0.374, allocations: 1.651 MB / 0.4994 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.3768, allocations: 1.387 MB / 0.5007 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.377, allocations: 168.6 kB / 0.5009 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004656/0.3775, allocations: 200.9 kB / 0.5011 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.3877, allocations: 6.778 MB / 0.5077 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.3878, allocations: 13.31 kB / 0.5077 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.3881, allocations: 92.97 kB / 0.5078 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/0.3904, allocations: 1.484 MB / 0.5092 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.4016, allocations: 5.808 MB / 0.5149 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/0.427, allocations: 21.6 MB / 0.536 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.4313, allocations: 2.246 MB / 0.5382 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.4324, allocations: 0.7894 MB / 0.539 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005897/0.4383, allocations: 3.737 MB / 0.5426 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4383, allocations: 39.12 kB / 0.5427 GB, free: 8.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 2.535e-06/0.4383, allocations: 7.938 kB / 0.5427 GB, free: 8.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005463/0.4438, allocations: 2.197 MB / 0.5448 GB, free: 6.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.4439, allocations: 59.97 kB / 0.5449 GB, free: 6.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/0.4465, allocations: 2.024 MB / 0.5469 GB, free: 4.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.4466, allocations: 33.7 kB / 0.5469 GB, free: 4.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.4479, allocations: 1.961 MB / 0.5488 GB, free: 2.492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.4482, allocations: 371.3 kB / 0.5492 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.4486, allocations: 288.7 kB / 0.5494 GB, free: 1.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4487, allocations: 357.9 kB / 0.5498 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.4501, allocations: 0.9627 MB / 0.5507 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.4526, allocations: 2.922 MB / 0.5536 GB, free: 12.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004594/0.4572, allocations: 4.247 MB / 0.5577 GB, free: 7.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.039e-05/0.4573, allocations: 20 kB / 0.5577 GB, free: 7.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006301/0.4636, allocations: 3.785 MB / 0.5614 GB, free: 3.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.4637, allocations: 35.94 kB / 0.5615 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.23e-05/0.4637, allocations: 75.94 kB / 0.5615 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.077e-05/0.4638, allocations: 92 kB / 0.5616 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.4659, allocations: 0.7135 MB / 0.5623 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001051/0.466, allocations: 131.5 kB / 0.5624 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.468, allocations: 451.4 kB / 0.5629 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.4682, allocations: 200 kB / 0.5631 GB, free: 1.914 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002325/0.4706, allocations: 1.427 MB / 0.5645 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.4708, allocations: 165.8 kB / 0.5646 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.4727, allocations: 1.204 MB / 0.5658 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.4727, allocations: 8 kB / 0.5658 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4727, allocations: 0 / 0.5658 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4727, allocations: 3.984 kB / 0.5658 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007552/0.4803, allocations: 4.978 MB / 0.5707 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.4803, allocations: 11.94 kB / 0.5707 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.4808, allocations: 132.6 kB / 0.5708 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.4808, allocations: 15.94 kB / 0.5708 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.4809, allocations: 35.98 kB / 0.5709 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.4809, allocations: 15.94 kB / 0.5709 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.4809, allocations: 11.94 kB / 0.5709 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.4827, allocations: 1.513 MB / 0.5724 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.4832, allocations: 278.5 kB / 0.5726 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.4834, allocations: 27.98 kB / 0.5726 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005784/0.484, allocations: 35.88 kB / 0.5727 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.4841, allocations: 75.69 kB / 0.5728 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.4842, allocations: 36 kB / 0.5728 GB, free: 7.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00225/0.4865, allocations: 1.324 MB / 0.5741 GB, free: 6.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4865, allocations: 0 / 0.5741 GB, free: 6.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002989/0.4895, allocations: 0.7466 MB / 0.5748 GB, free: 5.477 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.002215/0.4917, allocations: 2.133 MB / 0.5769 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.495, allocations: 2.231 MB / 0.5791 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.495, allocations: 0 / 0.5791 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006896/0.4957, allocations: 0.5377 MB / 0.5796 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.4991, allocations: 252.4 kB / 0.5798 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03354/0.5326, allocations: 25.32 MB / 0.6046 GB, free: 3.594 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.5351, allocations: 2.401 MB / 0.6069 GB, free: 1.164 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002325/0.5374, allocations: 1.02 MB / 0.6079 GB, free: 144 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.5387, allocations: 1.136 MB / 0.609 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5387, allocations: 0 / 0.609 GB, free: 15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2304/0.7692, allocations: 33.45 MB / 0.6417 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001201/0.7693, allocations: 187.9 kB / 0.6419 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.307, allocations: 2 kB / 0.6419 GB, free: 155.1 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches