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.001484/0.001484, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001716, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.11 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 77.22 kB / 416.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1386, allocations: 62.44 MB / 479.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03082/0.1694, allocations: 29.53 MB / 0.497 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.185, allocations: 6.702 MB / 0.5035 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006632/0.1916, allocations: 115.8 kB / 0.5036 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2739/0.4655, allocations: 1.268 MB / 0.5049 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006141/0.4717, allocations: 1.606 MB / 0.5064 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.4731, allocations: 386.1 kB / 0.5068 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007723/0.4808, allocations: 5.011 MB / 0.5117 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.484, allocations: 1.971 MB / 0.5136 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.4861, allocations: 1.034 MB / 0.5146 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.4891, allocations: 1.83 MB / 0.5164 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006064/0.4897, allocations: 168.1 kB / 0.5166 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.4919, allocations: 0.7824 MB / 0.5174 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.4938, allocations: 1.519 MB / 0.5188 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.496, allocations: 1.816 MB / 0.5206 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006709/0.5027, allocations: 5.737 MB / 0.5262 GB, free: 6.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5027, allocations: 0 / 0.5262 GB, free: 6.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5028, allocations: 0 / 0.5262 GB, free: 6.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002003/0.503, allocations: 1.156 kB / 0.5262 GB, free: 6.664 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.008185/0.5112, allocations: 4.027 MB / 0.5301 GB, free: 3.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5112, allocations: 10.94 kB / 0.5302 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009231/0.5121, allocations: 0.7024 MB / 0.5308 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009768/0.5219, allocations: 3.085 MB / 0.5339 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/0.5264, allocations: 2.106 MB / 0.5359 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.5265, allocations: 187 kB / 0.5361 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/0.5271, allocations: 249.8 kB / 0.5363 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.544, allocations: 10.18 MB / 0.5463 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/0.5442, allocations: 27.16 kB / 0.5463 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007049/0.5449, allocations: 115.4 kB / 0.5464 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003945/0.5489, allocations: 2.462 MB / 0.5488 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/0.5681, allocations: 9.352 MB / 0.5579 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05528/0.6234, allocations: 31.67 MB / 0.5889 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00649/0.63, allocations: 3.346 MB / 0.5921 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.6317, allocations: 1.076 MB / 0.5932 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.633, allocations: 1.308 MB / 0.5945 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.633, allocations: 46.5 kB / 0.5945 GB, free: 6.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 7.554e-06/0.6331, allocations: 0 / 0.5945 GB, free: 6.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.02123/0.6543, allocations: 9.099 MB / 0.6034 GB, free: 12.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.6544, allocations: 68.72 kB / 0.6035 GB, free: 12.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/0.6589, allocations: 2.607 MB / 0.606 GB, free: 10.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.659, allocations: 49.7 kB / 0.6061 GB, free: 10.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001919/0.661, allocations: 2.662 MB / 0.6087 GB, free: 7.512 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006932/0.6617, allocations: 0.7065 MB / 0.6094 GB, free: 6.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/0.6633, allocations: 0.963 MB / 0.6103 GB, free: 5.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6634, allocations: 305.1 kB / 0.6106 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/0.6658, allocations: 1.548 MB / 0.6121 GB, free: 3.984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/0.6703, allocations: 4.374 MB / 0.6164 GB, free: 14.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007758/0.6781, allocations: 6.55 MB / 0.6228 GB, free: 6.594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.878e-05/0.6782, allocations: 35.94 kB / 0.6228 GB, free: 6.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01021/0.6884, allocations: 5.828 MB / 0.6285 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-05/0.6886, allocations: 55.97 kB / 0.6285 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/0.6887, allocations: 96 kB / 0.6286 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.6891, allocations: 176.8 kB / 0.6288 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/0.6923, allocations: 1.061 MB / 0.6298 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.694, allocations: 1.683 MB / 0.6315 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003928/0.698, allocations: 204 kB / 0.6317 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008187/0.6988, allocations: 296 kB / 0.632 GB, free: 13.04 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.004199/0.703, allocations: 1.995 MB / 0.6339 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006456/0.7037, allocations: 240.8 kB / 0.6341 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.708, allocations: 2.532 MB / 0.6366 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/0.7081, allocations: 31.94 kB / 0.6366 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7081, allocations: 2.156 kB / 0.6366 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.7081, allocations: 7.969 kB / 0.6367 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.7244, allocations: 7.955 MB / 0.6444 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/0.7244, allocations: 12 kB / 0.6444 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.7255, allocations: 251.7 kB / 0.6447 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.7257, allocations: 52.83 kB / 0.6447 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.7259, allocations: 46.16 kB / 0.6448 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.7272, allocations: 1.511 MB / 0.6462 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/0.7273, allocations: 15.88 kB / 0.6463 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005464/0.7327, allocations: 4.017 MB / 0.6502 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/0.7336, allocations: 297.8 kB / 0.6505 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/0.7342, allocations: 39.98 kB / 0.6505 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.7352, allocations: 51.95 kB / 0.6506 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.7355, allocations: 123.1 kB / 0.6507 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.7356, allocations: 67.98 kB / 0.6507 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003217/0.7389, allocations: 1.6 MB / 0.6523 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7389, allocations: 4 kB / 0.6523 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00462/0.7435, allocations: 0.7758 MB / 0.6531 GB, free: 6.922 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.006272/0.7498, allocations: 4.694 MB / 0.6576 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006784/0.7566, allocations: 3.832 MB / 0.6614 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.7567, allocations: 4.375 kB / 0.6614 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.7587, allocations: 1.229 MB / 0.6626 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.7616, allocations: 343.2 kB / 0.6629 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0619/0.8235, allocations: 37.62 MB / 0.6997 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0057/0.8293, allocations: 3.137 MB / 0.7027 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004272/0.8336, allocations: 1.706 MB / 0.7044 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/0.8365, allocations: 1.694 MB / 0.706 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/0.8365, allocations: 0 / 0.706 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2937/1.13, allocations: 47.52 MB / 0.7524 GB, free: 198.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.13, allocations: 215.8 kB / 0.7526 GB, free: 198.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/4.488, allocations: 0 / 0.7526 GB, free: 198.2 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