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.001059/0.001059, 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.485/1.485, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0009608/0.0009605, allocations: 82.31 kB / 261.7 MB, free: 1.688 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.2122/0.2122, allocations: 43.49 MB / 353.2 MB, free: 300 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.731e-05, allocations: 0 / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5333, allocations: 105.8 MB / 0.5694 GB, free: 5.578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5337, allocations: 78.62 kB / 0.5694 GB, free: 5.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8941/1.428, allocations: 142.9 MB / 0.709 GB, free: 88.84 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.615e-06/1.428, allocations: 0 / 0.709 GB, free: 88.84 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0006389/1.429, allocations: 164.8 kB / 0.7091 GB, free: 88.84 MB / 0.4949 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.04272/1.471, allocations: 8.864 MB / 0.7178 GB, free: 87.9 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.471, allocations: 12.75 kB / 0.7178 GB, free: 87.9 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03539/1.507, allocations: 7.782 MB / 0.7254 GB, free: 87.38 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02946/1.536, allocations: 11.03 MB / 0.7362 GB, free: 86.45 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005578/1.537, allocations: 258.6 kB / 0.7364 GB, free: 86.45 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004141/1.541, allocations: 469 kB / 0.7369 GB, free: 86.44 MB / 0.4949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0209/1.562, allocations: 10.52 MB / 0.7471 GB, free: 86.4 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03753/1.599, allocations: 15.67 MB / 0.7624 GB, free: 82.29 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007033/1.6, allocations: 102.1 kB / 0.7625 GB, free: 82.29 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003462/1.604, allocations: 46.75 kB / 0.7626 GB, free: 82.29 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002968/1.607, allocations: 1.683 MB / 0.7642 GB, free: 82.27 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0928/1.7, allocations: 79.55 MB / 0.8419 GB, free: 29 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/1.705, allocations: 4.662 MB / 0.8465 GB, free: 26.69 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/1.708, allocations: 3.187 MB / 0.8496 GB, free: 23.81 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/1.71, allocations: 1.987 MB / 0.8515 GB, free: 21.66 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/1.71, allocations: 68.5 kB / 0.8516 GB, free: 21.58 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=307): time 5.34e-06/1.71, allocations: 0 / 0.8516 GB, free: 21.58 MB / 0.4949 GB Notification: Performance of matching and sorting (n=335): time 0.04817/1.758, allocations: 22.48 MB / 0.8735 GB, free: 2.281 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/1.758, allocations: 250.2 kB / 0.8738 GB, free: 1.992 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/1.773, allocations: 5.547 MB / 0.8792 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009342/1.774, allocations: 25.7 kB / 0.8792 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004524/1.778, allocations: 5.394 MB / 0.8845 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/1.78, allocations: 1.301 MB / 0.8858 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006443/1.781, allocations: 4 kB / 0.8858 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005068/1.781, allocations: 0.745 MB / 0.8865 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005282/1.787, allocations: 3.761 MB / 0.8902 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/1.798, allocations: 9.682 MB / 0.8996 GB, free: 8.242 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009692/1.807, allocations: 5.898 MB / 0.9054 GB, free: 3.207 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/1.807, allocations: 60 kB / 0.9054 GB, free: 3.148 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1346) (initialization): time 0.3695/2.177, allocations: 15.2 MB / 0.9203 GB, free: 106.2 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/2.177, allocations: 98.86 kB / 0.9204 GB, free: 106.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01972/2.197, allocations: 7.674 MB / 0.9279 GB, free: 105.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01559/2.213, allocations: 3.853 MB / 0.9316 GB, free: 105.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008612/2.221, allocations: 2.419 MB / 0.934 GB, free: 105.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/2.234, allocations: 13.09 MB / 0.9468 GB, free: 98.47 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/2.245, allocations: 0.6861 MB / 0.9475 GB, free: 98.47 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002234/2.247, allocations: 0.6132 MB / 0.948 GB, free: 98.47 MB / 0.5262 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.001832/2.249, allocations: 0.6454 MB / 0.9487 GB, free: 98.32 MB / 0.5262 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0176/2.267, allocations: 7.642 MB / 0.9561 GB, free: 98.01 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002435/2.269, allocations: 0.576 MB / 0.9567 GB, free: 98.01 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02075/2.29, allocations: 7.514 MB / 0.964 GB, free: 97.63 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01695/2.307, allocations: 6.742 MB / 0.9706 GB, free: 97.32 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/2.307, allocations: 6.219 kB / 0.9706 GB, free: 97.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.491e-05/2.307, allocations: 16.77 kB / 0.9706 GB, free: 97.32 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04983/2.357, allocations: 18.34 MB / 0.9886 GB, free: 95.71 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/2.357, allocations: 10.62 kB / 0.9886 GB, free: 95.71 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003575/2.361, allocations: 0.6645 MB / 0.9892 GB, free: 95.66 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009024/2.37, allocations: 3.082 MB / 0.9922 GB, free: 95.06 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/2.371, allocations: 58.81 kB / 0.9923 GB, free: 95.05 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/2.384, allocations: 13.77 MB / 1.006 GB, free: 85.95 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003162/2.387, allocations: 5.785 MB / 1.011 GB, free: 80.43 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/2.41, allocations: 12.51 MB / 1.024 GB, free: 74.84 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/2.412, allocations: 0.6169 MB / 1.024 GB, free: 74.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002408/2.414, allocations: 39.17 kB / 1.024 GB, free: 74.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005224/2.419, allocations: 338.3 kB / 1.025 GB, free: 74.02 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/2.421, allocations: 248.9 kB / 1.025 GB, free: 73.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000777/2.421, allocations: 103.5 kB / 1.025 GB, free: 73.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.007599/2.429, allocations: 3.476 MB / 1.028 GB, free: 70.78 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.21e-07/2.429, allocations: 0 / 1.028 GB, free: 70.78 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01372/2.443, allocations: 1.938 MB / 1.03 GB, free: 68.85 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($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],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.02557/2.468, allocations: 13.98 MB / 1.044 GB, free: 56.57 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02821/2.497, allocations: 10.93 MB / 1.055 GB, free: 46.69 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/2.497, allocations: 3 kB / 1.055 GB, free: 46.69 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01634/2.513, allocations: 5.35 MB / 1.06 GB, free: 41.9 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006955/2.52, allocations: 0.7243 MB / 1.06 GB, free: 41.31 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04481/2.565, allocations: 19.25 MB / 1.079 GB, free: 24.15 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007296/2.572, allocations: 5.548 MB / 1.085 GB, free: 18.61 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.008211/2.581, allocations: 3.105 MB / 1.088 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005934/2.587, allocations: 3.674 MB / 1.091 GB, free: 11.84 MB / 0.5262 GB Notification: Performance of SimCode: time 1.903e-06/2.587, allocations: 0 / 1.091 GB, free: 11.84 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4784/3.065, allocations: 142.6 MB / 1.231 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/3.065, allocations: 134.1 kB / 1.231 GB, free: 62.25 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/10.33, allocations: 4 kB / 1.231 GB, free: 62.25 MB / 0.5418 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