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) 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007647/0.000765, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008749/0.0008749, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.2 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002924, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0296/0.152, allocations: 29.39 MB / 0.5004 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.1661, allocations: 6.275 MB / 0.5066 GB, free: 356 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005808/0.172, allocations: 123.8 kB / 0.5067 GB, free: 232 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2173/0.3893, allocations: 286.2 kB / 0.507 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.3921, allocations: 1.042 MB / 0.508 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.3927, allocations: 266.5 kB / 0.5082 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004243/0.397, allocations: 3.365 MB / 0.5115 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004507/0.4015, allocations: 3.339 MB / 0.5148 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.4026, allocations: 0.629 MB / 0.5154 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.4041, allocations: 1.029 MB / 0.5164 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.4043, allocations: 84.22 kB / 0.5165 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.4055, allocations: 0.6322 MB / 0.5171 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.4065, allocations: 0.9881 MB / 0.5181 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.4074, allocations: 1.181 MB / 0.5192 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.4111, allocations: 4.002 MB / 0.5231 GB, free: 8.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4111, allocations: 1.625 kB / 0.5231 GB, free: 8.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4111, allocations: 0 / 0.5231 GB, free: 8.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-05/0.4112, allocations: 0 / 0.5231 GB, free: 8.344 MB / 382.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.004223/0.4154, allocations: 2.348 MB / 0.5254 GB, free: 6.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4155, allocations: 13.03 kB / 0.5254 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/0.4207, allocations: 1.603 MB / 0.527 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.4236, allocations: 1.32 MB / 0.5283 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4238, allocations: 145.1 kB / 0.5284 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005312/0.4243, allocations: 192 kB / 0.5286 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009978/0.4343, allocations: 6.243 MB / 0.5347 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.313e-05/0.4344, allocations: 13.78 kB / 0.5347 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/0.4347, allocations: 89.7 kB / 0.5348 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001884/0.4366, allocations: 1.346 MB / 0.5361 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009871/0.4464, allocations: 5.328 MB / 0.5413 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/0.4752, allocations: 20.18 MB / 0.561 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/0.4796, allocations: 2.005 MB / 0.563 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4807, allocations: 0.6975 MB / 0.5637 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006539/0.4872, allocations: 3.613 MB / 0.5672 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.4873, allocations: 35 kB / 0.5672 GB, free: 3.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.298e-06/0.4873, allocations: 8 kB / 0.5672 GB, free: 3.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005708/0.493, allocations: 1.97 MB / 0.5692 GB, free: 1.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.4931, allocations: 66.39 kB / 0.5692 GB, free: 1.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00356/0.4967, allocations: 1.937 MB / 0.5711 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.4968, allocations: 37.7 kB / 0.5711 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.4982, allocations: 1.833 MB / 0.5729 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.4985, allocations: 322.6 kB / 0.5732 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.4988, allocations: 276.1 kB / 0.5735 GB, free: 13.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.499, allocations: 353.9 kB / 0.5738 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.5003, allocations: 0.8881 MB / 0.5747 GB, free: 12.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.5032, allocations: 2.746 MB / 0.5774 GB, free: 8.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004724/0.508, allocations: 3.972 MB / 0.5813 GB, free: 3.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.07e-05/0.508, allocations: 20 kB / 0.5813 GB, free: 3.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005843/0.5139, allocations: 3.526 MB / 0.5847 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.5139, allocations: 36 kB / 0.5848 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.908e-05/0.514, allocations: 64 kB / 0.5848 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.641e-05/0.5141, allocations: 88 kB / 0.5849 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.516, allocations: 0.6556 MB / 0.5856 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001074/0.5161, allocations: 135.4 kB / 0.5857 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/0.5184, allocations: 419 kB / 0.5861 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.5186, allocations: 188 kB / 0.5863 GB, free: 15.08 MB / 446.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.002535/0.5212, allocations: 1.339 MB / 0.5876 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.5215, allocations: 153.9 kB / 0.5877 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.5218, allocations: 192.9 kB / 0.5879 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.5219, allocations: 12 kB / 0.5879 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.5219, allocations: 3.938 kB / 0.5879 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5219, allocations: 3.984 kB / 0.5879 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/0.5279, allocations: 4.022 MB / 0.5918 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.528, allocations: 11.94 kB / 0.5919 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.5284, allocations: 103.8 kB / 0.592 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.5284, allocations: 16.72 kB / 0.592 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.5284, allocations: 20 kB / 0.592 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.5285, allocations: 19.92 kB / 0.592 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.5285, allocations: 11.94 kB / 0.592 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.5299, allocations: 1.251 MB / 0.5932 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.5303, allocations: 258.6 kB / 0.5935 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.5304, allocations: 23.94 kB / 0.5935 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.5309, allocations: 30.38 kB / 0.5935 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.531, allocations: 55.83 kB / 0.5936 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.5311, allocations: 32 kB / 0.5936 GB, free: 7.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001921/0.533, allocations: 1.263 MB / 0.5949 GB, free: 6.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.533, allocations: 0 / 0.5949 GB, free: 6.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00297/0.536, allocations: 0.6799 MB / 0.5955 GB, free: 5.328 MB / 446.1 MB 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.0004571/0.5365, allocations: 151 kB / 0.5957 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.5402, allocations: 2.024 MB / 0.5976 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.5402, allocations: 5.875 kB / 0.5977 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.5409, allocations: 467.6 kB / 0.5981 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.5436, allocations: 238.1 kB / 0.5983 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.5546, allocations: 6.406 MB / 0.6046 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/0.5574, allocations: 2.279 MB / 0.6068 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002351/0.5598, allocations: 0.952 MB / 0.6077 GB, free: 8.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.5601, allocations: 123.4 kB / 0.6079 GB, free: 8.559 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5601, allocations: 3.938 kB / 0.6079 GB, free: 8.555 MB / 462.1 MB Notification: Performance of Templates: time 0.03196/0.592, allocations: 13.55 MB / 0.6211 GB, free: 11.1 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches