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.001012/0.001012, allocations: 176.7 kB / 8.004 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.656/1.656, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008795/0.0008795, allocations: 86.28 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.2237/0.2237, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.224e-05, allocations: 7.984 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.612, allocations: 101.6 MB / 0.5653 GB, free: 9.977 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.6123, allocations: 76.62 kB / 0.5653 GB, free: 9.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2158/0.8281, allocations: 86.1 MB / 0.6494 GB, free: 11.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.8282, allocations: 0 / 0.6494 GB, free: 11.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.8283, allocations: 72 kB / 0.6495 GB, free: 11.74 MB / 458.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.01379/0.8421, allocations: 3.706 MB / 0.6531 GB, free: 7.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.8422, allocations: 12.03 kB / 0.6531 GB, free: 7.961 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.8591, allocations: 3.66 MB / 0.6567 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/0.8727, allocations: 4.935 MB / 0.6615 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.873, allocations: 124 kB / 0.6616 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/0.875, allocations: 227.9 kB / 0.6619 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01398/0.889, allocations: 7.279 MB / 0.669 GB, free: 7.668 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/0.9082, allocations: 9.589 MB / 0.6783 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.9084, allocations: 31.66 kB / 0.6784 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005029/0.9089, allocations: 16 kB / 0.6784 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.9106, allocations: 1.199 MB / 0.6795 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3707/1.281, allocations: 34.11 MB / 0.7129 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/1.286, allocations: 4.049 MB / 0.7168 GB, free: 116 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/1.289, allocations: 2.118 MB / 0.7189 GB, free: 116 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.291, allocations: 1.321 MB / 0.7202 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.291, allocations: 55.97 kB / 0.7202 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=247): time 5.931e-06/1.291, allocations: 0 / 0.7202 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.0304/1.321, allocations: 14.79 MB / 0.7347 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.321, allocations: 73.94 kB / 0.7347 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/1.324, allocations: 2.387 MB / 0.7371 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/1.325, allocations: 28.22 kB / 0.7371 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.326, allocations: 2.825 MB / 0.7398 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007987/1.327, allocations: 0.9466 MB / 0.7408 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.327, allocations: 3.094 kB / 0.7408 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002623/1.327, allocations: 0.5677 MB / 0.7413 GB, free: 111 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/1.33, allocations: 2.359 MB / 0.7436 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/1.334, allocations: 5.639 MB / 0.7491 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004365/1.338, allocations: 3.678 MB / 0.7527 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.054e-05/1.339, allocations: 31.5 kB / 0.7528 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01949/1.358, allocations: 9.018 MB / 0.7616 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.55e-05/1.358, allocations: 56.81 kB / 0.7616 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0116/1.37, allocations: 4.484 MB / 0.766 GB, free: 103 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009999/1.38, allocations: 2.054 MB / 0.768 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004759/1.385, allocations: 1.383 MB / 0.7694 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/1.39, allocations: 4.793 MB / 0.774 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005162/1.396, allocations: 293.4 kB / 0.7743 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/1.397, allocations: 351.1 kB / 0.7747 GB, free: 99.69 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * 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 (739): * Single equations (assignments): 727 * 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.0009352/1.398, allocations: 398.1 kB / 0.775 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00831/1.406, allocations: 4.708 MB / 0.7796 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006419/1.407, allocations: 283.2 kB / 0.7799 GB, free: 97.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008913/1.416, allocations: 5.236 MB / 0.785 GB, free: 95.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007513/1.423, allocations: 4.504 MB / 0.7894 GB, free: 91.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.423, allocations: 4 kB / 0.7894 GB, free: 91.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/1.423, allocations: 13.92 kB / 0.7894 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/1.445, allocations: 13.54 MB / 0.8027 GB, free: 80.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.445, allocations: 8.812 kB / 0.8027 GB, free: 80.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.447, allocations: 437.5 kB / 0.8031 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003972/1.451, allocations: 1.172 MB / 0.8042 GB, free: 79.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003103/1.451, allocations: 31.73 kB / 0.8043 GB, free: 79.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/1.455, allocations: 4.337 MB / 0.8085 GB, free: 75.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006698/1.455, allocations: 1.414 MB / 0.8099 GB, free: 73.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.466, allocations: 8.748 MB / 0.8184 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009237/1.467, allocations: 345.4 kB / 0.8187 GB, free: 65.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/1.468, allocations: 23.94 kB / 0.8188 GB, free: 65.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.469, allocations: 158.2 kB / 0.8189 GB, free: 65.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/1.469, allocations: 174.5 kB / 0.8191 GB, free: 65.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/1.469, allocations: 77.81 kB / 0.8192 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002104/1.472, allocations: 1.571 MB / 0.8207 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.4e-07/1.472, allocations: 0 / 0.8207 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004622/1.476, allocations: 0.9677 MB / 0.8216 GB, free: 63.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (205): * Single equations (assignments): 195 * 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.01097/1.487, allocations: 11.99 MB / 0.8333 GB, free: 51.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009185/1.496, allocations: 6.278 MB / 0.8395 GB, free: 46.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.496, allocations: 4.188 kB / 0.8395 GB, free: 46.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004046/1.5, allocations: 2.817 MB / 0.8422 GB, free: 43.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/1.502, allocations: 238.6 kB / 0.8425 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.522, allocations: 10.41 MB / 0.8526 GB, free: 32.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/1.524, allocations: 3.397 MB / 0.8559 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004578/1.529, allocations: 2.232 MB / 0.8581 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/1.532, allocations: 1.827 MB / 0.8599 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/1.532, allocations: 0 / 0.8599 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4085/1.94, allocations: 69.77 MB / 0.928 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.94, allocations: 130.1 kB / 0.9282 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/5.462, allocations: 0 / 0.9282 GB, free: 126.1 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