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.001705/0.001706, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002134/0.002134, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 83.86 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4255, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01454/0.4401, allocations: 12.27 MB / 0.5425 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.4509, allocations: 3.843 MB / 0.5463 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.454, allocations: 61.12 kB / 0.5463 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.4575, allocations: 1.323 MB / 0.5476 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.4629, allocations: 1.717 MB / 0.5493 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.4644, allocations: 415.2 kB / 0.5497 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00595/0.4703, allocations: 3.605 MB / 0.5532 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/0.4738, allocations: 2.007 MB / 0.5552 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.4767, allocations: 1.191 MB / 0.5563 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/0.48, allocations: 1.736 MB / 0.558 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.481, allocations: 240 kB / 0.5583 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.4837, allocations: 0.8035 MB / 0.559 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.4859, allocations: 1.574 MB / 0.5606 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003511/0.4895, allocations: 1.867 MB / 0.5624 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008629/0.4981, allocations: 6.071 MB / 0.5683 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.4982, allocations: 4 kB / 0.5683 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4982, allocations: 4 kB / 0.5683 GB, free: 10.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002401/0.4984, allocations: 0 / 0.5683 GB, free: 10.93 MB / 430.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.009557/0.508, allocations: 4.027 MB / 0.5723 GB, free: 6.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.5081, allocations: 16.03 kB / 0.5723 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001875/0.51, allocations: 0.704 MB / 0.573 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.5207, allocations: 3.08 MB / 0.576 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.5256, allocations: 2.124 MB / 0.5781 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.5258, allocations: 192.8 kB / 0.5782 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.527, allocations: 259.7 kB / 0.5785 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.5465, allocations: 10.17 MB / 0.5884 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.5467, allocations: 31.81 kB / 0.5885 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.5479, allocations: 119.8 kB / 0.5886 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004137/0.552, allocations: 2.46 MB / 0.591 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.5706, allocations: 9.349 MB / 0.6001 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04641/0.617, allocations: 31.46 MB / 0.6308 GB, free: 9.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006204/0.6233, allocations: 3.348 MB / 0.6341 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.625, allocations: 1.07 MB / 0.6351 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.6263, allocations: 1.306 MB / 0.6364 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.6264, allocations: 51.81 kB / 0.6365 GB, free: 3.297 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 6.643e-06/0.6264, allocations: 4 kB / 0.6365 GB, free: 3.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02169/0.6481, allocations: 9.105 MB / 0.6454 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.6482, allocations: 64.72 kB / 0.6454 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.6531, allocations: 2.611 MB / 0.648 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.6534, allocations: 53.69 kB / 0.648 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002036/0.6555, allocations: 2.67 MB / 0.6506 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009754/0.6565, allocations: 0.6977 MB / 0.6513 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00193/0.6584, allocations: 0.9606 MB / 0.6522 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6585, allocations: 305.1 kB / 0.6525 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/0.6612, allocations: 1.544 MB / 0.654 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005335/0.6666, allocations: 4.375 MB / 0.6583 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00811/0.6747, allocations: 6.552 MB / 0.6647 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.6749, allocations: 28 kB / 0.6647 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01092/0.6858, allocations: 5.839 MB / 0.6704 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.6859, allocations: 48 kB / 0.6705 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001826/0.6861, allocations: 100.9 kB / 0.6706 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.6866, allocations: 184.8 kB / 0.6708 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003494/0.6901, allocations: 1.061 MB / 0.6718 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.6919, allocations: 1.79 MB / 0.6735 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.6948, allocations: 211.9 kB / 0.6737 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006918/0.6955, allocations: 292 kB / 0.674 GB, free: 9.66 MB / 0.5294 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.003683/0.6992, allocations: 1.985 MB / 0.676 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005987/0.6998, allocations: 252.7 kB / 0.6762 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.7042, allocations: 2.53 MB / 0.6787 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-05/0.7042, allocations: 27.98 kB / 0.6787 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.7043, allocations: 0 / 0.6787 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.7043, allocations: 3.984 kB / 0.6787 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.719, allocations: 7.933 MB / 0.6864 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.719, allocations: 12 kB / 0.6865 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.7201, allocations: 247.5 kB / 0.6867 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/0.7203, allocations: 56.83 kB / 0.6868 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.7204, allocations: 43.98 kB / 0.6868 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.7219, allocations: 1.626 MB / 0.6884 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.7219, allocations: 15.94 kB / 0.6884 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/0.7276, allocations: 4.015 MB / 0.6923 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/0.7283, allocations: 305.8 kB / 0.6926 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005238/0.7288, allocations: 35.98 kB / 0.6926 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7299, allocations: 60.02 kB / 0.6927 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.7302, allocations: 124.6 kB / 0.6928 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.7303, allocations: 59.98 kB / 0.6929 GB, free: 5.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003003/0.7333, allocations: 1.603 MB / 0.6944 GB, free: 4.184 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.51e-07/0.7334, allocations: 0 / 0.6944 GB, free: 4.184 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004408/0.7378, allocations: 0.7812 MB / 0.6952 GB, free: 3.402 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.006737/0.7445, allocations: 4.694 MB / 0.6998 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006655/0.7512, allocations: 3.865 MB / 0.7036 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.7513, allocations: 0 / 0.7036 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.7533, allocations: 1.248 MB / 0.7048 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.7564, allocations: 343.8 kB / 0.7051 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3618/1.118, allocations: 33.18 MB / 0.7375 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00456/1.123, allocations: 3.125 MB / 0.7406 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003716/1.127, allocations: 1.719 MB / 0.7422 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.129, allocations: 1.695 MB / 0.7439 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.403e-06/1.129, allocations: 0 / 0.7439 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07716/1.206, allocations: 46.29 MB / 0.7891 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/18.47, allocations: 13.52 kB / 0.7891 GB, free: 129.3 MB / 0.5762 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