Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000898/0.0008981, allocations: 94.31 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 45.14 MB / 383.7 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.797e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5842, allocations: 107.9 MB / 0.6098 GB, free: 10.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5845, allocations: 75.84 kB / 0.6099 GB, free: 10.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2839/0.8684, allocations: 114.4 MB / 0.7216 GB, free: 272 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8685, allocations: 0 / 0.7216 GB, free: 272 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002414/0.8688, allocations: 88 kB / 0.7217 GB, free: 184 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01653/0.8853, allocations: 4.338 MB / 0.7259 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.8854, allocations: 12.03 kB / 0.726 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.9017, allocations: 3.608 MB / 0.7295 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.9128, allocations: 4.091 MB / 0.7335 GB, free: 4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.9131, allocations: 152 kB / 0.7336 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002528/0.9156, allocations: 280 kB / 0.7339 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01648/0.9321, allocations: 8.227 MB / 0.7419 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3235/1.256, allocations: 10.87 MB / 0.7525 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003736/1.256, allocations: 33.59 kB / 0.7526 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002684/1.259, allocations: 15.94 kB / 0.7526 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/1.261, allocations: 1.328 MB / 0.7539 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06584/1.327, allocations: 38.39 MB / 0.7914 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00494/1.332, allocations: 4.359 MB / 0.7956 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/1.335, allocations: 2.357 MB / 0.7979 GB, free: 112 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009745/1.336, allocations: 1.324 MB / 0.7992 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/1.336, allocations: 56.81 kB / 0.7993 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=251): time 5.881e-06/1.336, allocations: 0 / 0.7993 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270): time 0.03064/1.367, allocations: 17.98 MB / 0.8168 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.367, allocations: 76.06 kB / 0.8169 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/1.37, allocations: 2.569 MB / 0.8194 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004052/1.371, allocations: 30.55 kB / 0.8194 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.373, allocations: 3.215 MB / 0.8226 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.374, allocations: 0.9587 MB / 0.8235 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/1.374, allocations: 0 / 0.8235 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003454/1.374, allocations: 0.5797 MB / 0.8241 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/1.377, allocations: 2.359 MB / 0.8264 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005193/1.382, allocations: 5.842 MB / 0.8321 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004979/1.387, allocations: 3.743 MB / 0.8358 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.247e-05/1.387, allocations: 35.16 kB / 0.8358 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=834) (initialization): time 0.01347/1.401, allocations: 8.403 MB / 0.844 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/1.401, allocations: 62.69 kB / 0.8441 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/1.401, allocations: 122 kB / 0.8442 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/1.404, allocations: 1.064 MB / 0.8452 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/1.409, allocations: 1.435 MB / 0.8466 GB, free: 91.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/1.415, allocations: 4.863 MB / 0.8514 GB, free: 89.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/1.42, allocations: 218.8 kB / 0.8516 GB, free: 89.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.421, allocations: 359.9 kB / 0.8519 GB, free: 89.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 563 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (772): * Single equations (assignments): 765 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001158/1.422, allocations: 438.2 kB / 0.8523 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007479/1.43, allocations: 4.619 MB / 0.8568 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000717/1.431, allocations: 304.1 kB / 0.8571 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008164/1.439, allocations: 5.165 MB / 0.8622 GB, free: 81.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.898e-05/1.439, allocations: 48.42 kB / 0.8622 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.439, allocations: 8 kB / 0.8622 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/1.439, allocations: 17.31 kB / 0.8622 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/1.457, allocations: 11.81 MB / 0.8738 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/1.457, allocations: 15.94 kB / 0.8738 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.459, allocations: 428.4 kB / 0.8742 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/1.461, allocations: 0.8802 MB / 0.8751 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002244/1.461, allocations: 23.3 kB / 0.8751 GB, free: 70.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/1.466, allocations: 4.232 MB / 0.8792 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.466, allocations: 15.94 kB / 0.8792 GB, free: 66.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00982/1.476, allocations: 8.885 MB / 0.8879 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008906/1.477, allocations: 348.3 kB / 0.8882 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004401/1.477, allocations: 19.61 kB / 0.8883 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.479, allocations: 112.8 kB / 0.8884 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/1.479, allocations: 175.7 kB / 0.8885 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.479, allocations: 75.62 kB / 0.8886 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002352/1.482, allocations: 1.685 MB / 0.8903 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/1.482, allocations: 0 / 0.8903 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005155/1.487, allocations: 0.9557 MB / 0.8912 GB, free: 54.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 204 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01052/1.497, allocations: 12.49 MB / 0.9034 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007578/1.505, allocations: 5.744 MB / 0.909 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/1.505, allocations: 4 kB / 0.909 GB, free: 37.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.507, allocations: 2.175 MB / 0.9111 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.509, allocations: 279.8 kB / 0.9114 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/1.528, allocations: 10.91 MB / 0.922 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003185/1.531, allocations: 3.808 MB / 0.9258 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004451/1.535, allocations: 2.262 MB / 0.928 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/1.538, allocations: 2.108 MB / 0.93 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/1.538, allocations: 4 kB / 0.93 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4034/1.941, allocations: 73.15 MB / 1.001 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.941, allocations: 124.1 kB / 1.002 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.663/5.604, allocations: 7.75 kB / 1.002 GB, free: 113.7 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat