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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 110.5 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001856/0.001856, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2565/0.2565, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 76 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1258, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03089/0.1568, allocations: 29.53 MB / 0.4972 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.1725, allocations: 6.59 MB / 0.5036 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005806/0.1784, allocations: 123.7 kB / 0.5037 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2607/0.4392, allocations: 1.24 MB / 0.505 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007126/0.4464, allocations: 1.609 MB / 0.5065 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.4475, allocations: 401.8 kB / 0.5069 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00553/0.453, allocations: 3.598 MB / 0.5104 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003028/0.4561, allocations: 2.097 MB / 0.5125 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.4585, allocations: 1.196 MB / 0.5136 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.4616, allocations: 1.904 MB / 0.5155 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006377/0.4622, allocations: 239.6 kB / 0.5157 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.4642, allocations: 0.8216 MB / 0.5165 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.4659, allocations: 1.591 MB / 0.5181 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.4678, allocations: 1.89 MB / 0.5199 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007133/0.475, allocations: 5.83 MB / 0.5256 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.475, allocations: 0 / 0.5256 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.475, allocations: 0 / 0.5256 GB, free: 7.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001508/0.4752, allocations: 3.75 kB / 0.5256 GB, free: 7.016 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.006967/0.4822, allocations: 4.029 MB / 0.5296 GB, free: 4.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4822, allocations: 9.625 kB / 0.5296 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007579/0.483, allocations: 0.6999 MB / 0.5303 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009671/0.4927, allocations: 3.086 MB / 0.5333 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/0.4965, allocations: 2.109 MB / 0.5353 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.4966, allocations: 189.1 kB / 0.5355 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004717/0.4971, allocations: 245.2 kB / 0.5357 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.5129, allocations: 10.18 MB / 0.5457 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.826e-05/0.513, allocations: 29.12 kB / 0.5457 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/0.5134, allocations: 118.2 kB / 0.5458 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003949/0.5173, allocations: 2.464 MB / 0.5482 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.5355, allocations: 9.365 MB / 0.5574 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05335/0.5889, allocations: 31.66 MB / 0.5883 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006701/0.5956, allocations: 3.345 MB / 0.5916 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.5975, allocations: 1.072 MB / 0.5926 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.5988, allocations: 1.303 MB / 0.5939 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.5989, allocations: 56.58 kB / 0.5939 GB, free: 6.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 5.4e-06/0.5989, allocations: 0 / 0.5939 GB, free: 6.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.02183/0.6207, allocations: 9.104 MB / 0.6028 GB, free: 13.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.6208, allocations: 68.72 kB / 0.6029 GB, free: 13.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005288/0.6261, allocations: 2.603 MB / 0.6054 GB, free: 11.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.6263, allocations: 53.7 kB / 0.6055 GB, free: 11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.6285, allocations: 2.663 MB / 0.6081 GB, free: 8.332 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009046/0.6294, allocations: 0.7102 MB / 0.6088 GB, free: 7.629 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002142/0.6316, allocations: 0.9629 MB / 0.6097 GB, free: 6.656 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6317, allocations: 305.1 kB / 0.61 GB, free: 6.355 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00284/0.6346, allocations: 1.54 MB / 0.6115 GB, free: 4.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005401/0.64, allocations: 4.378 MB / 0.6158 GB, free: 15.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00785/0.6479, allocations: 6.552 MB / 0.6222 GB, free: 7.406 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.49e-05/0.648, allocations: 28 kB / 0.6222 GB, free: 7.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01036/0.6583, allocations: 5.829 MB / 0.6279 GB, free: 1.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.6585, allocations: 51.94 kB / 0.628 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/0.6586, allocations: 100 kB / 0.6281 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.659, allocations: 173.5 kB / 0.6282 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.6624, allocations: 1.068 MB / 0.6293 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.6644, allocations: 1.801 MB / 0.631 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.6672, allocations: 207.9 kB / 0.6312 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004792/0.6677, allocations: 295.2 kB / 0.6315 GB, free: 13.72 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004359/0.6721, allocations: 1.995 MB / 0.6334 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.6726, allocations: 248.7 kB / 0.6337 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/0.6769, allocations: 2.528 MB / 0.6362 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.677, allocations: 20 kB / 0.6362 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6771, allocations: 4.188 kB / 0.6362 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.6771, allocations: 7.969 kB / 0.6362 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.693, allocations: 7.96 MB / 0.644 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.693, allocations: 11.98 kB / 0.644 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6941, allocations: 247.6 kB / 0.6442 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.6943, allocations: 60.77 kB / 0.6443 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.6944, allocations: 38.73 kB / 0.6443 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.6962, allocations: 1.629 MB / 0.6459 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.6962, allocations: 15.94 kB / 0.6459 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005698/0.7019, allocations: 4.014 MB / 0.6498 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006963/0.7026, allocations: 301.9 kB / 0.6501 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000507/0.7032, allocations: 39.98 kB / 0.6502 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7042, allocations: 59.89 kB / 0.6502 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.7045, allocations: 116.6 kB / 0.6503 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.7046, allocations: 74.66 kB / 0.6504 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003297/0.7079, allocations: 1.6 MB / 0.652 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7079, allocations: 0 / 0.652 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004591/0.7125, allocations: 0.7761 MB / 0.6527 GB, free: 7.488 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005994/0.7185, allocations: 4.69 MB / 0.6573 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009027/0.7276, allocations: 5.488 MB / 0.6627 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.7276, allocations: 7.938 kB / 0.6627 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.7292, allocations: 1.237 MB / 0.6639 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.7314, allocations: 352.7 kB / 0.6642 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06213/0.7935, allocations: 37.62 MB / 0.7009 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005595/0.7992, allocations: 3.132 MB / 0.704 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004205/0.8034, allocations: 1.714 MB / 0.7057 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002748/0.8062, allocations: 1.69 MB / 0.7073 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.8062, allocations: 0 / 0.7073 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3008/1.107, allocations: 48.27 MB / 0.7545 GB, free: 199.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.107, allocations: 208 kB / 0.7547 GB, free: 199.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/4.487, allocations: 0 / 0.7547 GB, free: 199.1 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches