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.001563/0.001563, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.697/1.697, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 103.8 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4199/0.4199, allocations: 45.23 MB / 394.6 MB, free: 31.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003802, allocations: 8.219 kB / 468.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3779, allocations: 63.25 MB / 0.5193 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5337, allocations: 108.7 MB / 0.6254 GB, free: 10.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.5341, allocations: 87.92 kB / 0.6255 GB, free: 10.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.65/1.184, allocations: 116.4 MB / 0.7392 GB, free: 97.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.184, allocations: 3.719 kB / 0.7392 GB, free: 97.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002455/1.184, allocations: 81.12 kB / 0.7392 GB, free: 97.83 MB / 490.7 MB 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.01581/1.2, allocations: 4.582 MB / 0.7437 GB, free: 94.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.2, allocations: 14.94 kB / 0.7437 GB, free: 94.76 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004878/1.205, allocations: 0.9187 MB / 0.7446 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/1.221, allocations: 3.612 MB / 0.7481 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/1.232, allocations: 4.108 MB / 0.7522 GB, free: 90.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/1.233, allocations: 360.7 kB / 0.7525 GB, free: 90.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003226/1.236, allocations: 487.6 kB / 0.753 GB, free: 89.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03042/1.266, allocations: 11.84 MB / 0.7645 GB, free: 78.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003445/1.267, allocations: 35.64 kB / 0.7646 GB, free: 78.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002908/1.27, allocations: 215.9 kB / 0.7648 GB, free: 78.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001834/1.272, allocations: 1.322 MB / 0.7661 GB, free: 77.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/1.291, allocations: 11.14 MB / 0.7769 GB, free: 65.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06019/1.352, allocations: 41.16 MB / 0.8171 GB, free: 23.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008935/1.361, allocations: 4.716 MB / 0.8217 GB, free: 18.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.362, allocations: 1.319 MB / 0.823 GB, free: 17.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/1.362, allocations: 56.56 kB / 0.8231 GB, free: 17.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 7.404e-06/1.362, allocations: 0 / 0.8231 GB, free: 17.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.04372/1.406, allocations: 18.98 MB / 0.8416 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/1.406, allocations: 73.41 kB / 0.8417 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005263/1.411, allocations: 2.817 MB / 0.8444 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005437/1.412, allocations: 61.7 kB / 0.8445 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002596/1.414, allocations: 3.121 MB / 0.8475 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001577/1.416, allocations: 0.9674 MB / 0.8485 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/1.416, allocations: 116 kB / 0.8486 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004536/1.417, allocations: 0.566 MB / 0.8491 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/1.421, allocations: 2.428 MB / 0.8515 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006777/1.427, allocations: 5.672 MB / 0.8571 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005715/1.433, allocations: 3.704 MB / 0.8607 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-05/1.433, allocations: 36 kB / 0.8607 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01765/1.451, allocations: 8.918 MB / 0.8694 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/1.451, allocations: 56 kB / 0.8695 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002045/1.451, allocations: 112 kB / 0.8696 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003254/1.455, allocations: 1.058 MB / 0.8706 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/1.459, allocations: 1.341 MB / 0.8719 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007616/1.467, allocations: 5.223 MB / 0.877 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/1.471, allocations: 323.8 kB / 0.8773 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.472, allocations: 348 kB / 0.8777 GB, free: 7.148 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 717 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005602/1.478, allocations: 2.405 MB / 0.88 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000724/1.479, allocations: 311.9 kB / 0.8803 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3229/1.802, allocations: 5.338 MB / 0.8855 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001224/1.802, allocations: 48.69 kB / 0.8856 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/1.802, allocations: 9.859 kB / 0.8856 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-05/1.802, allocations: 9.797 kB / 0.8856 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/1.823, allocations: 13.05 MB / 0.8983 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/1.823, allocations: 14.02 kB / 0.8983 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.825, allocations: 427.9 kB / 0.8988 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/1.828, allocations: 0.8833 MB / 0.8996 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/1.828, allocations: 58.39 kB / 0.8997 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006051/1.834, allocations: 4.567 MB / 0.9041 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/1.834, allocations: 17.91 kB / 0.9041 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.845, allocations: 9.011 MB / 0.9129 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.846, allocations: 370.3 kB / 0.9133 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/1.847, allocations: 48.73 kB / 0.9133 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.848, allocations: 146.5 kB / 0.9135 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/1.849, allocations: 172.8 kB / 0.9137 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/1.849, allocations: 81.09 kB / 0.9137 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003183/1.852, allocations: 1.932 MB / 0.9156 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/1.852, allocations: 3.969 kB / 0.9156 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005748/1.858, allocations: 1.097 MB / 0.9167 GB, free: 125.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 201 * 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.0122/1.87, allocations: 12.5 MB / 0.9289 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007836/1.878, allocations: 5.934 MB / 0.9347 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.878, allocations: 3.969 kB / 0.9347 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00273/1.881, allocations: 2.247 MB / 0.9369 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.883, allocations: 401.1 kB / 0.9373 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07477/1.958, allocations: 113.2 MB / 1.048 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004687/1.963, allocations: 3.808 MB / 1.051 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004875/1.968, allocations: 2.153 MB / 1.054 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003296/1.971, allocations: 2.118 MB / 1.056 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/1.971, allocations: 0 / 1.056 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4715/2.443, allocations: 76.69 MB / 1.131 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/2.443, allocations: 192.6 kB / 1.131 GB, free: 143 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.659/7.102, allocations: 3.938 kB / 1.131 GB, free: 143 MB / 0.5417 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