Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",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.0008641/0.0008642, allocations: 92.41 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008763/0.0008761, allocations: 178.5 kB / 18.26 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.3 MB / 242.3 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1909/0.1909, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09262, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2889/0.3816, allocations: 97.06 MB / 0.5561 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04083/0.4224, allocations: 18.89 MB / 0.5745 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01716/0.4396, allocations: 442.9 kB / 0.5749 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.442, allocations: 0.6646 MB / 0.5756 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007057/0.4491, allocations: 2.702 MB / 0.5782 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.4518, allocations: 1.26 MB / 0.5795 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.4644, allocations: 11.21 MB / 0.5904 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01515/0.4795, allocations: 10.43 MB / 0.6006 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.4836, allocations: 2.269 MB / 0.6028 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005042/0.4887, allocations: 3.55 MB / 0.6063 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.4899, allocations: 259.9 kB / 0.6065 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.4928, allocations: 1.158 MB / 0.6077 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003731/0.4966, allocations: 3.21 MB / 0.6108 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.5017, allocations: 3.541 MB / 0.6142 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.5127, allocations: 11.25 MB / 0.6252 GB, free: 7.484 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5127, allocations: 0 / 0.6252 GB, free: 7.484 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.034e-05/0.5127, allocations: 4 kB / 0.6252 GB, free: 7.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002325/0.5129, allocations: 0 / 0.6252 GB, free: 7.48 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01189/0.5248, allocations: 7.222 MB / 0.6323 GB, free: 176 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5249, allocations: 12.03 kB / 0.6323 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001494/0.5264, allocations: 1.219 MB / 0.6335 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009689/0.5361, allocations: 2.681 MB / 0.6361 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008441/0.5445, allocations: 5.801 MB / 0.6418 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.5449, allocations: 442.8 kB / 0.6422 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.5461, allocations: 0.5582 MB / 0.6427 GB, free: 5.363 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02853/0.5746, allocations: 17.48 MB / 0.6598 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002407/0.5749, allocations: 71.31 kB / 0.6599 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/0.5761, allocations: 271.8 kB / 0.6601 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004656/0.5807, allocations: 3.178 MB / 0.6632 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/0.6077, allocations: 13.45 MB / 0.6764 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4435/1.051, allocations: 66 MB / 0.7408 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/1.066, allocations: 5.502 MB / 0.7462 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/1.068, allocations: 2.122 MB / 0.7483 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01259/1.081, allocations: 10 MB / 0.758 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/1.081, allocations: 51.5 kB / 0.7581 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 3.787e-06/1.081, allocations: 0 / 0.7581 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03448/1.115, allocations: 14.35 MB / 0.7721 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/1.115, allocations: 150.2 kB / 0.7722 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007356/1.123, allocations: 6.413 MB / 0.7785 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/1.123, allocations: 55.34 kB / 0.7786 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.125, allocations: 5.247 MB / 0.7837 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/1.125, allocations: 0.8238 MB / 0.7845 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005947/1.126, allocations: 0.7372 MB / 0.7852 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.272e-05/1.126, allocations: 302.8 kB / 0.7855 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00269/1.129, allocations: 2.318 MB / 0.7878 GB, free: 113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/1.133, allocations: 7.728 MB / 0.7953 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007735/1.141, allocations: 10.93 MB / 0.806 GB, free: 89.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.211e-05/1.141, allocations: 56 kB / 0.806 GB, free: 89.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01213/1.153, allocations: 9.672 MB / 0.8155 GB, free: 79.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.153, allocations: 91.98 kB / 0.8156 GB, free: 79.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/1.153, allocations: 192 kB / 0.8157 GB, free: 79.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/1.153, allocations: 252 kB / 0.816 GB, free: 79.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004915/1.158, allocations: 1.93 MB / 0.8179 GB, free: 77.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002216/1.159, allocations: 374.5 kB / 0.8182 GB, free: 76.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005091/1.164, allocations: 413 kB / 0.8186 GB, free: 76.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007074/1.164, allocations: 0.5132 MB / 0.8191 GB, free: 75.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1039): * Single equations (assignments): 1028 * Array equations: 11 * 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.004862/1.169, allocations: 3.4 MB / 0.8224 GB, free: 72.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.17, allocations: 0.5359 MB / 0.823 GB, free: 71.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.172, allocations: 0.6329 MB / 0.8236 GB, free: 71.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/1.172, allocations: 24.95 kB / 0.8236 GB, free: 71.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/1.172, allocations: 8 kB / 0.8236 GB, free: 71.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.172, allocations: 7.969 kB / 0.8236 GB, free: 71.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.192, allocations: 16.71 MB / 0.8399 GB, free: 53.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/1.192, allocations: 43.94 kB / 0.84 GB, free: 53.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.193, allocations: 383.2 kB / 0.8404 GB, free: 53.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/1.193, allocations: 52 kB / 0.8404 GB, free: 53.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.194, allocations: 80 kB / 0.8405 GB, free: 53.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-05/1.194, allocations: 75.72 kB / 0.8405 GB, free: 53.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.388e-05/1.194, allocations: 64.31 kB / 0.8406 GB, free: 53.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/1.197, allocations: 3.95 MB / 0.8445 GB, free: 48.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009458/1.198, allocations: 0.6226 MB / 0.8451 GB, free: 48.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004414/1.198, allocations: 91.97 kB / 0.8452 GB, free: 47.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.2, allocations: 112.9 kB / 0.8453 GB, free: 47.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.2, allocations: 254.8 kB / 0.8455 GB, free: 47.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.2, allocations: 114.5 kB / 0.8456 GB, free: 47.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004657/1.205, allocations: 4.001 MB / 0.8495 GB, free: 43.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/1.205, allocations: 0 / 0.8495 GB, free: 43.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005925/1.211, allocations: 1.36 MB / 0.8509 GB, free: 42.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.003584/1.214, allocations: 4.664 MB / 0.8554 GB, free: 36.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007435/1.222, allocations: 5.316 MB / 0.8606 GB, free: 31.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.472e-05/1.222, allocations: 8 kB / 0.8606 GB, free: 31.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/1.223, allocations: 1.137 MB / 0.8617 GB, free: 30.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03518/1.258, allocations: 0.8637 MB / 0.8626 GB, free: 29.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2881/1.547, allocations: 83.07 MB / 0.9437 GB, free: 178.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006129/1.553, allocations: 5.242 MB / 0.9488 GB, free: 176.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005854/1.559, allocations: 2.537 MB / 0.9513 GB, free: 176.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003429/1.562, allocations: 3.398 MB / 0.9546 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.343e-06/1.562, allocations: 3.938 kB / 0.9546 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.668, allocations: 96.26 MB / 1.049 GB, free: 88.05 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/1.668, allocations: 197.1 kB / 1.049 GB, free: 87.79 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/5.843, allocations: 0 / 1.049 GB, free: 87.79 MB / 0.5607 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches