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.00174/0.00174, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.001999/0.001999, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.538/1.538, allocations: 177.1 MB / 204.7 MB, free: 8.988 MB / 190.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.2149/0.2149, allocations: 34.24 MB / 295.4 MB, free: 14.5 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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 79.88 kB / 443.1 MB, free: 6.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3193, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007828/0.3271, allocations: 8.41 MB / 0.5055 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004973/0.3321, allocations: 2.777 MB / 0.5082 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3332, allocations: 57.78 kB / 0.5082 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003126/0.3363, allocations: 1.938 MB / 0.5101 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.3385, allocations: 1.139 MB / 0.5112 GB, free: 21.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.3392, allocations: 290.2 kB / 0.5115 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.3424, allocations: 2.325 MB / 0.5138 GB, free: 20.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.3456, allocations: 1.732 MB / 0.5155 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.3477, allocations: 0.8881 MB / 0.5164 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.3497, allocations: 1.181 MB / 0.5175 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.3501, allocations: 194.4 kB / 0.5177 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.3515, allocations: 0.6051 MB / 0.5183 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.3527, allocations: 1.137 MB / 0.5194 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.3538, allocations: 0.9495 MB / 0.5203 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00838/0.3622, allocations: 4.339 MB / 0.5246 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3622, allocations: 4 kB / 0.5246 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3622, allocations: 1.156 kB / 0.5246 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000148/0.3623, allocations: 0.8906 kB / 0.5246 GB, free: 15.93 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.008426/0.3708, allocations: 2.862 MB / 0.5274 GB, free: 14.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/0.3708, allocations: 10.28 kB / 0.5274 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006236/0.3771, allocations: 1.594 MB / 0.5289 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003616/0.3807, allocations: 1.286 MB / 0.5302 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3808, allocations: 144 kB / 0.5303 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/0.3812, allocations: 188.8 kB / 0.5305 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.3914, allocations: 6.264 MB / 0.5366 GB, free: 9.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/0.3914, allocations: 13.34 kB / 0.5366 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.3917, allocations: 90.33 kB / 0.5367 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002046/0.3937, allocations: 1.34 MB / 0.538 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.4041, allocations: 5.334 MB / 0.5432 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/0.4315, allocations: 18.35 MB / 0.5612 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.4359, allocations: 1.64 MB / 0.5628 GB, free: 1.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009888/0.4368, allocations: 0.6371 MB / 0.5634 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006408/0.4433, allocations: 2.968 MB / 0.5663 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.4433, allocations: 47.05 kB / 0.5663 GB, free: 13.83 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.377e-06/0.4433, allocations: 0 / 0.5663 GB, free: 13.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005825/0.4491, allocations: 2.104 MB / 0.5684 GB, free: 11.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.4492, allocations: 55.91 kB / 0.5684 GB, free: 11.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003704/0.4529, allocations: 1.935 MB / 0.5703 GB, free: 9.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.453, allocations: 33.7 kB / 0.5704 GB, free: 9.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.4544, allocations: 1.919 MB / 0.5722 GB, free: 7.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/0.4548, allocations: 329.6 kB / 0.5725 GB, free: 7.402 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009478/0.4558, allocations: 0.6234 MB / 0.5732 GB, free: 6.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.456, allocations: 349.9 kB / 0.5735 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.4573, allocations: 0.8842 MB / 0.5743 GB, free: 5.535 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.4602, allocations: 2.755 MB / 0.577 GB, free: 1.848 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004706/0.4649, allocations: 3.973 MB / 0.5809 GB, free: 12.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.102e-05/0.4649, allocations: 16 kB / 0.5809 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005484/0.4704, allocations: 3.528 MB / 0.5844 GB, free: 9.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.4704, allocations: 35.94 kB / 0.5844 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.765e-05/0.4705, allocations: 68 kB / 0.5845 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.735e-05/0.4706, allocations: 84 kB / 0.5846 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.4725, allocations: 0.6595 MB / 0.5852 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001052/0.4726, allocations: 127.5 kB / 0.5853 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.4744, allocations: 417 kB / 0.5857 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/0.4746, allocations: 192 kB / 0.5859 GB, free: 7.828 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.002258/0.4769, allocations: 1.35 MB / 0.5872 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.4771, allocations: 154.9 kB / 0.5874 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.4774, allocations: 188 kB / 0.5875 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.4775, allocations: 15.98 kB / 0.5876 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4775, allocations: 0 / 0.5876 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4775, allocations: 0 / 0.5876 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005645/0.4831, allocations: 3.13 MB / 0.5906 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.4831, allocations: 8 kB / 0.5906 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.4836, allocations: 96.58 kB / 0.5907 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.4836, allocations: 8 kB / 0.5907 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.4836, allocations: 23.98 kB / 0.5908 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/0.4836, allocations: 11.94 kB / 0.5908 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.4836, allocations: 7.938 kB / 0.5908 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.4852, allocations: 1.226 MB / 0.592 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.4856, allocations: 154.7 kB / 0.5921 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.4857, allocations: 23.98 kB / 0.5921 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.4862, allocations: 19.98 kB / 0.5922 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4863, allocations: 67.67 kB / 0.5922 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.4863, allocations: 31.98 kB / 0.5923 GB, free: 1.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001697/0.488, allocations: 1.114 MB / 0.5933 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.488, allocations: 0 / 0.5933 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002696/0.4907, allocations: 0.6968 MB / 0.594 GB, free: 15.29 MB / 0.4981 GB 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.0003528/0.4911, allocations: 146.9 kB / 0.5942 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003137/0.4942, allocations: 1.953 MB / 0.5961 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.4942, allocations: 4.125 kB / 0.5961 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000575/0.4948, allocations: 443.9 kB / 0.5965 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.4959, allocations: 187.3 kB / 0.5967 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008742/0.5046, allocations: 5.065 MB / 0.6016 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002629/0.5072, allocations: 1.704 MB / 0.6033 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002198/0.5094, allocations: 0.9389 MB / 0.6042 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.5097, allocations: 112.5 kB / 0.6043 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.5097, allocations: 0 / 0.6043 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.03634/0.5461, allocations: 11.64 MB / 0.6157 GB, free: 9.152 MB / 0.5138 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] 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: 5.669164987979457]