Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009672/0.0009672, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000866/0.0008659, allocations: 86.64 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2131/0.2131, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.871e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.5714, allocations: 105.5 MB / 0.569 GB, free: 5.906 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5718, allocations: 83.61 kB / 0.5691 GB, free: 5.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.296/0.8678, allocations: 115.5 MB / 0.6819 GB, free: 10.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.8678, allocations: 0 / 0.6819 GB, free: 10.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002338/0.8681, allocations: 84 kB / 0.682 GB, free: 10.16 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01617/0.8843, allocations: 4.464 MB / 0.6863 GB, free: 5.625 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.8843, allocations: 12.03 kB / 0.6863 GB, free: 5.613 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/0.9015, allocations: 3.651 MB / 0.6899 GB, free: 1.949 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.9149, allocations: 4.811 MB / 0.6946 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.9153, allocations: 160 kB / 0.6947 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003211/0.9185, allocations: 288 kB / 0.695 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01712/0.9356, allocations: 8.47 MB / 0.7033 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3772/1.313, allocations: 11.2 MB / 0.7142 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003276/1.313, allocations: 33.91 kB / 0.7143 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002149/1.315, allocations: 17 kB / 0.7143 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00331/1.319, allocations: 1.399 MB / 0.7156 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06709/1.386, allocations: 39.83 MB / 0.7545 GB, free: 97.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005272/1.391, allocations: 4.38 MB / 0.7588 GB, free: 96.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/1.394, allocations: 2.37 MB / 0.7611 GB, free: 96.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/1.395, allocations: 1.317 MB / 0.7624 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/1.395, allocations: 55.22 kB / 0.7625 GB, free: 95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=252): time 5.45e-06/1.395, allocations: 0 / 0.7625 GB, free: 95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=271): time 0.03059/1.426, allocations: 18.84 MB / 0.7809 GB, free: 88.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.426, allocations: 105.7 kB / 0.781 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/1.43, allocations: 2.669 MB / 0.7836 GB, free: 87.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005252/1.431, allocations: 25.7 kB / 0.7836 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002045/1.433, allocations: 3.381 MB / 0.7869 GB, free: 85.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.434, allocations: 0.9651 MB / 0.7878 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.434, allocations: 0 / 0.7878 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002939/1.434, allocations: 0.5847 MB / 0.7884 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002741/1.437, allocations: 2.395 MB / 0.7908 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/1.442, allocations: 6.04 MB / 0.7967 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/1.446, allocations: 3.818 MB / 0.8004 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-05/1.446, allocations: 37.5 kB / 0.8004 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=862) (initialization): time 0.01353/1.46, allocations: 8.59 MB / 0.8088 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/1.46, allocations: 60.03 kB / 0.8089 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/1.46, allocations: 128.1 kB / 0.809 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/1.463, allocations: 1.081 MB / 0.81 GB, free: 73.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004851/1.468, allocations: 1.482 MB / 0.8115 GB, free: 73.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/1.474, allocations: 4.877 MB / 0.8163 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/1.478, allocations: 221.3 kB / 0.8165 GB, free: 68.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008336/1.479, allocations: 379.5 kB / 0.8168 GB, free: 68.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (800): * Single equations (assignments): 793 * 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.001048/1.48, allocations: 442.5 kB / 0.8172 GB, free: 68.06 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006929/1.487, allocations: 4.638 MB / 0.8218 GB, free: 64.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006511/1.488, allocations: 317.2 kB / 0.8221 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007883/1.496, allocations: 5.177 MB / 0.8271 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/1.496, allocations: 49.53 kB / 0.8272 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.496, allocations: 7.625 kB / 0.8272 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/1.496, allocations: 10.64 kB / 0.8272 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.514, allocations: 12.02 MB / 0.8389 GB, free: 49.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.514, allocations: 12 kB / 0.8389 GB, free: 49.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/1.515, allocations: 434.2 kB / 0.8394 GB, free: 49.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/1.518, allocations: 0.8786 MB / 0.8402 GB, free: 48.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.518, allocations: 23.66 kB / 0.8402 GB, free: 48.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/1.523, allocations: 4.222 MB / 0.8444 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.523, allocations: 23.88 kB / 0.8444 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00968/1.532, allocations: 8.964 MB / 0.8531 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.534, allocations: 0.7167 MB / 0.8538 GB, free: 35.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/1.534, allocations: 19.7 kB / 0.8539 GB, free: 35.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.536, allocations: 114 kB / 0.854 GB, free: 35.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/1.536, allocations: 174.8 kB / 0.8541 GB, free: 35.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/1.536, allocations: 83.31 kB / 0.8542 GB, free: 35.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002354/1.539, allocations: 1.742 MB / 0.8559 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/1.539, allocations: 0 / 0.8559 GB, free: 33.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005068/1.544, allocations: 0.9725 MB / 0.8569 GB, free: 32.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (212): * Single equations (assignments): 205 * 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.01018/1.554, allocations: 12.6 MB / 0.8692 GB, free: 20.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007068/1.561, allocations: 5.825 MB / 0.8749 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.561, allocations: 4 kB / 0.8749 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/1.563, allocations: 2.183 MB / 0.877 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.565, allocations: 265.7 kB / 0.8772 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.586, allocations: 11.21 MB / 0.8882 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004105/1.59, allocations: 3.937 MB / 0.892 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005375/1.595, allocations: 2.294 MB / 0.8943 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003174/1.598, allocations: 2.214 MB / 0.8964 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/1.598, allocations: 0 / 0.8964 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4481/2.047, allocations: 74.76 MB / 0.9695 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/2.047, allocations: 125.2 kB / 0.9696 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.697/5.744, allocations: 0 / 0.9696 GB, free: 111.4 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat