Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 79.86 kB / 0.4912 GB, free: 8.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1118, allocations: 65.99 MB / 0.5557 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01162/0.1235, allocations: 9.571 MB / 0.565 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006195/0.1297, allocations: 2.94 MB / 0.5679 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.1309, allocations: 51.88 kB / 0.5679 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004084/0.1349, allocations: 2.021 MB / 0.5699 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.1378, allocations: 1.125 MB / 0.571 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.1386, allocations: 287.4 kB / 0.5713 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003167/0.1417, allocations: 2.336 MB / 0.5736 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.1441, allocations: 1.914 MB / 0.5754 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1453, allocations: 0.88 MB / 0.5763 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.1472, allocations: 1.254 MB / 0.5775 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004352/0.1476, allocations: 195.9 kB / 0.5777 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.1489, allocations: 0.7255 MB / 0.5784 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.15, allocations: 1.141 MB / 0.5795 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.1515, allocations: 1.305 MB / 0.5808 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005305/0.1568, allocations: 4.33 MB / 0.585 GB, free: 8.008 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.1568, allocations: 0 / 0.585 GB, free: 8.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1568, allocations: 0 / 0.585 GB, free: 8.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001286/0.157, allocations: 3.938 kB / 0.585 GB, free: 8.004 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005732/0.1627, allocations: 2.938 MB / 0.5879 GB, free: 5.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1627, allocations: 8.031 kB / 0.5879 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007474/0.1635, allocations: 487.1 kB / 0.5884 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.1686, allocations: 1.582 MB / 0.5899 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.172, allocations: 1.34 MB / 0.5912 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.1721, allocations: 151.8 kB / 0.5914 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004909/0.1726, allocations: 183.9 kB / 0.5916 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2266/0.3992, allocations: 6.24 MB / 0.5976 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.253e-05/0.3992, allocations: 13.03 kB / 0.5977 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.3995, allocations: 93.39 kB / 0.5978 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/0.4017, allocations: 1.341 MB / 0.5991 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.4129, allocations: 5.332 MB / 0.6043 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0256/0.4385, allocations: 20.04 MB / 0.6238 GB, free: 17.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004469/0.443, allocations: 2.005 MB / 0.6258 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/0.4438, allocations: 0.6405 MB / 0.6264 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005611/0.4494, allocations: 3.499 MB / 0.6298 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4494, allocations: 37 kB / 0.6299 GB, free: 13.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.787e-06/0.4494, allocations: 0 / 0.6299 GB, free: 13.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.00462/0.454, allocations: 1.976 MB / 0.6318 GB, free: 11.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.4541, allocations: 59.78 kB / 0.6319 GB, free: 11.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.456, allocations: 1.954 MB / 0.6338 GB, free: 9.566 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.4561, allocations: 29.7 kB / 0.6338 GB, free: 9.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006765/0.4568, allocations: 1.911 MB / 0.6357 GB, free: 7.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.457, allocations: 326.2 kB / 0.636 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005348/0.4575, allocations: 0.6214 MB / 0.6366 GB, free: 6.809 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.4576, allocations: 357.9 kB / 0.6369 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000962/0.4585, allocations: 0.8893 MB / 0.6378 GB, free: 5.562 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.46, allocations: 2.751 MB / 0.6405 GB, free: 1.879 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.464, allocations: 3.971 MB / 0.6444 GB, free: 12.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-05/0.464, allocations: 19.66 kB / 0.6444 GB, free: 12.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005727/0.4698, allocations: 3.536 MB / 0.6478 GB, free: 9.422 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.4698, allocations: 32 kB / 0.6479 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-05/0.4699, allocations: 68 kB / 0.6479 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.961e-05/0.47, allocations: 84 kB / 0.648 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.4719, allocations: 0.655 MB / 0.6486 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001149/0.4721, allocations: 127.5 kB / 0.6488 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.4741, allocations: 435.2 kB / 0.6492 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/0.4744, allocations: 188 kB / 0.6494 GB, free: 7.852 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002183/0.4766, allocations: 1.344 MB / 0.6507 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.4769, allocations: 166.9 kB / 0.6508 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.4772, allocations: 192.9 kB / 0.651 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.4772, allocations: 8 kB / 0.651 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4773, allocations: 4 kB / 0.651 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4773, allocations: 7.922 kB / 0.651 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00759/0.4849, allocations: 4.075 MB / 0.655 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.4849, allocations: 5.25 kB / 0.655 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.4853, allocations: 104.6 kB / 0.6551 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.4853, allocations: 11.94 kB / 0.6551 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.736e-05/0.4854, allocations: 16 kB / 0.6551 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.4854, allocations: 12 kB / 0.6552 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.4854, allocations: 7.938 kB / 0.6552 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.487, allocations: 1.247 MB / 0.6564 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.4875, allocations: 251.7 kB / 0.6566 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.4876, allocations: 27.86 kB / 0.6566 GB, free: 136 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.4881, allocations: 31.86 kB / 0.6567 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.4882, allocations: 51.83 kB / 0.6567 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.4882, allocations: 31.98 kB / 0.6568 GB, free: 24 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001877/0.4901, allocations: 1.267 MB / 0.658 GB, free: 14.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4901, allocations: 0 / 0.658 GB, free: 14.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002393/0.4925, allocations: 0.6852 MB / 0.6587 GB, free: 14.08 MB / 478.1 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 (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.002159/0.4947, allocations: 1.861 MB / 0.6605 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003233/0.4979, allocations: 1.954 MB / 0.6624 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4979, allocations: 0 / 0.6624 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.4985, allocations: 433.9 kB / 0.6628 GB, free: 9.754 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4996, allocations: 233 kB / 0.663 GB, free: 9.535 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/0.5307, allocations: 20.88 MB / 0.6834 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/0.5333, allocations: 2.263 MB / 0.6856 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002193/0.5355, allocations: 0.9472 MB / 0.6865 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.537, allocations: 1.038 MB / 0.6876 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.537, allocations: 0 / 0.6876 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06902/0.606, allocations: 32.76 MB / 0.7196 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.35, allocations: 15.98 kB / 0.7196 GB, free: 13.18 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.562027754727751]