Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001644/0.001644, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001906/0.001906, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.462/1.462, allocations: 230.4 MB / 254.7 MB, free: 14.98 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.2235/0.2235, allocations: 46.92 MB / 357.7 MB, free: 10.14 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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 75.89 kB / 0.4916 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1205, allocations: 66.05 MB / 0.5561 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01225/0.1328, allocations: 9.564 MB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006466/0.1393, allocations: 2.944 MB / 0.5684 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.1406, allocations: 55.81 kB / 0.5684 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.1447, allocations: 2.013 MB / 0.5704 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.1477, allocations: 1.125 MB / 0.5715 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008522/0.1485, allocations: 295.4 kB / 0.5718 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003657/0.1522, allocations: 2.328 MB / 0.574 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002731/0.1549, allocations: 1.914 MB / 0.5759 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.1564, allocations: 0.8917 MB / 0.5768 GB, free: 236 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.1583, allocations: 1.25 MB / 0.578 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005369/0.1589, allocations: 192 kB / 0.5782 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.1604, allocations: 0.7292 MB / 0.5789 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.1618, allocations: 1.137 MB / 0.58 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.1637, allocations: 1.305 MB / 0.5813 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005672/0.1693, allocations: 4.334 MB / 0.5855 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1694, allocations: 0 / 0.5855 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1694, allocations: 4 kB / 0.5855 GB, free: 7.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00012/0.1695, allocations: 0 / 0.5855 GB, free: 7.25 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.006128/0.1756, allocations: 2.942 MB / 0.5884 GB, free: 4.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1757, allocations: 12.03 kB / 0.5884 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.194e-05/0.1757, allocations: 63.94 kB / 0.5885 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008913/0.1766, allocations: 487.1 kB / 0.5889 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005641/0.1823, allocations: 1.574 MB / 0.5905 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.1853, allocations: 1.34 MB / 0.5918 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.1854, allocations: 147.6 kB / 0.5919 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000597/0.186, allocations: 187.9 kB / 0.5921 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2378/0.4239, allocations: 6.249 MB / 0.5982 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.889e-05/0.4239, allocations: 19.97 kB / 0.5982 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.4243, allocations: 86.12 kB / 0.5983 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002501/0.4268, allocations: 1.342 MB / 0.5996 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.4388, allocations: 5.332 MB / 0.6048 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.4695, allocations: 20.02 MB / 0.6244 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.4735, allocations: 2.015 MB / 0.6263 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008253/0.4743, allocations: 0.6382 MB / 0.627 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005491/0.4798, allocations: 3.496 MB / 0.6304 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4798, allocations: 39 kB / 0.6304 GB, free: 12.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.907e-06/0.4799, allocations: 0 / 0.6304 GB, free: 12.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005186/0.485, allocations: 1.984 MB / 0.6323 GB, free: 10.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.4851, allocations: 59.83 kB / 0.6324 GB, free: 10.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.4874, allocations: 1.941 MB / 0.6343 GB, free: 8.387 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.4876, allocations: 37.7 kB / 0.6343 GB, free: 8.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008758/0.4884, allocations: 1.908 MB / 0.6362 GB, free: 6.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.4887, allocations: 328.1 kB / 0.6365 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006709/0.4894, allocations: 0.6214 MB / 0.6371 GB, free: 5.617 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.4895, allocations: 361.9 kB / 0.6375 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4905, allocations: 0.8803 MB / 0.6383 GB, free: 4.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4922, allocations: 2.754 MB / 0.641 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004707/0.4969, allocations: 3.975 MB / 0.6449 GB, free: 11.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.737e-05/0.4969, allocations: 20 kB / 0.6449 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006061/0.503, allocations: 3.534 MB / 0.6484 GB, free: 8.234 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.503, allocations: 33.88 kB / 0.6484 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.881e-05/0.5031, allocations: 71.83 kB / 0.6485 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-05/0.5032, allocations: 88 kB / 0.6485 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.5053, allocations: 0.655 MB / 0.6492 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001146/0.5054, allocations: 131.5 kB / 0.6493 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.5074, allocations: 420.8 kB / 0.6497 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.5076, allocations: 194 kB / 0.6499 GB, free: 6.664 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.002071/0.5097, allocations: 1.345 MB / 0.6512 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.51, allocations: 166.9 kB / 0.6514 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.5104, allocations: 192.9 kB / 0.6516 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.5104, allocations: 11.98 kB / 0.6516 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.5104, allocations: 7.984 kB / 0.6516 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.5104, allocations: 0 / 0.6516 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007185/0.5176, allocations: 4.071 MB / 0.6555 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.5176, allocations: 8 kB / 0.6556 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.5181, allocations: 100.9 kB / 0.6557 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/0.5181, allocations: 8 kB / 0.6557 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.5181, allocations: 24.59 kB / 0.6557 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/0.5181, allocations: 12.95 kB / 0.6557 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5182, allocations: 11.98 kB / 0.6557 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.5198, allocations: 1.239 MB / 0.6569 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.5203, allocations: 255.7 kB / 0.6572 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.5205, allocations: 26.36 kB / 0.6572 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.521, allocations: 25.11 kB / 0.6572 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5211, allocations: 55.67 kB / 0.6573 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.18e-05/0.5211, allocations: 35.98 kB / 0.6573 GB, free: 14.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00201/0.5231, allocations: 1.267 MB / 0.6585 GB, free: 13.56 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5231, allocations: 0 / 0.6585 GB, free: 13.56 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002778/0.5259, allocations: 0.6852 MB / 0.6592 GB, free: 12.88 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.002288/0.5282, allocations: 1.861 MB / 0.661 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.5315, allocations: 1.949 MB / 0.6629 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.5315, allocations: 64 / 0.6629 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.5322, allocations: 436.7 kB / 0.6633 GB, free: 8.551 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.5335, allocations: 238.7 kB / 0.6636 GB, free: 8.324 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/0.5665, allocations: 20.88 MB / 0.684 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003104/0.5696, allocations: 2.271 MB / 0.6862 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002233/0.5718, allocations: 0.9538 MB / 0.6871 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/0.5735, allocations: 1.034 MB / 0.6881 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.5735, allocations: 0 / 0.6881 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0641/0.6376, allocations: 32.81 MB / 0.7202 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.49, allocations: 4.062 kB / 0.7202 GB, free: 11.94 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.991435468022246]