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/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.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/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.2 MB / 245 MB, free: 7.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009335/0.0009336, allocations: 104 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3259/0.3259, allocations: 45.22 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002846, allocations: 8 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3805, allocations: 63.25 MB / 0.5193 GB, free: 43.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.5275, allocations: 104.3 MB / 0.6211 GB, free: 1.219 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.5279, allocations: 83.92 kB / 0.6212 GB, free: 1.141 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5059/1.034, allocations: 85.73 MB / 0.7049 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.925e-06/1.034, allocations: 0 / 0.7049 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001573/1.034, allocations: 69.09 kB / 0.705 GB, free: 100.5 MB / 0.4948 GB 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.01215/1.046, allocations: 3.588 MB / 0.7085 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.046, allocations: 9.281 kB / 0.7085 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003592/1.05, allocations: 0.7613 MB / 0.7092 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/1.065, allocations: 3.485 MB / 0.7126 GB, free: 98.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/1.078, allocations: 3.526 MB / 0.7161 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005332/1.078, allocations: 290 kB / 0.7164 GB, free: 98.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003434/1.082, allocations: 386.1 kB / 0.7167 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02562/1.107, allocations: 9.768 MB / 0.7263 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000316/1.108, allocations: 25.06 kB / 0.7263 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002132/1.11, allocations: 173.2 kB / 0.7265 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002076/1.112, allocations: 1.126 MB / 0.7276 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/1.136, allocations: 9.348 MB / 0.7367 GB, free: 96.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05646/1.193, allocations: 31.7 MB / 0.7676 GB, free: 77.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006017/1.199, allocations: 3.335 MB / 0.7709 GB, free: 76.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.2, allocations: 1.31 MB / 0.7722 GB, free: 74.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.2, allocations: 42.94 kB / 0.7722 GB, free: 74.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=185): time 5.55e-06/1.2, allocations: 0 / 0.7722 GB, free: 74.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191): time 0.02058/1.221, allocations: 9.594 MB / 0.7816 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/1.221, allocations: 68.22 kB / 0.7817 GB, free: 70.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/1.225, allocations: 2.324 MB / 0.7839 GB, free: 69.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002848/1.226, allocations: 50 kB / 0.784 GB, free: 69.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/1.227, allocations: 2.653 MB / 0.7866 GB, free: 67.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009415/1.228, allocations: 0.7149 MB / 0.7873 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/1.229, allocations: 92.34 kB / 0.7873 GB, free: 67.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004619/1.229, allocations: 0.5135 MB / 0.7878 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.232, allocations: 1.521 MB / 0.7893 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/1.236, allocations: 4.338 MB / 0.7936 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/1.24, allocations: 2.59 MB / 0.7961 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/1.24, allocations: 33.14 kB / 0.7961 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01038/1.25, allocations: 5.79 MB / 0.8018 GB, free: 58.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.25, allocations: 47.78 kB / 0.8018 GB, free: 58.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000197/1.251, allocations: 99.47 kB / 0.8019 GB, free: 58.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/1.251, allocations: 195.3 kB / 0.8021 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/1.255, allocations: 1.066 MB / 0.8032 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/1.256, allocations: 1.686 MB / 0.8048 GB, free: 57.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004138/1.26, allocations: 212.6 kB / 0.805 GB, free: 57.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.261, allocations: 293.2 kB / 0.8053 GB, free: 56.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (591): * Single equations (assignments): 584 * 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.005025/1.266, allocations: 1.998 MB / 0.8072 GB, free: 55.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/1.267, allocations: 244.7 kB / 0.8075 GB, free: 54.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/1.272, allocations: 2.522 MB / 0.8099 GB, free: 52.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/1.272, allocations: 24.78 kB / 0.81 GB, free: 52.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.272, allocations: 0 / 0.81 GB, free: 52.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/1.272, allocations: 6.375 kB / 0.81 GB, free: 52.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.289, allocations: 7.983 MB / 0.8178 GB, free: 45.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/1.289, allocations: 12 kB / 0.8178 GB, free: 45.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.29, allocations: 249.9 kB / 0.818 GB, free: 45.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/1.29, allocations: 56.17 kB / 0.8181 GB, free: 45.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/1.29, allocations: 47.66 kB / 0.8181 GB, free: 45.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/1.291, allocations: 1.508 MB / 0.8196 GB, free: 43.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.291, allocations: 15.94 kB / 0.8196 GB, free: 43.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005608/1.297, allocations: 4.829 MB / 0.8243 GB, free: 39.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/1.298, allocations: 300.9 kB / 0.8246 GB, free: 38.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000636/1.299, allocations: 48.89 kB / 0.8246 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.3, allocations: 54.53 kB / 0.8247 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/1.3, allocations: 120 kB / 0.8248 GB, free: 38.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.3, allocations: 65.66 kB / 0.8249 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003007/1.303, allocations: 1.588 MB / 0.8264 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.303, allocations: 0 / 0.8264 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005067/1.308, allocations: 0.8176 MB / 0.8272 GB, free: 36.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * 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.006403/1.315, allocations: 8.061 MB / 0.8351 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005797/1.321, allocations: 3.804 MB / 0.8388 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.321, allocations: 8 kB / 0.8388 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.322, allocations: 1.233 MB / 0.84 GB, free: 24.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.325, allocations: 318.7 kB / 0.8403 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.371/1.696, allocations: 93.11 MB / 0.9313 GB, free: 88.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00568/1.701, allocations: 3.22 MB / 0.9344 GB, free: 87.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00451/1.706, allocations: 1.71 MB / 0.9361 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003523/1.71, allocations: 1.695 MB / 0.9377 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.934e-06/1.71, allocations: 0 / 0.9377 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/1.831, allocations: 55.64 MB / 0.9921 GB, free: 80.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/1.831, allocations: 195.7 kB / 0.9922 GB, free: 80.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/5.92, allocations: 4 kB / 0.9923 GB, free: 80.64 MB / 0.5261 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat