Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.000963, allocations: 96.41 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 181.1 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 241.8 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.211/0.211, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 8.75 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02509/0.1649, allocations: 25.02 MB / 496.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01702/0.182, allocations: 6.668 MB / 0.4914 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005669/0.1877, allocations: 119.7 kB / 0.4915 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004595/0.1923, allocations: 1.279 MB / 0.4928 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01501/0.2073, allocations: 3.915 MB / 0.4966 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.2095, allocations: 407.2 kB / 0.497 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004769/0.2143, allocations: 2.147 MB / 0.4991 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004298/0.2186, allocations: 2.151 MB / 0.5012 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.2208, allocations: 0.8641 MB / 0.502 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.2232, allocations: 1.191 MB / 0.5032 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008412/0.224, allocations: 124 kB / 0.5033 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.2265, allocations: 0.8816 MB / 0.5042 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2799/0.5065, allocations: 1.407 MB / 0.5056 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.5082, allocations: 0.7469 MB / 0.5063 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009054/0.5172, allocations: 4.734 MB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5173, allocations: 0 / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5173, allocations: 0.5625 kB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002864/0.5176, allocations: 2 kB / 0.5109 GB, free: 13.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01068/0.5283, allocations: 3.585 MB / 0.5144 GB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5283, allocations: 10.66 kB / 0.5144 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002398/0.5307, allocations: 0.6985 MB / 0.5151 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.5447, allocations: 3.837 MB / 0.5189 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007813/0.5526, allocations: 2.247 MB / 0.5211 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.553, allocations: 182.1 kB / 0.5212 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003045/0.556, allocations: 330.5 kB / 0.5215 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/0.5782, allocations: 10.53 MB / 0.5318 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.5783, allocations: 33.19 kB / 0.5319 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006742/0.579, allocations: 114.9 kB / 0.532 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003933/0.583, allocations: 2.499 MB / 0.5344 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.6023, allocations: 10.04 MB / 0.5442 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05934/0.6616, allocations: 35.13 MB / 0.5785 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008311/0.67, allocations: 4.323 MB / 0.5827 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.6713, allocations: 1.318 MB / 0.584 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.6713, allocations: 48.56 kB / 0.5841 GB, free: 13.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 5.941e-06/0.6713, allocations: 0 / 0.5841 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04222/0.7136, allocations: 17.29 MB / 0.601 GB, free: 11.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001596/0.7152, allocations: 1.536 MB / 0.6025 GB, free: 10.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005094/0.7203, allocations: 2.932 MB / 0.6053 GB, free: 7.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007055/0.7211, allocations: 57.7 kB / 0.6054 GB, free: 7.234 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002645/0.7237, allocations: 2.664 MB / 0.608 GB, free: 4.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002073/0.7258, allocations: 0.9225 MB / 0.6089 GB, free: 3.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004728/0.7263, allocations: 108 kB / 0.609 GB, free: 3.562 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005192/0.7268, allocations: 0.5416 MB / 0.6095 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004917/0.7317, allocations: 2.41 MB / 0.6119 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008388/0.7402, allocations: 5.348 MB / 0.6171 GB, free: 9.852 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008425/0.7486, allocations: 3.586 MB / 0.6206 GB, free: 6.359 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/0.7488, allocations: 28 kB / 0.6206 GB, free: 6.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.02857/0.7774, allocations: 9.619 MB / 0.63 GB, free: 13.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.7775, allocations: 48.97 kB / 0.6301 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01479/0.7923, allocations: 4.816 MB / 0.6348 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/0.8038, allocations: 2.394 MB / 0.6371 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004849/0.8087, allocations: 1.252 MB / 0.6383 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009146/0.8179, allocations: 6.156 MB / 0.6443 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004722/0.8227, allocations: 394.3 kB / 0.6447 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/0.824, allocations: 320 kB / 0.645 GB, free: 13.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 658 * 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.005247/0.8293, allocations: 2.055 MB / 0.647 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009366/0.8302, allocations: 274.1 kB / 0.6473 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.8422, allocations: 5.317 MB / 0.6525 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01001/0.8523, allocations: 4.585 MB / 0.657 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.8523, allocations: 4 kB / 0.657 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/0.8524, allocations: 11.97 kB / 0.657 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03119/0.8836, allocations: 14.43 MB / 0.6711 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.8836, allocations: 8 kB / 0.6711 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/0.8857, allocations: 403.4 kB / 0.6715 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004545/0.8902, allocations: 1.24 MB / 0.6727 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006528/0.8909, allocations: 71.56 kB / 0.6727 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/0.8965, allocations: 4.526 MB / 0.6772 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001196/0.8977, allocations: 1.475 MB / 0.6786 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.9138, allocations: 8.782 MB / 0.6872 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.915, allocations: 345.5 kB / 0.6875 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/0.916, allocations: 59.97 kB / 0.6876 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/0.9182, allocations: 195.7 kB / 0.6878 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000568/0.9188, allocations: 152.9 kB / 0.6879 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003747/0.9192, allocations: 83.92 kB / 0.688 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004112/0.9233, allocations: 1.824 MB / 0.6898 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9234, allocations: 4 kB / 0.6898 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006398/0.9298, allocations: 1.078 MB / 0.6908 GB, free: 13.72 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 182 * 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.01695/0.9467, allocations: 11.83 MB / 0.7024 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.284/1.231, allocations: 6.37 MB / 0.7086 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/1.231, allocations: 1.375 kB / 0.7086 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009507/1.24, allocations: 2.829 MB / 0.7114 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/1.244, allocations: 350.8 kB / 0.7117 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09663/1.341, allocations: 103.8 MB / 0.813 GB, free: 78.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003562/1.345, allocations: 3.319 MB / 0.8162 GB, free: 75.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004267/1.349, allocations: 2.075 MB / 0.8183 GB, free: 73.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/1.352, allocations: 1.735 MB / 0.82 GB, free: 73.32 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/1.352, allocations: 0 / 0.82 GB, free: 73.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.461, allocations: 71.86 MB / 0.8902 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.461, allocations: 212.2 kB / 0.8904 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/5.134, allocations: 0 / 0.8904 GB, free: 1.691 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat