Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001584, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 95.59 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2155/0.2155, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.348e-05/2.343e-05, allocations: 0 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5675, allocations: 108 MB / 0.6003 GB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5679, allocations: 71.97 kB / 0.6003 GB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7003/1.268, allocations: 144.6 MB / 0.7416 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/1.268, allocations: 0 / 0.7416 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005213/1.269, allocations: 160 kB / 0.7417 GB, free: 102.7 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.03906/1.308, allocations: 8.856 MB / 0.7504 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.308, allocations: 14.05 kB / 0.7504 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03274/1.341, allocations: 7.773 MB / 0.758 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02612/1.367, allocations: 10.43 MB / 0.7681 GB, free: 97.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004179/1.367, allocations: 255.7 kB / 0.7684 GB, free: 97.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/1.371, allocations: 473.5 kB / 0.7688 GB, free: 97.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01951/1.39, allocations: 10.51 MB / 0.7791 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/1.422, allocations: 15.66 MB / 0.7944 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004605/1.422, allocations: 110.4 kB / 0.7945 GB, free: 79.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/1.425, allocations: 44 kB / 0.7945 GB, free: 79.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/1.427, allocations: 1.689 MB / 0.7962 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08598/1.513, allocations: 79.44 MB / 0.8738 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006928/1.52, allocations: 4.674 MB / 0.8783 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/1.525, allocations: 3.176 MB / 0.8814 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002036/1.527, allocations: 1.99 MB / 0.8834 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.09e-05/1.527, allocations: 76.78 kB / 0.8835 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 6.402e-06/1.527, allocations: 0 / 0.8835 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.3689/1.896, allocations: 22.25 MB / 0.9052 GB, free: 122 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/1.896, allocations: 243.1 kB / 0.9054 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/1.908, allocations: 5.113 MB / 0.9104 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008713/1.909, allocations: 27.89 kB / 0.9104 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005134/1.914, allocations: 5.375 MB / 0.9157 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002228/1.916, allocations: 1.308 MB / 0.917 GB, free: 119 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/1.917, allocations: 1.5 kB / 0.917 GB, free: 119 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006402/1.918, allocations: 0.7428 MB / 0.9177 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006509/1.924, allocations: 3.765 MB / 0.9214 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.935, allocations: 9.676 MB / 0.9308 GB, free: 111 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/1.944, allocations: 5.906 MB / 0.9366 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003537/1.945, allocations: 59.66 kB / 0.9366 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1346) (initialization): time 0.03899/1.984, allocations: 15.2 MB / 0.9515 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.984, allocations: 103 kB / 0.9516 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01926/2.003, allocations: 7.674 MB / 0.9591 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01584/2.019, allocations: 3.857 MB / 0.9628 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008793/2.028, allocations: 2.422 MB / 0.9652 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/2.041, allocations: 13.09 MB / 0.978 GB, free: 94.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009996/2.051, allocations: 0.688 MB / 0.9787 GB, free: 94.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002397/2.053, allocations: 0.6108 MB / 0.9793 GB, free: 94.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1270): * Single equations (assignments): 1245 * 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.003791/2.057, allocations: 0.6539 MB / 0.9799 GB, free: 94 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01617/2.073, allocations: 7.629 MB / 0.9874 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/2.075, allocations: 0.569 MB / 0.9879 GB, free: 91.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/2.09, allocations: 7.523 MB / 0.9953 GB, free: 88.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01281/2.103, allocations: 6.735 MB / 1.002 GB, free: 86.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.44e-05/2.103, allocations: 8 kB / 1.002 GB, free: 86.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/2.103, allocations: 14.02 kB / 1.002 GB, free: 86.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03985/2.143, allocations: 18.31 MB / 1.02 GB, free: 71.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/2.143, allocations: 4 kB / 1.02 GB, free: 71.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003692/2.146, allocations: 0.6651 MB / 1.02 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008844/2.155, allocations: 3.078 MB / 1.023 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007526/2.156, allocations: 66.31 kB / 1.023 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/2.168, allocations: 13.77 MB / 1.037 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002597/2.17, allocations: 5.799 MB / 1.043 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/2.189, allocations: 12.5 MB / 1.055 GB, free: 37.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/2.192, allocations: 0.6069 MB / 1.055 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002597/2.194, allocations: 35.97 kB / 1.055 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005408/2.2, allocations: 339.4 kB / 1.056 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/2.201, allocations: 249.5 kB / 1.056 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/2.201, allocations: 104.5 kB / 1.056 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006483/2.208, allocations: 3.427 MB / 1.059 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/2.208, allocations: 0 / 1.059 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01088/2.219, allocations: 1.931 MB / 1.061 GB, free: 30.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 258 * 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.01938/2.238, allocations: 13.99 MB / 1.075 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01817/2.256, allocations: 10.93 MB / 1.086 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/2.256, allocations: 4 kB / 1.086 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009319/2.266, allocations: 5.364 MB / 1.091 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0058/2.272, allocations: 0.7155 MB / 1.092 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.346/2.618, allocations: 19.19 MB / 1.11 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01669/2.634, allocations: 5.531 MB / 1.116 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009691/2.644, allocations: 3.1 MB / 1.119 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006078/2.65, allocations: 3.66 MB / 1.122 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of SimCode: time 8.91e-07/2.65, allocations: 0 / 1.122 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/2.862, allocations: 142.1 MB / 1.261 GB, free: 32.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/2.862, allocations: 130.5 kB / 1.261 GB, free: 32.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/10.12, allocations: 0 / 1.261 GB, free: 32.36 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat