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.0009175/0.0009176, allocations: 96.56 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 210 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.337/1.337, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1935/0.1935, allocations: 46.2 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002403, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02751/0.142, allocations: 28.59 MB / 0.4998 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.1581, allocations: 6.649 MB / 0.5063 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005269/0.1634, allocations: 115.8 kB / 0.5064 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.165, allocations: 430.1 kB / 0.5068 GB, free: 172 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2202/0.3852, allocations: 1.623 MB / 0.5084 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.3861, allocations: 384.5 kB / 0.5087 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.3915, allocations: 5.008 MB / 0.5136 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003147/0.3947, allocations: 2.418 MB / 0.516 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.3962, allocations: 0.9559 MB / 0.5169 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.3983, allocations: 1.724 MB / 0.5186 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.3987, allocations: 133.4 kB / 0.5187 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.4001, allocations: 0.7533 MB / 0.5195 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.4012, allocations: 1.476 MB / 0.5209 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.4024, allocations: 1.782 MB / 0.5226 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005394/0.4078, allocations: 5.598 MB / 0.5281 GB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4079, allocations: 1.781 kB / 0.5281 GB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4079, allocations: 4.344 kB / 0.5281 GB, free: 6.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.036e-05/0.4079, allocations: 0 / 0.5281 GB, free: 6.566 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.004455/0.4124, allocations: 3.296 MB / 0.5313 GB, free: 4.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4125, allocations: 10.44 kB / 0.5313 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007246/0.4132, allocations: 0.6966 MB / 0.532 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009383/0.4226, allocations: 3.175 MB / 0.5351 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.4254, allocations: 2.111 MB / 0.5372 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.4256, allocations: 191.4 kB / 0.5374 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004512/0.426, allocations: 241 kB / 0.5376 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01355/0.4396, allocations: 10.2 MB / 0.5476 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.904e-05/0.4397, allocations: 36.17 kB / 0.5476 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000392/0.4401, allocations: 111.8 kB / 0.5477 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003767/0.4439, allocations: 2.469 MB / 0.5501 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.4618, allocations: 9.356 MB / 0.5592 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04689/0.5088, allocations: 31.7 MB / 0.5902 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/0.5148, allocations: 3.346 MB / 0.5935 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.5163, allocations: 1.072 MB / 0.5945 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.5174, allocations: 1.307 MB / 0.5958 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.5175, allocations: 51.86 kB / 0.5958 GB, free: 6.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 5.891e-06/0.5175, allocations: 0 / 0.5958 GB, free: 6.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.02079/0.5383, allocations: 9.1 MB / 0.6047 GB, free: 13.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.5384, allocations: 64.72 kB / 0.6048 GB, free: 13.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/0.5432, allocations: 2.615 MB / 0.6073 GB, free: 11.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.5433, allocations: 49.7 kB / 0.6074 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/0.5454, allocations: 2.664 MB / 0.61 GB, free: 8.371 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007774/0.5462, allocations: 0.7085 MB / 0.6107 GB, free: 7.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.5469, allocations: 431.7 kB / 0.6111 GB, free: 7.246 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.547, allocations: 309 kB / 0.6114 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/0.5496, allocations: 1.536 MB / 0.6129 GB, free: 5.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0047/0.5544, allocations: 4.377 MB / 0.6172 GB, free: 15.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007691/0.5621, allocations: 6.555 MB / 0.6236 GB, free: 7.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.942e-05/0.5622, allocations: 28 kB / 0.6236 GB, free: 7.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01075/0.5729, allocations: 5.823 MB / 0.6293 GB, free: 2.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/0.573, allocations: 51.94 kB / 0.6293 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/0.5732, allocations: 100 kB / 0.6294 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/0.5736, allocations: 176.9 kB / 0.6296 GB, free: 1.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.577, allocations: 1.068 MB / 0.6306 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.5787, allocations: 1.682 MB / 0.6323 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/0.5817, allocations: 223.9 kB / 0.6325 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000568/0.5823, allocations: 290.3 kB / 0.6328 GB, free: 14.32 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.004365/0.5867, allocations: 1.985 MB / 0.6347 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/0.5872, allocations: 248.7 kB / 0.6349 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/0.5915, allocations: 2.532 MB / 0.6374 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/0.5915, allocations: 23.94 kB / 0.6374 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5916, allocations: 0 / 0.6374 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.5916, allocations: 11.97 kB / 0.6375 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.6061, allocations: 7.965 MB / 0.6452 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/0.6061, allocations: 12 kB / 0.6452 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009798/0.6071, allocations: 247.5 kB / 0.6455 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.6073, allocations: 57.52 kB / 0.6455 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.6074, allocations: 44 kB / 0.6456 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.6087, allocations: 1.509 MB / 0.6471 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/0.6088, allocations: 19.94 kB / 0.6471 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005294/0.6141, allocations: 4.018 MB / 0.651 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.6148, allocations: 305.8 kB / 0.6513 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/0.6152, allocations: 34.34 kB / 0.6513 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/0.6161, allocations: 55.95 kB / 0.6514 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.6163, allocations: 124.7 kB / 0.6515 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.6164, allocations: 58.03 kB / 0.6515 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002939/0.6194, allocations: 1.607 MB / 0.6531 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6194, allocations: 0 / 0.6531 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00387/0.6233, allocations: 0.7727 MB / 0.6539 GB, free: 8.207 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.005459/0.6287, allocations: 4.69 MB / 0.6585 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005856/0.6346, allocations: 3.833 MB / 0.6622 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6346, allocations: 0 / 0.6622 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.6362, allocations: 1.237 MB / 0.6634 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/0.6406, allocations: 345.8 kB / 0.6637 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05427/0.6949, allocations: 37.7 MB / 0.7005 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004189/0.6992, allocations: 3.129 MB / 0.7036 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003669/0.7028, allocations: 1.71 MB / 0.7053 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/0.7048, allocations: 1.69 MB / 0.7069 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.7049, allocations: 4 kB / 0.7069 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3002/1.005, allocations: 47.15 MB / 0.753 GB, free: 198.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.005, allocations: 208.6 kB / 0.7532 GB, free: 197.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/4.177, allocations: 2.5 kB / 0.7532 GB, free: 197.9 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