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.002038/0.002038, allocations: 75.75 kB / 21.24 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.002284/0.002284, allocations: 160.3 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.483/1.483, allocations: 177.1 MB / 204.7 MB, free: 8.973 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.2157/0.2157, allocations: 34.26 MB / 295.4 MB, free: 14.47 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 83.88 kB / 443.1 MB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3687, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.008117/0.3768, allocations: 8.414 MB / 0.5055 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.3828, allocations: 2.781 MB / 0.5082 GB, free: 22.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.3841, allocations: 56.66 kB / 0.5082 GB, free: 22.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.3873, allocations: 1.938 MB / 0.5101 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.3897, allocations: 1.139 MB / 0.5113 GB, free: 21.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.3904, allocations: 292.3 kB / 0.5115 GB, free: 21.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.3934, allocations: 2.323 MB / 0.5138 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.3955, allocations: 1.732 MB / 0.5155 GB, free: 19.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.3969, allocations: 0.8952 MB / 0.5164 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.3987, allocations: 1.169 MB / 0.5175 GB, free: 18.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004063/0.3991, allocations: 192.9 kB / 0.5177 GB, free: 18.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.4004, allocations: 0.6096 MB / 0.5183 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.4017, allocations: 1.138 MB / 0.5194 GB, free: 18.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.4027, allocations: 0.9449 MB / 0.5203 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006057/0.4088, allocations: 4.348 MB / 0.5246 GB, free: 15.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4088, allocations: 0.5625 kB / 0.5246 GB, free: 15.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4088, allocations: 0 / 0.5246 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001213/0.4089, allocations: 1.281 kB / 0.5246 GB, free: 15.95 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.006824/0.4157, allocations: 2.865 MB / 0.5274 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4158, allocations: 10.89 kB / 0.5274 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/0.4218, allocations: 1.586 MB / 0.5289 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.4249, allocations: 1.291 MB / 0.5302 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.4251, allocations: 143.5 kB / 0.5303 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.4254, allocations: 188.6 kB / 0.5305 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.4361, allocations: 6.26 MB / 0.5366 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.4362, allocations: 18.12 kB / 0.5366 GB, free: 9.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.4364, allocations: 90.84 kB / 0.5367 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002185/0.4386, allocations: 1.34 MB / 0.538 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.4495, allocations: 5.335 MB / 0.5432 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02859/0.4781, allocations: 18.36 MB / 0.5612 GB, free: 3.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/0.4829, allocations: 1.638 MB / 0.5628 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.484, allocations: 0.637 MB / 0.5634 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00701/0.491, allocations: 2.972 MB / 0.5663 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.4911, allocations: 39.06 kB / 0.5663 GB, free: 13.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.788e-06/0.4911, allocations: 0 / 0.5663 GB, free: 13.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.006077/0.4972, allocations: 2.104 MB / 0.5684 GB, free: 11.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.4972, allocations: 55.91 kB / 0.5684 GB, free: 11.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/0.5009, allocations: 1.939 MB / 0.5703 GB, free: 9.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.501, allocations: 37.69 kB / 0.5704 GB, free: 9.641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.5028, allocations: 1.915 MB / 0.5722 GB, free: 7.703 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004188/0.5032, allocations: 329.5 kB / 0.5725 GB, free: 7.379 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.5043, allocations: 0.6195 MB / 0.5732 GB, free: 6.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5045, allocations: 349.9 kB / 0.5735 GB, free: 6.402 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.5061, allocations: 0.888 MB / 0.5744 GB, free: 5.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/0.5096, allocations: 2.748 MB / 0.577 GB, free: 1.832 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005274/0.5148, allocations: 3.969 MB / 0.5809 GB, free: 12.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-05/0.5149, allocations: 23.94 kB / 0.5809 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006916/0.5218, allocations: 3.524 MB / 0.5844 GB, free: 9.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.5219, allocations: 36 kB / 0.5844 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.522, allocations: 76.06 kB / 0.5845 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.5221, allocations: 88 kB / 0.5846 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.5244, allocations: 0.655 MB / 0.5852 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001378/0.5245, allocations: 127.5 kB / 0.5853 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.5268, allocations: 413 kB / 0.5857 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/0.5271, allocations: 192 kB / 0.5859 GB, free: 7.809 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.002735/0.5299, allocations: 1.35 MB / 0.5872 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003863/0.5303, allocations: 154.9 kB / 0.5874 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.5307, allocations: 188 kB / 0.5876 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.5307, allocations: 8 kB / 0.5876 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.5307, allocations: 4 kB / 0.5876 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5307, allocations: 3.984 kB / 0.5876 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/0.5383, allocations: 3.131 MB / 0.5906 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.5383, allocations: 12.02 kB / 0.5906 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.5387, allocations: 95.89 kB / 0.5907 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.5388, allocations: 8 kB / 0.5907 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/0.5388, allocations: 15.98 kB / 0.5907 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.5388, allocations: 11.94 kB / 0.5908 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/0.5388, allocations: 15.88 kB / 0.5908 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.5407, allocations: 1.222 MB / 0.592 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.5411, allocations: 158.7 kB / 0.5921 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.5414, allocations: 27.91 kB / 0.5921 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.5419, allocations: 27.98 kB / 0.5922 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.542, allocations: 55.69 kB / 0.5922 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/0.5421, allocations: 31.98 kB / 0.5923 GB, free: 1.082 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001955/0.544, allocations: 1.114 MB / 0.5933 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.544, allocations: 0 / 0.5933 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003102/0.5471, allocations: 0.6929 MB / 0.594 GB, free: 15.27 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.0004039/0.5475, allocations: 146.8 kB / 0.5942 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003426/0.5509, allocations: 1.952 MB / 0.5961 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.551, allocations: 3.938 kB / 0.5961 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.5516, allocations: 438.4 kB / 0.5965 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5527, allocations: 188.2 kB / 0.5967 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.5652, allocations: 5.061 MB / 0.6016 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003708/0.5689, allocations: 1.719 MB / 0.6033 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002482/0.5714, allocations: 0.9272 MB / 0.6042 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.5717, allocations: 112.5 kB / 0.6043 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of SimCode: time 1.743e-06/0.5717, allocations: 4 kB / 0.6043 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of Templates: time 0.03355/0.6053, allocations: 11.64 MB / 0.6157 GB, free: 9.129 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.68086249101907]