Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009305/0.0009305, allocations: 88.45 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1744/0.1744, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.206e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09173, allocations: 63.25 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.4768, allocations: 107.3 MB / 0.6162 GB, free: 2.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.4771, allocations: 73.28 kB / 0.6163 GB, free: 2.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08811/0.5652, allocations: 35.8 MB / 0.6513 GB, free: 3.699 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5652, allocations: 0 / 0.6513 GB, free: 3.699 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.392e-05/0.5653, allocations: 31.98 kB / 0.6513 GB, free: 3.668 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003854/0.5692, allocations: 1.701 MB / 0.653 GB, free: 2.023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5692, allocations: 11.97 kB / 0.653 GB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004998/0.5697, allocations: 257.9 kB / 0.6532 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/0.5717, allocations: 412.7 kB / 0.6536 GB, free: 1.453 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005219/0.5769, allocations: 2.271 MB / 0.6558 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-05/0.577, allocations: 112.3 kB / 0.6559 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.5773, allocations: 142.4 kB / 0.6561 GB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/0.5827, allocations: 3.015 MB / 0.659 GB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/0.5827, allocations: 22.97 kB / 0.659 GB, free: 12.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.5829, allocations: 59.98 kB / 0.6591 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004306/0.5833, allocations: 283.1 kB / 0.6594 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.5877, allocations: 2.187 MB / 0.6615 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.5998, allocations: 11.56 MB / 0.6728 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.6034, allocations: 1.196 MB / 0.6739 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.6039, allocations: 387.3 kB / 0.6743 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003435/0.6074, allocations: 3.024 MB / 0.6773 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.6074, allocations: 39 kB / 0.6773 GB, free: 11.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=51): time 4.268e-06/0.6074, allocations: 0 / 0.6773 GB, free: 11.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.009544/0.617, allocations: 3.346 MB / 0.6806 GB, free: 8.336 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.617, allocations: 89.61 kB / 0.6807 GB, free: 8.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.6183, allocations: 1.049 MB / 0.6817 GB, free: 7.168 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.6184, allocations: 37.7 kB / 0.6817 GB, free: 7.125 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.619, allocations: 0.9432 MB / 0.6826 GB, free: 6.168 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.6191, allocations: 229.1 kB / 0.6829 GB, free: 5.941 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.6192, allocations: 32 kB / 0.6829 GB, free: 5.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6193, allocations: 369.9 kB / 0.6832 GB, free: 5.543 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.6199, allocations: 387.9 kB / 0.6836 GB, free: 5.164 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.6209, allocations: 1.233 MB / 0.6848 GB, free: 3.516 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/0.6217, allocations: 0.6728 MB / 0.6855 GB, free: 2.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.6217, allocations: 12 kB / 0.6855 GB, free: 2.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002188/0.6239, allocations: 1.676 MB / 0.6871 GB, free: 1.141 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.624, allocations: 23.95 kB / 0.6871 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.624, allocations: 31.94 kB / 0.6872 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.6242, allocations: 92.83 kB / 0.6873 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.6252, allocations: 359.4 kB / 0.6876 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.6266, allocations: 1.69 MB / 0.6893 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/0.6274, allocations: 67.89 kB / 0.6893 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.6275, allocations: 88.19 kB / 0.6894 GB, free: 14.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * Array equations: 0 * 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.0002333/0.6278, allocations: 243.3 kB / 0.6896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.6279, allocations: 110.6 kB / 0.6897 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.629, allocations: 0.699 MB / 0.6904 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.629, allocations: 8 kB / 0.6904 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.629, allocations: 0 / 0.6904 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.629, allocations: 7.984 kB / 0.6904 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.6323, allocations: 2.246 MB / 0.6926 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.6323, allocations: 4 kB / 0.6926 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.6327, allocations: 103.8 kB / 0.6927 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.6329, allocations: 65.33 kB / 0.6928 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.6329, allocations: 12 kB / 0.6928 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.6344, allocations: 1.753 MB / 0.6945 GB, free: 9.137 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.6344, allocations: 7.938 kB / 0.6945 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.6358, allocations: 1.269 MB / 0.6958 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.636, allocations: 187.7 kB / 0.6959 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/0.6361, allocations: 19.98 kB / 0.696 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.6365, allocations: 27.92 kB / 0.696 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.6365, allocations: 47.91 kB / 0.696 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.6366, allocations: 20 kB / 0.6961 GB, free: 7.398 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009373/0.6375, allocations: 0.7495 MB / 0.6968 GB, free: 6.641 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.402e-06/0.6375, allocations: 0 / 0.6968 GB, free: 6.641 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00122/0.6388, allocations: 311.9 kB / 0.6971 GB, free: 6.336 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001992/0.6408, allocations: 2.941 MB / 0.7 GB, free: 3.254 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.6423, allocations: 1.058 MB / 0.701 GB, free: 2.195 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6423, allocations: 0 / 0.701 GB, free: 2.195 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004595/0.6428, allocations: 403.4 kB / 0.7014 GB, free: 1.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.6436, allocations: 169.8 kB / 0.7015 GB, free: 1.621 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.6479, allocations: 2.592 MB / 0.7041 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.649, allocations: 1.482 MB / 0.7055 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009829/0.65, allocations: 413.7 kB / 0.7059 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/0.6506, allocations: 0.5657 MB / 0.7065 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.6506, allocations: 4 kB / 0.7065 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.6893, allocations: 22.63 MB / 0.7286 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.6895, allocations: 168 kB / 0.7287 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.92, allocations: 0 / 0.7287 GB, free: 5.805 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat