Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.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.FreeBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies",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.001665/0.001665, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008625/0.0008624, allocations: 98.52 kB / 267.1 MB, free: 9.273 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.4009/0.4009, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.034e-05, allocations: 4 kB / 425.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 58.85 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.5947, allocations: 106.5 MB / 0.5769 GB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.595, allocations: 77.89 kB / 0.577 GB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7051/1.3, allocations: 146.3 MB / 0.7199 GB, free: 77.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.934e-06/1.3, allocations: 0 / 0.7199 GB, free: 77.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004654/1.301, allocations: 160.5 kB / 0.72 GB, free: 77.51 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.03825/1.339, allocations: 8.875 MB / 0.7287 GB, free: 74.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.339, allocations: 8.656 kB / 0.7287 GB, free: 74.65 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005268/1.344, allocations: 1.352 MB / 0.73 GB, free: 74.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03526/1.38, allocations: 7.779 MB / 0.7376 GB, free: 74.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02927/1.409, allocations: 11.05 MB / 0.7484 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000808/1.41, allocations: 0.5853 MB / 0.749 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004372/1.414, allocations: 0.7972 MB / 0.7497 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04675/1.461, allocations: 18.18 MB / 0.7675 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006068/1.462, allocations: 106 kB / 0.7676 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00319/1.465, allocations: 376.3 kB / 0.768 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002558/1.467, allocations: 1.682 MB / 0.7696 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03432/1.502, allocations: 14.67 MB / 0.7839 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1065/1.608, allocations: 81.21 MB / 0.8632 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0208/1.629, allocations: 7.556 MB / 0.8706 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/1.634, allocations: 3.365 MB / 0.8739 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3709/2.005, allocations: 17.1 MB / 0.8906 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/2.005, allocations: 66.16 kB / 0.8907 GB, free: 89.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 5.871e-06/2.005, allocations: 3.562 kB / 0.8907 GB, free: 89.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.0663/2.071, allocations: 24.18 MB / 0.9143 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003359/2.074, allocations: 6.275 MB / 0.9204 GB, free: 79.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01456/2.089, allocations: 5.798 MB / 0.9261 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009649/2.09, allocations: 73.39 kB / 0.9261 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00409/2.094, allocations: 5.368 MB / 0.9314 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00217/2.096, allocations: 1.322 MB / 0.9327 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007313/2.097, allocations: 201.3 kB / 0.9329 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005536/2.098, allocations: 0.738 MB / 0.9336 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006572/2.104, allocations: 3.901 MB / 0.9374 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/2.115, allocations: 9.723 MB / 0.9469 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009847/2.125, allocations: 6.038 MB / 0.9528 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002792/2.125, allocations: 59.91 kB / 0.9528 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04033/2.165, allocations: 16.4 MB / 0.9688 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002762/2.166, allocations: 91.41 kB / 0.9689 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01836/2.184, allocations: 7.853 MB / 0.9766 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01551/2.2, allocations: 3.908 MB / 0.9804 GB, free: 61.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008575/2.208, allocations: 2.363 MB / 0.9827 GB, free: 60.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/2.224, allocations: 13.55 MB / 0.996 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/2.237, allocations: 0.8731 MB / 0.9968 GB, free: 50.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002602/2.239, allocations: 0.606 MB / 0.9974 GB, free: 50.79 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 () * 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.003724/2.243, allocations: 0.8741 MB / 0.9983 GB, free: 50.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/2.245, allocations: 0.5992 MB / 0.9988 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/2.26, allocations: 7.776 MB / 1.006 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01344/2.273, allocations: 6.914 MB / 1.013 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/2.273, allocations: 6.625 kB / 1.013 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.299e-05/2.273, allocations: 20.69 kB / 1.013 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04102/2.314, allocations: 19.41 MB / 1.032 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/2.315, allocations: 4 kB / 1.032 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/2.318, allocations: 0.659 MB / 1.033 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009145/2.327, allocations: 3.135 MB / 1.036 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/2.328, allocations: 108.6 kB / 1.036 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/2.341, allocations: 14 MB / 1.05 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003131/2.344, allocations: 6.05 MB / 1.056 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03206/2.377, allocations: 13.45 MB / 1.069 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002973/2.38, allocations: 0.6597 MB / 1.069 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002841/2.382, allocations: 86.73 kB / 1.069 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00604/2.389, allocations: 390.2 kB / 1.07 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001937/2.391, allocations: 242.8 kB / 1.07 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009275/2.391, allocations: 102.3 kB / 1.07 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01117/2.403, allocations: 4.037 MB / 1.074 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.585e-06/2.403, allocations: 0 / 1.074 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01415/2.417, allocations: 2.101 MB / 1.076 GB, free: 8.754 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 () * 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.3608/2.778, allocations: 14.17 MB / 1.09 GB, free: 91.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02084/2.799, allocations: 11.37 MB / 1.101 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/2.799, allocations: 0 / 1.101 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01027/2.809, allocations: 5.426 MB / 1.106 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006968/2.816, allocations: 0.862 MB / 1.107 GB, free: 88.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05726/2.873, allocations: 19.62 MB / 1.126 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/2.887, allocations: 5.555 MB / 1.132 GB, free: 82.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01097/2.898, allocations: 3.034 MB / 1.135 GB, free: 82.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009309/2.907, allocations: 3.731 MB / 1.138 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/2.907, allocations: 1.969 kB / 1.138 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6036/3.511, allocations: 151.1 MB / 1.286 GB, free: 70.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/3.511, allocations: 174.7 kB / 1.286 GB, free: 69.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/11.38, allocations: 4 kB / 1.286 GB, free: 69.98 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat