Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001747/0.001747, allocations: 81.7 kB / 21.25 MB, free: 0.5469 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.002076/0.002076, allocations: 159.2 kB / 24.5 MB, free: 3.719 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.563/1.563, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.2087/0.2087, allocations: 34.25 MB / 295.4 MB, free: 14.48 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 83.86 kB / 443.1 MB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3719, allocations: 66.06 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007496/0.3794, allocations: 8.421 MB / 0.5055 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004755/0.3842, allocations: 2.776 MB / 0.5082 GB, free: 22.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007655/0.3849, allocations: 58.5 kB / 0.5083 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.3878, allocations: 1.934 MB / 0.5101 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.3898, allocations: 1.144 MB / 0.5113 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.3903, allocations: 294.3 kB / 0.5115 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.3931, allocations: 2.322 MB / 0.5138 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.3949, allocations: 1.729 MB / 0.5155 GB, free: 19.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.3961, allocations: 0.8865 MB / 0.5164 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.3976, allocations: 1.173 MB / 0.5175 GB, free: 18.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.3979, allocations: 193.8 kB / 0.5177 GB, free: 18.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.3991, allocations: 0.6097 MB / 0.5183 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.4002, allocations: 1.137 MB / 0.5194 GB, free: 18.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.4012, allocations: 0.9485 MB / 0.5203 GB, free: 17.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005772/0.407, allocations: 4.34 MB / 0.5246 GB, free: 15.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.407, allocations: 0 / 0.5246 GB, free: 15.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.407, allocations: 5.312 kB / 0.5246 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001244/0.4072, allocations: 0 / 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.005798/0.413, allocations: 2.868 MB / 0.5274 GB, free: 14.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.413, allocations: 9.531 kB / 0.5274 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005492/0.4185, allocations: 1.591 MB / 0.5289 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.4215, allocations: 1.286 MB / 0.5302 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.4216, allocations: 143.2 kB / 0.5303 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.422, allocations: 197.1 kB / 0.5305 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.4331, allocations: 6.256 MB / 0.5366 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/0.4331, allocations: 13.25 kB / 0.5366 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.4334, allocations: 91.53 kB / 0.5367 GB, free: 9.707 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/0.4357, allocations: 1.344 MB / 0.538 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.446, allocations: 5.329 MB / 0.5432 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.47, allocations: 18.4 MB / 0.5612 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004119/0.4741, allocations: 1.569 MB / 0.5627 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4752, allocations: 0.637 MB / 0.5634 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006963/0.4821, allocations: 3.112 MB / 0.5664 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.4822, allocations: 39.06 kB / 0.5664 GB, free: 13.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.096e-06/0.4822, allocations: 4 kB / 0.5664 GB, free: 13.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005776/0.4879, allocations: 2.112 MB / 0.5685 GB, free: 11.54 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.488, allocations: 55.91 kB / 0.5686 GB, free: 11.47 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.4914, allocations: 1.935 MB / 0.5704 GB, free: 9.527 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.4915, allocations: 41.69 kB / 0.5705 GB, free: 9.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.4931, allocations: 1.923 MB / 0.5724 GB, free: 7.535 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.4935, allocations: 325.5 kB / 0.5727 GB, free: 7.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009861/0.4945, allocations: 0.6195 MB / 0.5733 GB, free: 6.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4947, allocations: 345.9 kB / 0.5736 GB, free: 6.242 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.4962, allocations: 0.8881 MB / 0.5745 GB, free: 5.352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003325/0.4995, allocations: 2.751 MB / 0.5772 GB, free: 1.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005336/0.5048, allocations: 3.966 MB / 0.581 GB, free: 12.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.928e-05/0.5049, allocations: 20 kB / 0.5811 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00676/0.5117, allocations: 3.53 MB / 0.5845 GB, free: 9.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.5117, allocations: 36.94 kB / 0.5845 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.5118, allocations: 64 kB / 0.5846 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.512, allocations: 88 kB / 0.5847 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.5141, allocations: 0.6589 MB / 0.5853 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001235/0.5142, allocations: 135.4 kB / 0.5855 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/0.5165, allocations: 416.8 kB / 0.5859 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/0.5169, allocations: 188 kB / 0.586 GB, free: 7.645 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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.002436/0.5194, allocations: 1.342 MB / 0.5873 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.5197, allocations: 158.9 kB / 0.5875 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.5201, allocations: 184 kB / 0.5877 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.5201, allocations: 11.98 kB / 0.5877 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.5201, allocations: 3.938 kB / 0.5877 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.5201, allocations: 7.922 kB / 0.5877 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006453/0.5266, allocations: 3.086 MB / 0.5907 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.5266, allocations: 4.844 kB / 0.5907 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.527, allocations: 103.8 kB / 0.5908 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.527, allocations: 15.94 kB / 0.5908 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.5271, allocations: 19.98 kB / 0.5908 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.5271, allocations: 11.94 kB / 0.5909 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.5271, allocations: 8 kB / 0.5909 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.5287, allocations: 1.246 MB / 0.5921 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.5291, allocations: 154.8 kB / 0.5922 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.5293, allocations: 31.92 kB / 0.5923 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.5298, allocations: 27.97 kB / 0.5923 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.5299, allocations: 51.75 kB / 0.5923 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.53, allocations: 35.98 kB / 0.5924 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001812/0.5318, allocations: 1.114 MB / 0.5935 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5318, allocations: 0 / 0.5935 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002895/0.5347, allocations: 0.7006 MB / 0.5941 GB, free: 15.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0003696/0.5351, allocations: 146.9 kB / 0.5943 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003313/0.5384, allocations: 1.957 MB / 0.5962 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/0.5384, allocations: 4 kB / 0.5962 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.539, allocations: 441.5 kB / 0.5966 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.5403, allocations: 192.9 kB / 0.5968 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5507, allocations: 5.095 MB / 0.6018 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/0.5538, allocations: 1.716 MB / 0.6035 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002357/0.5562, allocations: 0.9389 MB / 0.6044 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.5565, allocations: 112.5 kB / 0.6045 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of SimCode: time 1.382e-06/0.5565, allocations: 4 kB / 0.6045 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of Templates: time 0.0284/0.5849, allocations: 11.58 MB / 0.6158 GB, free: 8.953 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.635287945042364]