Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 183.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3885, allocations: 60.81 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01438/0.4029, allocations: 12.31 MB / 0.5304 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009149/0.4121, allocations: 3.855 MB / 0.5342 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.4151, allocations: 61.5 kB / 0.5343 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003807/0.419, allocations: 1.31 MB / 0.5355 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006274/0.4253, allocations: 1.754 MB / 0.5373 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.4267, allocations: 426.4 kB / 0.5377 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007071/0.4338, allocations: 3.571 MB / 0.5412 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004602/0.4385, allocations: 2.013 MB / 0.5431 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.4415, allocations: 1.201 MB / 0.5443 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.4453, allocations: 1.748 MB / 0.546 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.4464, allocations: 236 kB / 0.5462 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.449, allocations: 0.8463 MB / 0.547 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002313/0.4514, allocations: 1.585 MB / 0.5486 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.4546, allocations: 1.898 MB / 0.5505 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007666/0.4623, allocations: 6.145 MB / 0.5565 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4624, allocations: 0 / 0.5565 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4624, allocations: 0 / 0.5565 GB, free: 5.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00022/0.4626, allocations: 0 / 0.5565 GB, free: 5.031 MB / 414.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.009416/0.472, allocations: 4.084 MB / 0.5604 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.4721, allocations: 8.031 kB / 0.5604 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001749/0.4739, allocations: 0.7001 MB / 0.5611 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.4852, allocations: 3.084 MB / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/0.491, allocations: 2.229 MB / 0.5663 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.4913, allocations: 196.8 kB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.4925, allocations: 247.8 kB / 0.5667 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.5102, allocations: 10.18 MB / 0.5767 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.5104, allocations: 23.72 kB / 0.5767 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005447/0.5109, allocations: 119.8 kB / 0.5768 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004021/0.515, allocations: 2.467 MB / 0.5792 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01831/0.5333, allocations: 9.349 MB / 0.5884 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04723/0.5806, allocations: 31.45 MB / 0.6191 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006148/0.5868, allocations: 3.348 MB / 0.6223 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.5885, allocations: 1.072 MB / 0.6234 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.5898, allocations: 1.307 MB / 0.6247 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.5898, allocations: 43.88 kB / 0.6247 GB, free: 13.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 5.43e-06/0.5898, allocations: 0 / 0.6247 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02098/0.6108, allocations: 9.113 MB / 0.6336 GB, free: 4.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.6109, allocations: 68.72 kB / 0.6337 GB, free: 3.973 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/0.615, allocations: 2.611 MB / 0.6362 GB, free: 1.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.6153, allocations: 49.7 kB / 0.6363 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001839/0.6171, allocations: 2.67 MB / 0.6389 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009367/0.6181, allocations: 0.7055 MB / 0.6396 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.6196, allocations: 0.9684 MB / 0.6405 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6197, allocations: 301.1 kB / 0.6408 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.6221, allocations: 1.544 MB / 0.6423 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004865/0.627, allocations: 4.371 MB / 0.6466 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007853/0.6349, allocations: 6.552 MB / 0.653 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/0.6351, allocations: 28 kB / 0.653 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01057/0.6456, allocations: 5.839 MB / 0.6587 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.6458, allocations: 48 kB / 0.6587 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/0.646, allocations: 100 kB / 0.6588 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003981/0.6464, allocations: 176.9 kB / 0.659 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/0.6497, allocations: 1.064 MB / 0.6601 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.6515, allocations: 1.793 MB / 0.6618 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.6545, allocations: 215.9 kB / 0.662 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000711/0.6553, allocations: 296 kB / 0.6623 GB, free: 3.605 MB / 0.5137 GB 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.0037/0.659, allocations: 1.985 MB / 0.6642 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/0.6595, allocations: 252.8 kB / 0.6645 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.6638, allocations: 2.53 MB / 0.6669 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.052e-05/0.6639, allocations: 20 kB / 0.667 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6639, allocations: 0 / 0.667 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.6639, allocations: 3.984 kB / 0.667 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.6808, allocations: 7.937 MB / 0.6747 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-05/0.6809, allocations: 8.938 kB / 0.6747 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.6821, allocations: 251.5 kB / 0.675 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.6824, allocations: 60.83 kB / 0.675 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.6826, allocations: 43.98 kB / 0.6751 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.6843, allocations: 1.629 MB / 0.6767 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/0.6843, allocations: 15.94 kB / 0.6767 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006236/0.6906, allocations: 4.015 MB / 0.6806 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008258/0.6914, allocations: 301.7 kB / 0.6809 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006191/0.6921, allocations: 36.08 kB / 0.6809 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.6933, allocations: 55.95 kB / 0.681 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/0.6936, allocations: 128.5 kB / 0.6811 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.6938, allocations: 64 kB / 0.6811 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003171/0.697, allocations: 1.608 MB / 0.6827 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.01e-07/0.697, allocations: 0 / 0.6827 GB, free: 14.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004331/0.7014, allocations: 0.7967 MB / 0.6835 GB, free: 13.33 MB / 0.545 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.006908/0.7083, allocations: 4.698 MB / 0.6881 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007155/0.7155, allocations: 3.876 MB / 0.6919 GB, free: 4.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/0.7156, allocations: 0 / 0.6919 GB, free: 4.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/0.7177, allocations: 1.233 MB / 0.6931 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.7206, allocations: 352.2 kB / 0.6934 GB, free: 3.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3499/1.071, allocations: 33.2 MB / 0.7258 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004291/1.075, allocations: 3.131 MB / 0.7289 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003725/1.079, allocations: 1.717 MB / 0.7306 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.081, allocations: 1.695 MB / 0.7322 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/1.081, allocations: 0 / 0.7322 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09026/1.171, allocations: 46.4 MB / 0.7775 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/18.49, allocations: 15.47 kB / 0.7775 GB, free: 149.6 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches