Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 100.4 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1802/0.1802, allocations: 45.92 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 8 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 63.46 MB / 481.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02824/0.1753, allocations: 25.4 MB / 0.4949 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.191, allocations: 6.586 MB / 0.5013 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004567/0.1956, allocations: 123.7 kB / 0.5015 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003895/0.1996, allocations: 1.287 MB / 0.5027 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.2116, allocations: 3.912 MB / 0.5065 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2305/0.4421, allocations: 357.1 kB / 0.5069 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004137/0.4463, allocations: 1.981 MB / 0.5088 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.4507, allocations: 2.234 MB / 0.511 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.4529, allocations: 0.8702 MB / 0.5118 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.4558, allocations: 1.232 MB / 0.513 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009998/0.4568, allocations: 133.1 kB / 0.5132 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.459, allocations: 0.623 MB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.4609, allocations: 1.353 MB / 0.5151 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.4621, allocations: 0.7387 MB / 0.5158 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008081/0.4702, allocations: 4.633 MB / 0.5203 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4702, allocations: 0 / 0.5203 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4702, allocations: 0 / 0.5203 GB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002806/0.4705, allocations: 0.9688 kB / 0.5203 GB, free: 10.62 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.009349/0.4799, allocations: 3.378 MB / 0.5236 GB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4799, allocations: 9.656 kB / 0.5236 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.4929, allocations: 3.738 MB / 0.5273 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/0.4981, allocations: 1.991 MB / 0.5292 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.4983, allocations: 188.6 kB / 0.5294 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000829/0.4991, allocations: 243.8 kB / 0.5297 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.5138, allocations: 10.22 MB / 0.5396 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.892e-05/0.5139, allocations: 28.03 kB / 0.5397 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/0.5143, allocations: 118 kB / 0.5398 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003315/0.5176, allocations: 2.46 MB / 0.5422 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.5358, allocations: 9.394 MB / 0.5514 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04954/0.5853, allocations: 31.75 MB / 0.5824 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005971/0.5914, allocations: 3.338 MB / 0.5856 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.5927, allocations: 1.309 MB / 0.5869 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.5927, allocations: 45.62 kB / 0.5869 GB, free: 8.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 4.98e-06/0.5927, allocations: 0 / 0.5869 GB, free: 8.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02079/0.6135, allocations: 9.626 MB / 0.5963 GB, free: 14.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.6136, allocations: 64.72 kB / 0.5964 GB, free: 14.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.6176, allocations: 2.705 MB / 0.599 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002018/0.6178, allocations: 53.91 kB / 0.5991 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.6197, allocations: 2.669 MB / 0.6017 GB, free: 9.023 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007312/0.6205, allocations: 0.7128 MB / 0.6024 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.6207, allocations: 92 kB / 0.6025 GB, free: 8.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003408/0.621, allocations: 0.5166 MB / 0.603 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/0.6237, allocations: 1.524 MB / 0.6045 GB, free: 6.176 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004547/0.6283, allocations: 4.338 MB / 0.6087 GB, free: 492 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/0.6323, allocations: 2.595 MB / 0.6113 GB, free: 13.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.773e-05/0.6324, allocations: 28 kB / 0.6113 GB, free: 13.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.00993/0.6423, allocations: 5.784 MB / 0.6169 GB, free: 8.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.6424, allocations: 48 kB / 0.617 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.6425, allocations: 100 kB / 0.6171 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/0.6429, allocations: 188.8 kB / 0.6172 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003405/0.6463, allocations: 1.064 MB / 0.6183 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.6482, allocations: 1.702 MB / 0.62 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/0.6518, allocations: 212 kB / 0.6202 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005658/0.6524, allocations: 292 kB / 0.6204 GB, free: 4.387 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (592): * Single equations (assignments): 585 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004454/0.6568, allocations: 1.989 MB / 0.6224 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/0.6573, allocations: 244.7 kB / 0.6226 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.6612, allocations: 2.526 MB / 0.6251 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/0.6612, allocations: 23.75 kB / 0.6251 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6612, allocations: 2.406 kB / 0.6251 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.6613, allocations: 7.969 kB / 0.6251 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.6759, allocations: 7.942 MB / 0.6329 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.676, allocations: 12 kB / 0.6329 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.677, allocations: 251.5 kB / 0.6331 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.6772, allocations: 57.45 kB / 0.6332 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.6773, allocations: 43.98 kB / 0.6332 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.6787, allocations: 1.523 MB / 0.6347 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.6787, allocations: 16 kB / 0.6347 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/0.6842, allocations: 4.793 MB / 0.6394 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/0.6851, allocations: 302.1 kB / 0.6397 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.6853, allocations: 47.83 kB / 0.6397 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.6861, allocations: 51.95 kB / 0.6398 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.6863, allocations: 128 kB / 0.6399 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.6864, allocations: 63.98 kB / 0.64 GB, free: 15.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002534/0.689, allocations: 1.666 MB / 0.6416 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.689, allocations: 0 / 0.6416 GB, free: 13.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003781/0.6928, allocations: 0.812 MB / 0.6424 GB, free: 13.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004999/0.6933, allocations: 191.5 kB / 0.6426 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005694/0.699, allocations: 3.814 MB / 0.6463 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.699, allocations: 0 / 0.6463 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.7006, allocations: 1.231 MB / 0.6475 GB, free: 7.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.7021, allocations: 318.6 kB / 0.6478 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.7191, allocations: 10.17 MB / 0.6577 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0039/0.723, allocations: 3.214 MB / 0.6609 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004242/0.7273, allocations: 1.71 MB / 0.6625 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/0.7279, allocations: 187.4 kB / 0.6627 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.7279, allocations: 0 / 0.6627 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of Templates: time 0.04681/0.7747, allocations: 22.14 MB / 0.6843 GB, free: 2.164 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches