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.001001/0.001002, allocations: 95.12 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009774/0.0009778, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 45.92 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003371, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03151/0.1734, allocations: 32.32 MB / 0.5017 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3229/0.4963, allocations: 7.554 MB / 0.509 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008093/0.5045, allocations: 153.5 kB / 0.5092 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007587/0.5121, allocations: 1.652 MB / 0.5108 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02041/0.5325, allocations: 4.716 MB / 0.5154 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.5345, allocations: 216.3 kB / 0.5156 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.5378, allocations: 1.324 MB / 0.5169 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004933/0.5428, allocations: 2.954 MB / 0.5198 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.5443, allocations: 0.559 MB / 0.5203 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.546, allocations: 0.6986 MB / 0.521 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006756/0.5467, allocations: 86.38 kB / 0.5211 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.5484, allocations: 0.5213 MB / 0.5216 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.5498, allocations: 0.9128 MB / 0.5225 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.5504, allocations: 0.5254 MB / 0.523 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.5541, allocations: 3.422 MB / 0.5264 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5542, allocations: 0 / 0.5264 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5542, allocations: 1.156 kB / 0.5264 GB, free: 7.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.369e-05/0.5543, allocations: 0 / 0.5264 GB, free: 7.469 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004773/0.559, allocations: 2.497 MB / 0.5288 GB, free: 5.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5591, allocations: 9.688 kB / 0.5288 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005755/0.5648, allocations: 1.914 MB / 0.5307 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.5681, allocations: 1.329 MB / 0.532 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.5683, allocations: 150.7 kB / 0.5321 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.5687, allocations: 189 kB / 0.5323 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.5787, allocations: 6.46 MB / 0.5386 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/0.5788, allocations: 14.66 kB / 0.5386 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.5791, allocations: 92.61 kB / 0.5387 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.5813, allocations: 1.402 MB / 0.5401 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.5923, allocations: 5.512 MB / 0.5455 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03126/0.6236, allocations: 20.61 MB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/0.6278, allocations: 2.082 MB / 0.5676 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006659/0.6345, allocations: 3.529 MB / 0.5711 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.6346, allocations: 38.98 kB / 0.5711 GB, free: 7.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.419e-06/0.6346, allocations: 0 / 0.5711 GB, free: 7.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005327/0.6399, allocations: 2.249 MB / 0.5733 GB, free: 5.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.64, allocations: 55.84 kB / 0.5734 GB, free: 5.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.6427, allocations: 1.948 MB / 0.5753 GB, free: 3.422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.6428, allocations: 37.7 kB / 0.5753 GB, free: 3.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.6441, allocations: 1.874 MB / 0.5771 GB, free: 1.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.6444, allocations: 322.1 kB / 0.5774 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.6445, allocations: 60 kB / 0.5775 GB, free: 1.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002881/0.6448, allocations: 493.3 kB / 0.578 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.6461, allocations: 0.8822 MB / 0.5788 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/0.6491, allocations: 2.745 MB / 0.5815 GB, free: 12.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.6513, allocations: 1.559 MB / 0.583 GB, free: 10.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/0.6513, allocations: 20 kB / 0.583 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005698/0.657, allocations: 3.528 MB / 0.5865 GB, free: 6.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.6571, allocations: 32.19 kB / 0.5865 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.718e-05/0.6572, allocations: 72 kB / 0.5866 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-05/0.6573, allocations: 96 kB / 0.5867 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.6591, allocations: 0.6666 MB / 0.5873 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001021/0.6592, allocations: 131.5 kB / 0.5875 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.6613, allocations: 417.1 kB / 0.5878 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.6616, allocations: 188 kB / 0.588 GB, free: 5.395 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002535/0.6641, allocations: 1.372 MB / 0.5894 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.6644, allocations: 161.8 kB / 0.5895 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.6648, allocations: 198.9 kB / 0.5897 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.6648, allocations: 15.98 kB / 0.5897 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.6648, allocations: 3.953 kB / 0.5897 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.6648, allocations: 3.984 kB / 0.5897 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/0.6716, allocations: 4.129 MB / 0.5938 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.6716, allocations: 8 kB / 0.5938 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.672, allocations: 99.81 kB / 0.5939 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.672, allocations: 8 kB / 0.5939 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.6721, allocations: 19.95 kB / 0.5939 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/0.6721, allocations: 16.53 kB / 0.5939 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.6721, allocations: 11.98 kB / 0.5939 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.6738, allocations: 1.653 MB / 0.5955 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.6743, allocations: 258.7 kB / 0.5958 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.6744, allocations: 19.94 kB / 0.5958 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.6749, allocations: 27.89 kB / 0.5958 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.675, allocations: 57.59 kB / 0.5959 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/0.675, allocations: 31.98 kB / 0.5959 GB, free: 12.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001708/0.6768, allocations: 1.268 MB / 0.5972 GB, free: 11.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6768, allocations: 0 / 0.5972 GB, free: 11.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002935/0.6797, allocations: 0.7048 MB / 0.5978 GB, free: 10.92 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000355/0.6801, allocations: 145.3 kB / 0.598 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.6832, allocations: 2.025 MB / 0.6 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6832, allocations: 0 / 0.6 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.6838, allocations: 457.5 kB / 0.6004 GB, free: 8.312 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.6847, allocations: 218.1 kB / 0.6006 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00948/0.6942, allocations: 6.23 MB / 0.6067 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002561/0.6968, allocations: 2.379 MB / 0.609 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002362/0.6992, allocations: 0.9599 MB / 0.6099 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.6995, allocations: 123.4 kB / 0.6101 GB, free: 14.28 MB / 462.1 MB Notification: Performance of SimCode: time 3.427e-06/0.6995, allocations: 0 / 0.6101 GB, free: 14.28 MB / 462.1 MB Notification: Performance of Templates: time 0.0297/0.7292, allocations: 13.64 MB / 0.6234 GB, free: 0.7305 MB / 462.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches