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.001578/0.001578, allocations: 110 kB / 19.69 MB, free: 2.043 MB / 14.72 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.001931/0.001931, allocations: 223.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.509/1.509, allocations: 207.6 MB / 233.8 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] 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.2277/0.2277, allocations: 44.23 MB / 330.3 MB, free: 9.512 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 75.42 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.114, allocations: 61.04 MB / 0.5161 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01417/0.1281, allocations: 10.63 MB / 0.5265 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007002/0.1351, allocations: 3.034 MB / 0.5295 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.1367, allocations: 59.81 kB / 0.5295 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004521/0.1412, allocations: 2.029 MB / 0.5315 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.1444, allocations: 1.222 MB / 0.5327 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.1453, allocations: 295.4 kB / 0.533 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003692/0.149, allocations: 2.454 MB / 0.5354 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.1516, allocations: 1.816 MB / 0.5372 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.1532, allocations: 0.9656 MB / 0.5381 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.207/0.3601, allocations: 1.368 MB / 0.5394 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000711/0.3608, allocations: 214 kB / 0.5397 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.3624, allocations: 0.7257 MB / 0.5404 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.364, allocations: 1.244 MB / 0.5416 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.3662, allocations: 1.43 MB / 0.543 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006138/0.3724, allocations: 4.728 MB / 0.5476 GB, free: 10.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3724, allocations: 0.7969 kB / 0.5476 GB, free: 10.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3724, allocations: 0 / 0.5476 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001568/0.3725, allocations: 3.594 kB / 0.5476 GB, free: 10.55 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.007966/0.3805, allocations: 3.077 MB / 0.5506 GB, free: 9.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3805, allocations: 9.5 kB / 0.5506 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001617/0.3822, allocations: 0.5124 MB / 0.5511 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006531/0.3887, allocations: 1.629 MB / 0.5527 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.3926, allocations: 1.343 MB / 0.554 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.3928, allocations: 156.1 kB / 0.5542 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007355/0.3935, allocations: 201.6 kB / 0.5544 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.4072, allocations: 6.78 MB / 0.561 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.787e-05/0.4073, allocations: 17.2 kB / 0.561 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003436/0.4076, allocations: 92.81 kB / 0.5611 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/0.4099, allocations: 1.482 MB / 0.5625 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.4214, allocations: 5.808 MB / 0.5682 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03765/0.459, allocations: 21.39 MB / 0.5891 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/0.4641, allocations: 1.725 MB / 0.5908 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.4654, allocations: 0.7231 MB / 0.5915 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008257/0.4737, allocations: 3.284 MB / 0.5947 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.4737, allocations: 39.22 kB / 0.5947 GB, free: 15.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 4.469e-06/0.4737, allocations: 4 kB / 0.5947 GB, free: 15.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.006572/0.4803, allocations: 2.203 MB / 0.5969 GB, free: 13.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4804, allocations: 57.75 kB / 0.5969 GB, free: 13.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/0.4843, allocations: 2.028 MB / 0.5989 GB, free: 11.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.4844, allocations: 39.81 kB / 0.5989 GB, free: 11.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/0.4864, allocations: 2.037 MB / 0.6009 GB, free: 9.109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006063/0.487, allocations: 392.9 kB / 0.6013 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.4882, allocations: 0.6656 MB / 0.602 GB, free: 8.062 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.4885, allocations: 357.9 kB / 0.6023 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.4904, allocations: 0.9588 MB / 0.6032 GB, free: 6.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003608/0.494, allocations: 2.922 MB / 0.6061 GB, free: 2.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0055/0.4995, allocations: 4.243 MB / 0.6102 GB, free: 13.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.158e-05/0.4995, allocations: 20 kB / 0.6103 GB, free: 13.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007706/0.5072, allocations: 3.799 MB / 0.614 GB, free: 10.56 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.5073, allocations: 32 kB / 0.614 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.5074, allocations: 72 kB / 0.6141 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.5075, allocations: 95.94 kB / 0.6142 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/0.5104, allocations: 0.715 MB / 0.6149 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001498/0.5106, allocations: 127.5 kB / 0.615 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.5135, allocations: 457.1 kB / 0.6154 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007649/0.5143, allocations: 196 kB / 0.6156 GB, free: 8.914 MB / 462.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.003495/0.5178, allocations: 1.426 MB / 0.617 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.5182, allocations: 186.7 kB / 0.6172 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.5207, allocations: 1.197 MB / 0.6183 GB, free: 6.082 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.5207, allocations: 15.94 kB / 0.6184 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5207, allocations: 0 / 0.6184 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.5207, allocations: 3.984 kB / 0.6184 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.532, allocations: 4.952 MB / 0.6232 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.532, allocations: 8 kB / 0.6232 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.5326, allocations: 135.5 kB / 0.6233 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/0.5326, allocations: 14.34 kB / 0.6233 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.5327, allocations: 31.94 kB / 0.6234 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/0.5327, allocations: 15.94 kB / 0.6234 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.04e-05/0.5327, allocations: 19.92 kB / 0.6234 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.535, allocations: 1.513 MB / 0.6249 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.5356, allocations: 202.5 kB / 0.6251 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.5359, allocations: 27.92 kB / 0.6251 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/0.5366, allocations: 42.25 kB / 0.6251 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.5367, allocations: 67.73 kB / 0.6252 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.5368, allocations: 39.98 kB / 0.6252 GB, free: 14.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00263/0.5394, allocations: 1.332 MB / 0.6266 GB, free: 13.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5394, allocations: 0 / 0.6266 GB, free: 13.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003543/0.543, allocations: 0.7623 MB / 0.6273 GB, free: 12.59 MB / 478.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.002846/0.5458, allocations: 2.128 MB / 0.6294 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004091/0.5499, allocations: 2.162 MB / 0.6315 GB, free: 8.188 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.5499, allocations: 4 kB / 0.6315 GB, free: 8.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.5507, allocations: 0.5103 MB / 0.632 GB, free: 7.676 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.5524, allocations: 256 kB / 0.6322 GB, free: 7.438 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03752/0.5899, allocations: 22.63 MB / 0.6543 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003617/0.5935, allocations: 2.404 MB / 0.6567 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002552/0.596, allocations: 1.019 MB / 0.6577 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/0.5982, allocations: 1.136 MB / 0.6588 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.5982, allocations: 0 / 0.6588 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08476/0.683, allocations: 37.91 MB / 0.6958 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/15.88, allocations: 7.922 kB / 0.6958 GB, free: 3.551 MB / 0.5294 GB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/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: 19.051124894998793]