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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.2 MB / 241 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001017, allocations: 102.6 kB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3685/0.3685, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003616, allocations: 8 kB / 460 MB, free: 1.676 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3706, allocations: 61.89 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5071, allocations: 103.5 MB / 0.6107 GB, free: 7.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5074, allocations: 83.88 kB / 0.6108 GB, free: 7.512 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5521/1.06, allocations: 86.39 MB / 0.6952 GB, free: 98.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1.06, allocations: 0 / 0.6952 GB, free: 98.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002238/1.06, allocations: 70.59 kB / 0.6953 GB, free: 98.59 MB / 490.7 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.01398/1.074, allocations: 3.775 MB / 0.6989 GB, free: 96.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.074, allocations: 8.344 kB / 0.6989 GB, free: 96.85 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003802/1.078, allocations: 0.7629 MB / 0.6997 GB, free: 96.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/1.095, allocations: 3.621 MB / 0.7032 GB, free: 96.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01734/1.112, allocations: 4.779 MB / 0.7079 GB, free: 96.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008838/1.113, allocations: 290.3 kB / 0.7082 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00365/1.117, allocations: 385.1 kB / 0.7085 GB, free: 95.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03047/1.147, allocations: 10.08 MB / 0.7184 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003984/1.147, allocations: 30.47 kB / 0.7184 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003151/1.151, allocations: 175.4 kB / 0.7186 GB, free: 93.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002591/1.153, allocations: 1.162 MB / 0.7197 GB, free: 93.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/1.174, allocations: 9.888 MB / 0.7294 GB, free: 90.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05604/1.23, allocations: 35.7 MB / 0.7642 GB, free: 68.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006998/1.237, allocations: 4.286 MB / 0.7684 GB, free: 66.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/1.238, allocations: 1.311 MB / 0.7697 GB, free: 65.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.238, allocations: 59.78 kB / 0.7698 GB, free: 65.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 6.523e-06/1.238, allocations: 0 / 0.7698 GB, free: 65.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=252): time 0.03493/1.273, allocations: 16.96 MB / 0.7863 GB, free: 53.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001002/1.274, allocations: 1.534 MB / 0.7878 GB, free: 51.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/1.279, allocations: 2.42 MB / 0.7902 GB, free: 49.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.279, allocations: 61.3 kB / 0.7902 GB, free: 49.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/1.28, allocations: 2.664 MB / 0.7928 GB, free: 47.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007366/1.281, allocations: 0.926 MB / 0.7937 GB, free: 46.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/1.281, allocations: 108 kB / 0.7939 GB, free: 46.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003319/1.282, allocations: 0.543 MB / 0.7944 GB, free: 45.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/1.285, allocations: 2.372 MB / 0.7967 GB, free: 43.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004135/1.289, allocations: 5.323 MB / 0.8019 GB, free: 37.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00402/1.293, allocations: 3.559 MB / 0.8054 GB, free: 34.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-05/1.293, allocations: 28 kB / 0.8054 GB, free: 34.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=731) (initialization): time 0.01856/1.311, allocations: 9.303 MB / 0.8145 GB, free: 25.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/1.312, allocations: 48 kB / 0.8145 GB, free: 25.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01226/1.324, allocations: 4.504 MB / 0.8189 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00974/1.334, allocations: 2.059 MB / 0.8209 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/1.339, allocations: 1.252 MB / 0.8222 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/1.345, allocations: 5.139 MB / 0.8272 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/1.35, allocations: 383.6 kB / 0.8275 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/1.351, allocations: 314.2 kB / 0.8278 GB, free: 11.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (669): * Single equations (assignments): 657 * 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.00495/1.356, allocations: 2.066 MB / 0.8299 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008847/1.357, allocations: 272.4 kB / 0.8301 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.367, allocations: 5.27 MB / 0.8353 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0078/1.375, allocations: 4.546 MB / 0.8397 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/1.375, allocations: 11.95 kB / 0.8397 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/1.375, allocations: 7.969 kB / 0.8397 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03149/1.406, allocations: 14.34 MB / 0.8537 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.407, allocations: 8 kB / 0.8537 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.408, allocations: 408.1 kB / 0.8541 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004247/1.413, allocations: 1.193 MB / 0.8553 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003976/1.413, allocations: 59.97 kB / 0.8553 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/1.418, allocations: 4.525 MB / 0.8598 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001165/1.419, allocations: 1.486 MB / 0.8612 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3495/1.769, allocations: 8.663 MB / 0.8697 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.77, allocations: 331.7 kB / 0.87 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008758/1.771, allocations: 54.14 kB / 0.87 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/1.773, allocations: 192.1 kB / 0.8702 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000419/1.773, allocations: 164.9 kB / 0.8704 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.773, allocations: 72.8 kB / 0.8705 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002585/1.776, allocations: 1.652 MB / 0.8721 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.776, allocations: 0 / 0.8721 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004955/1.781, allocations: 1.044 MB / 0.8731 GB, free: 116.9 MB / 0.5105 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.01377/1.795, allocations: 11.83 MB / 0.8846 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.806, allocations: 6.332 MB / 0.8908 GB, free: 112 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/1.806, allocations: 3.188 kB / 0.8908 GB, free: 112 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004382/1.81, allocations: 2.84 MB / 0.8936 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.812, allocations: 350.8 kB / 0.8939 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07726/1.889, allocations: 103.1 MB / 0.9946 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004522/1.894, allocations: 3.321 MB / 0.9979 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005068/1.899, allocations: 2.069 MB / 0.9999 GB, free: 38.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002975/1.902, allocations: 1.736 MB / 1.002 GB, free: 36.97 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/1.902, allocations: 4 kB / 1.002 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/2.014, allocations: 70.23 MB / 1.07 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/2.014, allocations: 201.7 kB / 1.07 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.765/5.779, allocations: 0 / 1.07 GB, free: 9.344 MB / 0.5417 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