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.001368/0.001368, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 197.2 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2551/0.2551, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 79.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4216, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01649/0.4382, allocations: 12.26 MB / 0.5426 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.4496, allocations: 3.859 MB / 0.5464 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.4529, allocations: 61.16 kB / 0.5464 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.457, allocations: 1.311 MB / 0.5477 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.4633, allocations: 1.72 MB / 0.5494 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.465, allocations: 423.2 kB / 0.5498 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007055/0.4721, allocations: 3.608 MB / 0.5533 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003912/0.4761, allocations: 2.001 MB / 0.5553 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.4789, allocations: 1.183 MB / 0.5564 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/0.4824, allocations: 1.736 MB / 0.5581 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.4836, allocations: 240 kB / 0.5583 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.4863, allocations: 0.8113 MB / 0.5591 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.4888, allocations: 1.566 MB / 0.5607 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003589/0.4925, allocations: 1.871 MB / 0.5625 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.5026, allocations: 6.106 MB / 0.5685 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.5026, allocations: 0 / 0.5685 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5027, allocations: 0 / 0.5685 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.5029, allocations: 0 / 0.5685 GB, free: 10.82 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.01221/0.5151, allocations: 4.152 MB / 0.5725 GB, free: 6.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.5152, allocations: 12.02 kB / 0.5725 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002002/0.5172, allocations: 0.6962 MB / 0.5732 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.5289, allocations: 3.102 MB / 0.5762 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005857/0.5348, allocations: 2.136 MB / 0.5783 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.5351, allocations: 196.8 kB / 0.5785 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.5364, allocations: 243.8 kB / 0.5787 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.5578, allocations: 10.19 MB / 0.5887 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.558, allocations: 19.81 kB / 0.5887 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007826/0.5587, allocations: 115.8 kB / 0.5888 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004695/0.5635, allocations: 2.467 MB / 0.5912 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02279/0.5863, allocations: 9.349 MB / 0.6004 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05641/0.6428, allocations: 31.53 MB / 0.6311 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006866/0.6497, allocations: 3.354 MB / 0.6344 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.6519, allocations: 1.072 MB / 0.6355 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/0.6533, allocations: 1.31 MB / 0.6367 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.6534, allocations: 51.86 kB / 0.6368 GB, free: 2.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 5.32e-06/0.6534, allocations: 0 / 0.6368 GB, free: 2.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02347/0.6769, allocations: 9.165 MB / 0.6457 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.677, allocations: 68.66 kB / 0.6458 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004741/0.6817, allocations: 2.623 MB / 0.6484 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003282/0.6821, allocations: 45.7 kB / 0.6484 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002864/0.685, allocations: 2.784 MB / 0.6511 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.6862, allocations: 0.7325 MB / 0.6519 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/0.6881, allocations: 0.9691 MB / 0.6528 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6883, allocations: 301.1 kB / 0.6531 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.6912, allocations: 1.544 MB / 0.6546 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006197/0.6974, allocations: 4.375 MB / 0.6589 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009616/0.7071, allocations: 6.548 MB / 0.6653 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.7073, allocations: 31.94 kB / 0.6653 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01306/0.7204, allocations: 5.851 MB / 0.671 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.93e-05/0.7205, allocations: 48.97 kB / 0.6711 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/0.7207, allocations: 100 kB / 0.6711 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.7211, allocations: 176.8 kB / 0.6713 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00357/0.7247, allocations: 1.072 MB / 0.6724 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.7267, allocations: 1.786 MB / 0.6741 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003454/0.7301, allocations: 215.9 kB / 0.6743 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007837/0.731, allocations: 292 kB / 0.6746 GB, free: 9.129 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.004373/0.7353, allocations: 1.989 MB / 0.6765 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006266/0.736, allocations: 262.2 kB / 0.6768 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/0.7409, allocations: 2.533 MB / 0.6793 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/0.7409, allocations: 20 kB / 0.6793 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.7409, allocations: 0 / 0.6793 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.741, allocations: 7.984 kB / 0.6793 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.7568, allocations: 7.937 MB / 0.687 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/0.7569, allocations: 8 kB / 0.687 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.758, allocations: 247.7 kB / 0.6873 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.7582, allocations: 60.83 kB / 0.6873 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.7584, allocations: 39.98 kB / 0.6874 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.7602, allocations: 1.626 MB / 0.689 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-05/0.7602, allocations: 15.94 kB / 0.689 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006682/0.7669, allocations: 4.036 MB / 0.6929 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008838/0.7678, allocations: 307.3 kB / 0.6932 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/0.7683, allocations: 40.06 kB / 0.6933 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.7692, allocations: 55.95 kB / 0.6933 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.7695, allocations: 120.6 kB / 0.6934 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.7697, allocations: 72.16 kB / 0.6935 GB, free: 5.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003161/0.7728, allocations: 1.6 MB / 0.695 GB, free: 3.621 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7729, allocations: 0 / 0.695 GB, free: 3.621 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005054/0.7779, allocations: 0.7772 MB / 0.6958 GB, free: 2.844 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.007554/0.7855, allocations: 4.711 MB / 0.7004 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007574/0.7932, allocations: 3.88 MB / 0.7042 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/0.7932, allocations: 4 kB / 0.7042 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/0.7954, allocations: 1.229 MB / 0.7054 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.7979, allocations: 359.5 kB / 0.7057 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3966/1.194, allocations: 33.33 MB / 0.7383 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006209/1.201, allocations: 3.126 MB / 0.7413 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004282/1.205, allocations: 1.713 MB / 0.743 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002888/1.208, allocations: 1.696 MB / 0.7447 GB, free: 171 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/1.208, allocations: 0 / 0.7447 GB, free: 171 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0963/1.304, allocations: 45.65 MB / 0.7893 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/19.48, allocations: 12.88 kB / 0.7893 GB, free: 129.4 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