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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 112.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 200 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1942/0.1942, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 84.09 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2918, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.009225/0.3011, allocations: 9.531 MB / 0.5409 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005526/0.3066, allocations: 2.917 MB / 0.5438 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.3079, allocations: 52.03 kB / 0.5438 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003404/0.3113, allocations: 2.002 MB / 0.5458 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.3141, allocations: 1.127 MB / 0.5469 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.3148, allocations: 285.4 kB / 0.5472 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.3176, allocations: 2.339 MB / 0.5495 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.3197, allocations: 2.297 MB / 0.5517 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009952/0.3207, allocations: 0.8761 MB / 0.5526 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.3219, allocations: 1.156 MB / 0.5537 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002741/0.3222, allocations: 196 kB / 0.5539 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.3232, allocations: 0.6982 MB / 0.5546 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008105/0.3241, allocations: 1.11 MB / 0.5556 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009794/0.3251, allocations: 1.305 MB / 0.5569 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00363/0.3287, allocations: 4.323 MB / 0.5611 GB, free: 3.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3287, allocations: 0 / 0.5611 GB, free: 3.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3287, allocations: 3.938 kB / 0.5611 GB, free: 3.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.446e-05/0.3288, allocations: 0 / 0.5611 GB, free: 3.422 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003931/0.3327, allocations: 2.861 MB / 0.5639 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3328, allocations: 12.03 kB / 0.5639 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.3371, allocations: 1.557 MB / 0.5655 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.3393, allocations: 1.344 MB / 0.5668 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-05/0.3394, allocations: 148 kB / 0.5669 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.3398, allocations: 187.8 kB / 0.5671 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008344/0.3481, allocations: 6.246 MB / 0.5732 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.3482, allocations: 11.88 kB / 0.5732 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.3484, allocations: 87.91 kB / 0.5733 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001688/0.3501, allocations: 1.34 MB / 0.5746 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008591/0.3587, allocations: 5.331 MB / 0.5798 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/0.3813, allocations: 20.01 MB / 0.5993 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.3851, allocations: 2.083 MB / 0.6014 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008291/0.3859, allocations: 0.6859 MB / 0.602 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005207/0.3911, allocations: 3.487 MB / 0.6054 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3912, allocations: 39 kB / 0.6055 GB, free: 4.746 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.965e-06/0.3912, allocations: 0 / 0.6055 GB, free: 4.746 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.004657/0.3959, allocations: 1.974 MB / 0.6074 GB, free: 2.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3959, allocations: 55.84 kB / 0.6075 GB, free: 2.695 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.3981, allocations: 1.933 MB / 0.6094 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3982, allocations: 37.69 kB / 0.6094 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009951/0.3992, allocations: 1.84 MB / 0.6112 GB, free: 14.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.3994, allocations: 316.1 kB / 0.6115 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006348/0.4001, allocations: 0.6112 MB / 0.6121 GB, free: 13.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4002, allocations: 357.9 kB / 0.6124 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.4013, allocations: 0.8881 MB / 0.6133 GB, free: 12.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.4034, allocations: 2.755 MB / 0.616 GB, free: 8.977 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003569/0.407, allocations: 3.968 MB / 0.6199 GB, free: 4.086 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-05/0.407, allocations: 16 kB / 0.6199 GB, free: 4.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00472/0.4117, allocations: 3.53 MB / 0.6233 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.4118, allocations: 32 kB / 0.6234 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/0.4119, allocations: 72 kB / 0.6234 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.648e-05/0.412, allocations: 84 kB / 0.6235 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.4136, allocations: 0.6595 MB / 0.6241 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-05/0.4137, allocations: 127.5 kB / 0.6243 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.4153, allocations: 415.6 kB / 0.6247 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.4155, allocations: 196 kB / 0.6249 GB, free: 14.96 MB / 494.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.001584/0.4171, allocations: 1.338 MB / 0.6262 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.4173, allocations: 153.9 kB / 0.6263 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.4176, allocations: 200.9 kB / 0.6265 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.4176, allocations: 11.98 kB / 0.6265 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.4176, allocations: 0 / 0.6265 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4176, allocations: 3.984 kB / 0.6265 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/0.423, allocations: 4.069 MB / 0.6305 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.4231, allocations: 12.14 kB / 0.6305 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.4234, allocations: 99.83 kB / 0.6306 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.4234, allocations: 8 kB / 0.6306 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.4235, allocations: 19.92 kB / 0.6306 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.4235, allocations: 12 kB / 0.6306 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4235, allocations: 7.938 kB / 0.6306 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.4248, allocations: 1.23 MB / 0.6318 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.4251, allocations: 250.7 kB / 0.6321 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.4252, allocations: 23.92 kB / 0.6321 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.4256, allocations: 27.97 kB / 0.6321 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.4257, allocations: 55.77 kB / 0.6322 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.4258, allocations: 28 kB / 0.6322 GB, free: 7.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001468/0.4272, allocations: 1.267 MB / 0.6334 GB, free: 5.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4273, allocations: 0 / 0.6334 GB, free: 5.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002139/0.4294, allocations: 0.6804 MB / 0.6341 GB, free: 5.215 MB / 494.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.0002513/0.4297, allocations: 151 kB / 0.6343 GB, free: 5.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002606/0.4323, allocations: 2.033 MB / 0.6362 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4323, allocations: 0 / 0.6362 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.4328, allocations: 466.9 kB / 0.6367 GB, free: 2.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4339, allocations: 244.9 kB / 0.6369 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/0.4412, allocations: 5.317 MB / 0.6421 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/0.4432, allocations: 2.279 MB / 0.6443 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.4436, allocations: 143.4 kB / 0.6445 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of SimCode: time 6.92e-07/0.4436, allocations: 0 / 0.6445 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.04016/0.4838, allocations: 30.13 MB / 0.6739 GB, free: 12.38 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches