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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9193/0.9193, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1412/0.1412, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 406.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.864e-05, allocations: 6.078 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007348/0.007376, allocations: 9.277 MB / 416.1 MB, free: 4.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.01247, allocations: 2.862 MB / 419 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.01364, allocations: 59.81 kB / 419 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.01582, allocations: 2.052 MB / 421.1 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.01765, allocations: 1.264 MB / 422.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.01815, allocations: 307.2 kB / 422.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.02051, allocations: 2.5 MB / 425.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.02265, allocations: 1.835 MB / 427 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.02412, allocations: 1.392 MB / 428.4 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.02539, allocations: 1.255 MB / 429.6 MB, free: 6.609 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002962/0.02569, allocations: 212 kB / 429.8 MB, free: 6.402 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.02644, allocations: 0.6552 MB / 430.5 MB, free: 5.746 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006885/0.02712, allocations: 1.289 MB / 431.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.02775, allocations: 0.7865 MB / 432.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.17/0.1978, allocations: 4.68 MB / 437.3 MB, free: 21.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1978, allocations: 0.8125 kB / 437.3 MB, free: 21.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1978, allocations: 1.531 kB / 437.3 MB, free: 21.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001509/0.1979, allocations: 0.9375 kB / 437.3 MB, free: 21.47 MB / 362.7 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.003444/0.2014, allocations: 3.046 MB / 440.3 MB, free: 20.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2014, allocations: 12.72 kB / 440.3 MB, free: 20.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004352/0.2019, allocations: 0.5083 MB / 440.8 MB, free: 20.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/0.2049, allocations: 1.647 MB / 442.5 MB, free: 19.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.2066, allocations: 1.356 MB / 443.8 MB, free: 19.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.091e-05/0.2067, allocations: 156.8 kB / 444 MB, free: 19.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.2069, allocations: 199.8 kB / 444.2 MB, free: 19.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006686/0.2136, allocations: 6.78 MB / 451 MB, free: 17.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.2136, allocations: 20.69 kB / 451 MB, free: 17.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.2138, allocations: 91.42 kB / 451.1 MB, free: 17.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.2154, allocations: 1.479 MB / 452.5 MB, free: 17.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006074/0.2215, allocations: 5.798 MB / 458.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.2342, allocations: 20.42 MB / 478.8 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.2367, allocations: 1.789 MB / 480.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/0.2374, allocations: 0.721 MB / 481.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003485/0.2409, allocations: 3.231 MB / 484.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2409, allocations: 41.19 kB / 484.5 MB, free: 8.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=93): time 3.066e-06/0.2409, allocations: 0 / 484.5 MB, free: 8.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.003296/0.2442, allocations: 2.33 MB / 486.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.2442, allocations: 60.06 kB / 486.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.2459, allocations: 2.145 MB / 489.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.2459, allocations: 41.06 kB / 489.1 MB, free: 4.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008092/0.2467, allocations: 2.025 MB / 491.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.2469, allocations: 370.6 kB / 491.5 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004947/0.2474, allocations: 0.6553 MB / 492.2 MB, free: 1.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2475, allocations: 357.9 kB / 492.5 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/0.2484, allocations: 0.9666 MB / 493.5 MB, free: 15.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.25, allocations: 2.924 MB / 496.4 MB, free: 12.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.2528, allocations: 4.247 MB / 0.4889 GB, free: 7.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/0.2528, allocations: 20 kB / 0.4889 GB, free: 7.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.003293/0.2561, allocations: 3.788 MB / 0.4926 GB, free: 3.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.2561, allocations: 36.03 kB / 0.4927 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/0.2562, allocations: 72 kB / 0.4927 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.199e-05/0.2562, allocations: 88 kB / 0.4928 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.2574, allocations: 0.7212 MB / 0.4935 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.344e-05/0.2574, allocations: 131.5 kB / 0.4936 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.2585, allocations: 472.5 kB / 0.4941 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.2587, allocations: 197.6 kB / 0.4943 GB, free: 1.777 MB / 394.7 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.001228/0.2599, allocations: 1.424 MB / 0.4957 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.26, allocations: 174.8 kB / 0.4958 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.2613, allocations: 1.203 MB / 0.497 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.2613, allocations: 10.06 kB / 0.497 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2613, allocations: 4 kB / 0.497 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2613, allocations: 7.922 kB / 0.497 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/0.266, allocations: 4.868 MB / 0.5018 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.266, allocations: 12 kB / 0.5018 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.2663, allocations: 127.8 kB / 0.5019 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.2663, allocations: 12 kB / 0.5019 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.2663, allocations: 24 kB / 0.502 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/0.2664, allocations: 15.94 kB / 0.502 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.2664, allocations: 23.86 kB / 0.502 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2674, allocations: 1.499 MB / 0.5035 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.2676, allocations: 199.9 kB / 0.5037 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.2677, allocations: 23.98 kB / 0.5037 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.268, allocations: 39.92 kB / 0.5037 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.2681, allocations: 79.67 kB / 0.5038 GB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.2681, allocations: 40.86 kB / 0.5038 GB, free: 7.734 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.2692, allocations: 1.332 MB / 0.5051 GB, free: 6.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2692, allocations: 0 / 0.5051 GB, free: 6.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001498/0.2707, allocations: 0.761 MB / 0.5059 GB, free: 5.621 MB / 410.7 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.0016/0.2723, allocations: 2.116 MB / 0.5079 GB, free: 3.367 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.274, allocations: 2.15 MB / 0.51 GB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.274, allocations: 0 / 0.51 GB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.2744, allocations: 0.5062 MB / 0.5105 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.2752, allocations: 262.8 kB / 0.5108 GB, free: 488 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/0.2937, allocations: 22.51 MB / 0.5328 GB, free: 7.254 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.2951, allocations: 1.843 MB / 0.5346 GB, free: 5.383 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001333/0.2965, allocations: 1.014 MB / 0.5356 GB, free: 4.367 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/0.2974, allocations: 1.137 MB / 0.5367 GB, free: 3.227 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2974, allocations: 0 / 0.5367 GB, free: 3.227 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/0.3465, allocations: 35.45 MB / 0.5713 GB, free: 15.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.616, allocations: 11.91 kB / 0.5713 GB, free: 15.75 MB / 490.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForce.force[3] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[3] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[2] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[2] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! Error: Could not read variable cutForce.force[1] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv. Warning: Get data of variable cutForce.force[1] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.749986712820828]