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.001312/0.001312, allocations: 184.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.56/1.56, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0009487/0.0009488, allocations: 90.86 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.2013/0.2013, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.000333, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5603, allocations: 106.6 MB / 0.5829 GB, free: 9.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5606, allocations: 79.58 kB / 0.583 GB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6835/1.244, allocations: 146.2 MB / 0.7258 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.667e-06/1.244, allocations: 0 / 0.7258 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006431/1.245, allocations: 162.6 kB / 0.7259 GB, free: 93.16 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.04443/1.289, allocations: 9.488 MB / 0.7352 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.289, allocations: 10.75 kB / 0.7352 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007471/1.297, allocations: 1.352 MB / 0.7365 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03166/1.328, allocations: 7.772 MB / 0.7441 GB, free: 89.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03139/1.36, allocations: 11.1 MB / 0.755 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008766/1.361, allocations: 0.582 MB / 0.7555 GB, free: 88.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004898/1.366, allocations: 0.7891 MB / 0.7563 GB, free: 88.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04699/1.413, allocations: 18.35 MB / 0.7742 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008162/1.414, allocations: 108.6 kB / 0.7743 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005643/1.419, allocations: 371.4 kB / 0.7747 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003004/1.422, allocations: 1.686 MB / 0.7763 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03381/1.456, allocations: 14.93 MB / 0.7909 GB, free: 81.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09576/1.552, allocations: 81.23 MB / 0.8702 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0197/1.572, allocations: 7.595 MB / 0.8777 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03477/1.607, allocations: 17.07 MB / 0.8943 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.616e-05/1.607, allocations: 72.5 kB / 0.8944 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 6.292e-06/1.607, allocations: 3.938 kB / 0.8944 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.3926/1.999, allocations: 29.04 MB / 0.9228 GB, free: 98.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003587/2.003, allocations: 6.319 MB / 0.9289 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/2.013, allocations: 5.886 MB / 0.9347 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001173/2.015, allocations: 80.38 kB / 0.9348 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004267/2.019, allocations: 5.367 MB / 0.94 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002096/2.021, allocations: 1.32 MB / 0.9413 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000554/2.021, allocations: 201.7 kB / 0.9415 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004635/2.022, allocations: 0.7246 MB / 0.9422 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00581/2.028, allocations: 4.01 MB / 0.9461 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009864/2.038, allocations: 9.834 MB / 0.9557 GB, free: 80.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009396/2.047, allocations: 6.083 MB / 0.9617 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002011/2.047, allocations: 64.19 kB / 0.9617 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.03592/2.083, allocations: 16.61 MB / 0.9779 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/2.083, allocations: 92.75 kB / 0.978 GB, free: 77.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01892/2.102, allocations: 7.933 MB / 0.9858 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/2.118, allocations: 3.91 MB / 0.9896 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00851/2.126, allocations: 2.374 MB / 0.9919 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/2.141, allocations: 13.96 MB / 1.006 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/2.153, allocations: 0.8815 MB / 1.006 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002849/2.156, allocations: 0.606 MB / 1.007 GB, free: 64.07 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.01023/2.166, allocations: 3.483 MB / 1.01 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002083/2.168, allocations: 0.6016 MB / 1.011 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/2.183, allocations: 7.825 MB / 1.019 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01257/2.196, allocations: 6.968 MB / 1.025 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.902e-05/2.196, allocations: 8 kB / 1.025 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.908e-05/2.196, allocations: 16.7 kB / 1.025 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04368/2.24, allocations: 19.47 MB / 1.044 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/2.24, allocations: 8.062 kB / 1.044 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/2.243, allocations: 0.6612 MB / 1.045 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008859/2.252, allocations: 3.141 MB / 1.048 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009044/2.253, allocations: 99.91 kB / 1.048 GB, free: 34.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/2.265, allocations: 14.31 MB / 1.062 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002924/2.268, allocations: 6.089 MB / 1.068 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/2.287, allocations: 12.8 MB / 1.081 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002854/2.29, allocations: 0.6533 MB / 1.081 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/2.292, allocations: 87.97 kB / 1.081 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004157/2.296, allocations: 392.1 kB / 1.082 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008179/2.297, allocations: 245.5 kB / 1.082 GB, free: 388 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/2.297, allocations: 104.4 kB / 1.082 GB, free: 288 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008937/2.306, allocations: 4.124 MB / 1.086 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/2.306, allocations: 0 / 1.086 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01338/2.319, allocations: 2.1 MB / 1.088 GB, free: 10.09 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.3323/2.652, allocations: 14.28 MB / 1.102 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01933/2.671, allocations: 11.53 MB / 1.113 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/2.671, allocations: 0 / 1.113 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008728/2.68, allocations: 5.473 MB / 1.119 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/2.684, allocations: 0.8619 MB / 1.12 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4647/3.149, allocations: 216.1 MB / 1.331 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009641/3.159, allocations: 5.547 MB / 1.336 GB, free: 181.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.009698/3.169, allocations: 3.046 MB / 1.339 GB, free: 181.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008448/3.177, allocations: 3.727 MB / 1.343 GB, free: 181.7 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/3.177, allocations: 0 / 1.343 GB, free: 181.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2264/3.404, allocations: 151 MB / 1.49 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/3.404, allocations: 200 kB / 1.49 GB, free: 73.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/11.22, allocations: 3.938 kB / 1.49 GB, free: 73.3 MB / 0.6042 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