Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",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.001583/0.001583, allocations: 183.7 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 1.626/1.626, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001108/0.001108, allocations: 89.8 kB / 267 MB, free: 9.277 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.4049/0.4049, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.909e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.6541, allocations: 102.3 MB / 0.5728 GB, free: 3.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.6544, allocations: 78.27 kB / 0.5729 GB, free: 3.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2369/0.8914, allocations: 87.6 MB / 0.6584 GB, free: 4.539 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.8914, allocations: 0 / 0.6584 GB, free: 4.539 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001937/0.8917, allocations: 76 kB / 0.6585 GB, free: 4.465 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01472/0.9064, allocations: 3.711 MB / 0.6621 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.9065, allocations: 8.031 kB / 0.6621 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00384/0.9103, allocations: 0.791 MB / 0.6629 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/0.9279, allocations: 3.652 MB / 0.6665 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/0.9442, allocations: 4.943 MB / 0.6713 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/0.9448, allocations: 301 kB / 0.6716 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003054/0.9479, allocations: 387.7 kB / 0.6719 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02724/0.9751, allocations: 10.28 MB / 0.682 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.9754, allocations: 27.75 kB / 0.682 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001199/0.9766, allocations: 175.9 kB / 0.6822 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001882/0.9785, allocations: 1.199 MB / 0.6834 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/1.001, allocations: 10.01 MB / 0.6931 GB, free: 360 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.378/1.379, allocations: 36.56 MB / 0.7288 GB, free: 88.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007655/1.387, allocations: 4.362 MB / 0.7331 GB, free: 87.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002796/1.39, allocations: 2.173 MB / 0.7352 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.391, allocations: 1.326 MB / 0.7365 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/1.391, allocations: 52.28 kB / 0.7366 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 7.474e-06/1.391, allocations: 3.906 kB / 0.7366 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=261): time 0.0381/1.429, allocations: 14.3 MB / 0.7505 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00139/1.43, allocations: 1.53 MB / 0.752 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006536/1.437, allocations: 2.466 MB / 0.7544 GB, free: 81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008056/1.438, allocations: 60.58 kB / 0.7545 GB, free: 80.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002473/1.44, allocations: 2.742 MB / 0.7572 GB, free: 79.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001926/1.442, allocations: 0.9567 MB / 0.7581 GB, free: 78.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/1.443, allocations: 110.6 kB / 0.7582 GB, free: 78.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008651/1.444, allocations: 0.5457 MB / 0.7587 GB, free: 77.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007389/1.452, allocations: 2.387 MB / 0.7611 GB, free: 77.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00984/1.462, allocations: 5.403 MB / 0.7663 GB, free: 72.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007293/1.469, allocations: 3.636 MB / 0.7699 GB, free: 71.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/1.469, allocations: 28.28 kB / 0.7699 GB, free: 71.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.03021/1.499, allocations: 9.388 MB / 0.7791 GB, free: 68.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.5, allocations: 51.03 kB / 0.7791 GB, free: 68.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01269/1.512, allocations: 4.552 MB / 0.7836 GB, free: 67.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.522, allocations: 2.052 MB / 0.7856 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/1.527, allocations: 1.295 MB / 0.7869 GB, free: 67.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/1.533, allocations: 4.962 MB / 0.7917 GB, free: 64.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.538, allocations: 393.9 kB / 0.7921 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.539, allocations: 327.1 kB / 0.7924 GB, free: 64.01 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 679 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001186/1.54, allocations: 0.5024 MB / 0.7929 GB, free: 63.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006635/1.541, allocations: 290.9 kB / 0.7932 GB, free: 63.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009538/1.55, allocations: 5.348 MB / 0.7984 GB, free: 61.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007819/1.558, allocations: 4.592 MB / 0.8029 GB, free: 60.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.558, allocations: 0 / 0.8029 GB, free: 60.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/1.558, allocations: 18.42 kB / 0.8029 GB, free: 60.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02518/1.583, allocations: 14.61 MB / 0.8172 GB, free: 54.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.584, allocations: 8 kB / 0.8172 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/1.585, allocations: 425.5 kB / 0.8176 GB, free: 53.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004204/1.59, allocations: 1.188 MB / 0.8187 GB, free: 53.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004917/1.59, allocations: 63.88 kB / 0.8188 GB, free: 53.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004112/1.594, allocations: 4.436 MB / 0.8231 GB, free: 48.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001027/1.595, allocations: 1.474 MB / 0.8246 GB, free: 47.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.609, allocations: 8.782 MB / 0.8331 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.61, allocations: 345.5 kB / 0.8335 GB, free: 38.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000684/1.611, allocations: 51.75 kB / 0.8335 GB, free: 38.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/1.613, allocations: 203.7 kB / 0.8337 GB, free: 38.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003801/1.613, allocations: 167.8 kB / 0.8339 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/1.614, allocations: 87.16 kB / 0.834 GB, free: 38.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002313/1.616, allocations: 1.673 MB / 0.8356 GB, free: 37.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.616, allocations: 0 / 0.8356 GB, free: 37.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004287/1.62, allocations: 1.078 MB / 0.8366 GB, free: 36.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/1.632, allocations: 11.92 MB / 0.8483 GB, free: 24.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009642/1.641, allocations: 6.396 MB / 0.8545 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.642, allocations: 5.938 kB / 0.8545 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004157/1.646, allocations: 2.868 MB / 0.8573 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/1.648, allocations: 348 kB / 0.8577 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/1.669, allocations: 10.59 MB / 0.868 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/1.672, allocations: 3.396 MB / 0.8713 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004729/1.677, allocations: 2.119 MB / 0.8734 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002662/1.68, allocations: 1.815 MB / 0.8752 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/1.68, allocations: 0 / 0.8752 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4135/2.093, allocations: 72.63 MB / 0.9461 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/2.093, allocations: 177.1 kB / 0.9463 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.423/6.516, allocations: 0 / 0.9463 GB, free: 103.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat