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.0008526/0.0008527, allocations: 98.11 kB / 17 MB, free: 6.414 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.0008173/0.0008173, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.343/1.343, allocations: 223.2 MB / 241.9 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1914/0.1914, allocations: 44.23 MB / 337.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02637/0.1432, allocations: 26.8 MB / 498.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.1562, allocations: 6.334 MB / 0.4929 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004774/0.161, allocations: 119.7 kB / 0.4931 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.1646, allocations: 1.275 MB / 0.4943 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00921/0.1738, allocations: 3.989 MB / 0.4982 GB, free: 7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.1754, allocations: 367.4 kB / 0.4986 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006783/0.1822, allocations: 3.83 MB / 0.5023 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004038/0.1862, allocations: 2.245 MB / 0.5045 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2543/0.4405, allocations: 1.017 MB / 0.5055 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.4437, allocations: 1.698 MB / 0.5071 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000567/0.4443, allocations: 134.7 kB / 0.5073 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.4458, allocations: 0.6659 MB / 0.5079 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.4474, allocations: 1.455 MB / 0.5093 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007588/0.4481, allocations: 0.742 MB / 0.5101 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.4528, allocations: 4.649 MB / 0.5146 GB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4528, allocations: 0.5938 kB / 0.5146 GB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4528, allocations: 0 / 0.5146 GB, free: 12.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001412/0.453, allocations: 1.281 kB / 0.5146 GB, free: 12.42 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.006198/0.4592, allocations: 3.381 MB / 0.5179 GB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4592, allocations: 8.344 kB / 0.5179 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008975/0.4601, allocations: 0.7032 MB / 0.5186 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009445/0.4696, allocations: 3.178 MB / 0.5217 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.4738, allocations: 2.187 MB / 0.5238 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.474, allocations: 189.8 kB / 0.524 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005357/0.4746, allocations: 251.6 kB / 0.5243 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.4908, allocations: 10.17 MB / 0.5342 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/0.491, allocations: 32.22 kB / 0.5342 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006866/0.4917, allocations: 118.5 kB / 0.5343 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003516/0.4952, allocations: 2.468 MB / 0.5367 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.5115, allocations: 9.311 MB / 0.5458 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04928/0.5608, allocations: 31.67 MB / 0.5768 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006564/0.5675, allocations: 3.354 MB / 0.58 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.5693, allocations: 1.068 MB / 0.5811 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/0.5707, allocations: 1.307 MB / 0.5824 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.5708, allocations: 51.88 kB / 0.5824 GB, free: 13.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 5.64e-06/0.5708, allocations: 0 / 0.5824 GB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.0209/0.5917, allocations: 9.078 MB / 0.5913 GB, free: 4.535 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5918, allocations: 70.83 kB / 0.5913 GB, free: 4.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.5961, allocations: 2.59 MB / 0.5939 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.5965, allocations: 52.36 kB / 0.5939 GB, free: 1.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.5986, allocations: 2.673 MB / 0.5965 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.5998, allocations: 0.7054 MB / 0.5972 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.6, allocations: 95.28 kB / 0.5973 GB, free: 14.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004005/0.6004, allocations: 0.519 MB / 0.5978 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/0.6029, allocations: 1.524 MB / 0.5993 GB, free: 12.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00439/0.6073, allocations: 4.354 MB / 0.6036 GB, free: 6.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/0.6111, allocations: 2.59 MB / 0.6061 GB, free: 4.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.545e-05/0.6112, allocations: 28 kB / 0.6061 GB, free: 4.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01084/0.622, allocations: 5.793 MB / 0.6118 GB, free: 14.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/0.6221, allocations: 48 kB / 0.6118 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/0.6223, allocations: 103.9 kB / 0.6119 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.6227, allocations: 188.8 kB / 0.6121 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003435/0.6262, allocations: 1.067 MB / 0.6131 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.6279, allocations: 1.667 MB / 0.6148 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.6313, allocations: 220.8 kB / 0.615 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009302/0.6323, allocations: 303.9 kB / 0.6153 GB, free: 11.19 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005043/0.6373, allocations: 1.984 MB / 0.6172 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006534/0.638, allocations: 244.7 kB / 0.6174 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.643, allocations: 2.526 MB / 0.6199 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/0.643, allocations: 26.8 kB / 0.6199 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6431, allocations: 0 / 0.6199 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.6431, allocations: 3.984 kB / 0.6199 GB, free: 6.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.661, allocations: 7.943 MB / 0.6277 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/0.6611, allocations: 8 kB / 0.6277 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.6622, allocations: 251.6 kB / 0.6279 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.6624, allocations: 58.59 kB / 0.628 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.6626, allocations: 46.56 kB / 0.628 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.6639, allocations: 1.509 MB / 0.6295 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/0.6639, allocations: 15.94 kB / 0.6295 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005374/0.6693, allocations: 4.002 MB / 0.6334 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/0.67, allocations: 301.8 kB / 0.6337 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/0.6705, allocations: 39.98 kB / 0.6338 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008765/0.6714, allocations: 55.95 kB / 0.6338 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.6715, allocations: 116.7 kB / 0.6339 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.6717, allocations: 66.64 kB / 0.634 GB, free: 7.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002973/0.6747, allocations: 1.576 MB / 0.6355 GB, free: 5.934 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6747, allocations: 0 / 0.6355 GB, free: 5.934 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004507/0.6792, allocations: 0.792 MB / 0.6363 GB, free: 5.145 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005757/0.685, allocations: 4.681 MB / 0.6409 GB, free: 316 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006004/0.691, allocations: 3.808 MB / 0.6446 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.691, allocations: 4 kB / 0.6446 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.6927, allocations: 1.226 MB / 0.6458 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.6955, allocations: 347.4 kB / 0.6461 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05311/0.7486, allocations: 24.82 MB / 0.6704 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005793/0.7544, allocations: 3.133 MB / 0.6734 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004625/0.7591, allocations: 1.714 MB / 0.6751 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003211/0.7623, allocations: 1.71 MB / 0.6768 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of SimCode: time 9.21e-07/0.7623, allocations: 0 / 0.6768 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.413/1.175, allocations: 55.4 MB / 0.7309 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/1.176, allocations: 202.8 kB / 0.7311 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.557/4.733, allocations: 0 / 0.7311 GB, free: 177.7 MB / 0.5294 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat