Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.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.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2",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.001629/0.001628, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 82.89 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.5587, allocations: 106.6 MB / 0.5829 GB, free: 9.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.5591, allocations: 76.06 kB / 0.583 GB, free: 8.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6803/1.239, allocations: 146.3 MB / 0.7259 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.545e-06/1.239, allocations: 2.656 kB / 0.7259 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001034/1.24, allocations: 166.9 kB / 0.726 GB, free: 92.96 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: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04749/1.288, allocations: 9.489 MB / 0.7353 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.288, allocations: 13.66 kB / 0.7353 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007819/1.296, allocations: 1.348 MB / 0.7366 GB, free: 89.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03322/1.329, allocations: 7.771 MB / 0.7442 GB, free: 89.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02887/1.358, allocations: 11.09 MB / 0.755 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007337/1.359, allocations: 0.584 MB / 0.7556 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/1.363, allocations: 0.7905 MB / 0.7564 GB, free: 88.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04538/1.408, allocations: 18.35 MB / 0.7743 GB, free: 83.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000747/1.409, allocations: 107 kB / 0.7744 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003828/1.413, allocations: 372.9 kB / 0.7747 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/1.416, allocations: 1.694 MB / 0.7764 GB, free: 83.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03664/1.452, allocations: 14.93 MB / 0.791 GB, free: 81.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09391/1.546, allocations: 81.22 MB / 0.8703 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/1.566, allocations: 7.61 MB / 0.8777 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02811/1.594, allocations: 17.07 MB / 0.8944 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/1.594, allocations: 72.5 kB / 0.8945 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 5.47e-06/1.594, allocations: 0 / 0.8945 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.374/1.968, allocations: 29.04 MB / 0.9228 GB, free: 97.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003621/1.972, allocations: 6.319 MB / 0.929 GB, free: 92.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/1.984, allocations: 5.894 MB / 0.9348 GB, free: 91.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.985, allocations: 73.94 kB / 0.9348 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004458/1.989, allocations: 5.36 MB / 0.9401 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00267/1.992, allocations: 1.319 MB / 0.9413 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009395/1.993, allocations: 201.8 kB / 0.9415 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005057/1.994, allocations: 0.731 MB / 0.9423 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005812/1.999, allocations: 4.012 MB / 0.9462 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009625/2.009, allocations: 9.828 MB / 0.9558 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009242/2.018, allocations: 6.083 MB / 0.9617 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002483/2.019, allocations: 58.19 kB / 0.9618 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.0382/2.057, allocations: 16.62 MB / 0.978 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004697/2.057, allocations: 95.88 kB / 0.9781 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01975/2.077, allocations: 7.922 MB / 0.9858 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/2.093, allocations: 3.919 MB / 0.9896 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007883/2.1, allocations: 2.37 MB / 0.992 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/2.114, allocations: 13.97 MB / 1.006 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/2.124, allocations: 0.8838 MB / 1.006 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002147/2.126, allocations: 0.599 MB / 1.007 GB, free: 64.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1240): * Single equations (assignments): 1215 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009292/2.135, allocations: 3.481 MB / 1.01 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/2.138, allocations: 0.5994 MB / 1.011 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/2.156, allocations: 7.833 MB / 1.019 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02092/2.177, allocations: 6.957 MB / 1.025 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.789e-05/2.177, allocations: 8 kB / 1.025 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/2.177, allocations: 19.75 kB / 1.026 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06578/2.243, allocations: 19.47 MB / 1.045 GB, free: 37.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.426e-05/2.243, allocations: 5.016 kB / 1.045 GB, free: 37.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005331/2.248, allocations: 0.6586 MB / 1.045 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01264/2.261, allocations: 3.139 MB / 1.048 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001221/2.262, allocations: 115.7 kB / 1.048 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/2.274, allocations: 14.31 MB / 1.062 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003192/2.278, allocations: 6.09 MB / 1.068 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/2.3, allocations: 12.8 MB / 1.081 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00338/2.303, allocations: 0.6572 MB / 1.081 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003402/2.306, allocations: 88.59 kB / 1.081 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005479/2.312, allocations: 383.8 kB / 1.082 GB, free: 172 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/2.313, allocations: 249.5 kB / 1.082 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007676/2.314, allocations: 104.7 kB / 1.082 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01102/2.325, allocations: 4.12 MB / 1.086 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.62e-07/2.325, allocations: 0 / 1.086 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01545/2.341, allocations: 2.098 MB / 1.088 GB, free: 9.629 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * 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 (269): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3385/2.679, allocations: 14.28 MB / 1.102 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02307/2.702, allocations: 11.53 MB / 1.113 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/2.702, allocations: 0 / 1.113 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009282/2.712, allocations: 5.478 MB / 1.119 GB, free: 98.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006319/2.718, allocations: 0.8554 MB / 1.12 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4788/3.197, allocations: 216.1 MB / 1.331 GB, free: 184.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006533/3.203, allocations: 5.539 MB / 1.336 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.008024/3.211, allocations: 3.042 MB / 1.339 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005757/3.217, allocations: 3.73 MB / 1.343 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.422e-06/3.217, allocations: 3.219 kB / 1.343 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2148/3.432, allocations: 151 MB / 1.49 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/3.432, allocations: 201.2 kB / 1.49 GB, free: 75.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/11.25, allocations: 0 / 1.49 GB, free: 75.38 MB / 0.6042 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat