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.001333/0.001333, allocations: 97.17 kB / 16.99 MB, free: 6.402 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.001439/0.00144, allocations: 178.2 kB / 17.88 MB, free: 5.957 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.359/1.359, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2111/0.2111, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02469/0.145, allocations: 25.38 MB / 496.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.1596, allocations: 6.562 MB / 0.4917 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.1637, allocations: 123.7 kB / 0.4918 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.1673, allocations: 1.287 MB / 0.4931 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.1784, allocations: 3.923 MB / 0.4969 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.18, allocations: 371.3 kB / 0.4972 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.1833, allocations: 1.939 MB / 0.4991 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.1862, allocations: 2.234 MB / 0.5013 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1874, allocations: 0.8719 MB / 0.5022 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.1888, allocations: 1.234 MB / 0.5034 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.1891, allocations: 132 kB / 0.5035 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.1903, allocations: 0.6475 MB / 0.5041 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2448/0.4351, allocations: 1.349 MB / 0.5054 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.437, allocations: 0.7376 MB / 0.5062 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007807/0.4448, allocations: 4.64 MB / 0.5107 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4449, allocations: 1.641 kB / 0.5107 GB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.4449, allocations: 1.594 kB / 0.5107 GB, free: 13.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002923/0.4452, allocations: 1.094 kB / 0.5107 GB, free: 13.12 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.009508/0.4547, allocations: 3.384 MB / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4548, allocations: 9.609 kB / 0.514 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002315/0.4571, allocations: 0.7067 MB / 0.5147 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.4714, allocations: 3.736 MB / 0.5184 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007291/0.4787, allocations: 1.983 MB / 0.5203 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.4791, allocations: 194.5 kB / 0.5205 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/0.4814, allocations: 245 kB / 0.5207 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.5015, allocations: 10.21 MB / 0.5307 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-05/0.5016, allocations: 27.03 kB / 0.5307 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005076/0.5022, allocations: 117.5 kB / 0.5308 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003504/0.5057, allocations: 2.47 MB / 0.5332 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.5219, allocations: 9.382 MB / 0.5424 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04871/0.5707, allocations: 31.76 MB / 0.5734 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005976/0.5767, allocations: 3.338 MB / 0.5767 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.578, allocations: 1.314 MB / 0.578 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.578, allocations: 47.88 kB / 0.578 GB, free: 3.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 5.15e-06/0.578, allocations: 4 kB / 0.578 GB, free: 3.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.0223/0.6003, allocations: 9.615 MB / 0.5874 GB, free: 9.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.6004, allocations: 71.34 kB / 0.5875 GB, free: 9.562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005392/0.6058, allocations: 2.712 MB / 0.5901 GB, free: 6.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.6061, allocations: 52.36 kB / 0.5902 GB, free: 6.777 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002087/0.6082, allocations: 2.665 MB / 0.5928 GB, free: 4.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009438/0.6092, allocations: 0.7107 MB / 0.5935 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.6096, allocations: 92 kB / 0.5935 GB, free: 3.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004964/0.6101, allocations: 0.5127 MB / 0.594 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.6128, allocations: 1.52 MB / 0.5955 GB, free: 1.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/0.6178, allocations: 4.339 MB / 0.5998 GB, free: 11.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.6219, allocations: 2.598 MB / 0.6023 GB, free: 9.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.954e-05/0.622, allocations: 28 kB / 0.6023 GB, free: 9.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01025/0.6323, allocations: 5.792 MB / 0.608 GB, free: 3.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.6324, allocations: 48 kB / 0.608 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/0.6326, allocations: 100 kB / 0.6081 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/0.6331, allocations: 188.2 kB / 0.6083 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003262/0.6363, allocations: 1.068 MB / 0.6094 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.638, allocations: 1.699 MB / 0.611 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.6411, allocations: 204.4 kB / 0.6112 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006089/0.6417, allocations: 298.8 kB / 0.6115 GB, free: 280 kB / 446.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.004183/0.6459, allocations: 1.986 MB / 0.6134 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/0.6464, allocations: 248.7 kB / 0.6137 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004117/0.6505, allocations: 2.524 MB / 0.6161 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/0.6506, allocations: 27.95 kB / 0.6162 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.6506, allocations: 4 kB / 0.6162 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.6506, allocations: 7.969 kB / 0.6162 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02035/0.671, allocations: 7.945 MB / 0.6239 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.658e-05/0.6711, allocations: 8 kB / 0.6239 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.6728, allocations: 255.5 kB / 0.6242 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/0.6731, allocations: 56.83 kB / 0.6242 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/0.6734, allocations: 40 kB / 0.6243 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.6753, allocations: 1.531 MB / 0.6258 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.122e-05/0.6754, allocations: 18.91 kB / 0.6258 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009837/0.6852, allocations: 4.792 MB / 0.6305 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.6864, allocations: 311.4 kB / 0.6308 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008101/0.6873, allocations: 32 kB / 0.6308 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.6891, allocations: 58.14 kB / 0.6308 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.6895, allocations: 120.7 kB / 0.631 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/0.6897, allocations: 67.5 kB / 0.631 GB, free: 11.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005009/0.6947, allocations: 1.666 MB / 0.6327 GB, free: 9.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.6948, allocations: 0 / 0.6327 GB, free: 9.844 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006853/0.7016, allocations: 0.8164 MB / 0.6335 GB, free: 9.027 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.008255/0.7099, allocations: 7.985 MB / 0.6412 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006841/0.7168, allocations: 3.814 MB / 0.645 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.7168, allocations: 0 / 0.645 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.7188, allocations: 1.228 MB / 0.6462 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.7207, allocations: 318.9 kB / 0.6465 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3184/1.039, allocations: 93.17 MB / 0.7375 GB, free: 132 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003969/1.043, allocations: 3.211 MB / 0.7406 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003557/1.047, allocations: 1.716 MB / 0.7423 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/1.048, allocations: 1.716 MB / 0.744 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/1.048, allocations: 5.312 kB / 0.744 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07478/1.123, allocations: 56.11 MB / 0.7988 GB, free: 86.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/1.123, allocations: 194.8 kB / 0.7989 GB, free: 86.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/4.578, allocations: 0 / 0.7989 GB, free: 86.23 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