Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",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.00102/0.00102, allocations: 177.5 kB / 8.005 MB, free: 1.066 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.632/1.632, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0009288/0.0009288, allocations: 90.28 kB / 261.7 MB, free: 1.684 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.1948/0.1948, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.045e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1345, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5437, allocations: 108.3 MB / 0.5718 GB, free: 3.043 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.544, allocations: 77.88 kB / 0.5719 GB, free: 3.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2371/0.781, allocations: 97.14 MB / 0.6668 GB, free: 9.941 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7811, allocations: 0 / 0.6668 GB, free: 9.941 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001572/0.7812, allocations: 92 kB / 0.6669 GB, free: 9.852 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01669/0.7979, allocations: 4.695 MB / 0.6714 GB, free: 5.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.798, allocations: 8.031 kB / 0.6715 GB, free: 5.082 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.8141, allocations: 3.624 MB / 0.675 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.8274, allocations: 4.925 MB / 0.6798 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.8277, allocations: 160 kB / 0.68 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002621/0.8304, allocations: 295.9 kB / 0.6802 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01683/0.8472, allocations: 8.506 MB / 0.6885 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/0.8714, allocations: 11.22 MB / 0.6995 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000156/0.8716, allocations: 31.66 kB / 0.6995 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007315/0.8724, allocations: 16 kB / 0.6995 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001742/0.8741, allocations: 1.334 MB / 0.7009 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3384/1.213, allocations: 39.82 MB / 0.7397 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004959/1.218, allocations: 4.334 MB / 0.744 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002666/1.22, allocations: 2.315 MB / 0.7462 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.221, allocations: 1.652 MB / 0.7478 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.221, allocations: 56.28 kB / 0.7479 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=269): time 5.64e-06/1.221, allocations: 0 / 0.7479 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=278): time 0.02457/1.246, allocations: 14.49 MB / 0.762 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.246, allocations: 101.9 kB / 0.7621 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00337/1.249, allocations: 2.605 MB / 0.7647 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002945/1.25, allocations: 29.52 kB / 0.7647 GB, free: 99.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.251, allocations: 3.315 MB / 0.7679 GB, free: 97.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007761/1.252, allocations: 0.9989 MB / 0.7689 GB, free: 96.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/1.252, allocations: 0 / 0.7689 GB, free: 96.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002622/1.252, allocations: 0.593 MB / 0.7695 GB, free: 96.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/1.255, allocations: 2.354 MB / 0.7718 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/1.259, allocations: 5.977 MB / 0.7776 GB, free: 89.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004118/1.263, allocations: 3.784 MB / 0.7813 GB, free: 88.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.648e-05/1.263, allocations: 39.56 kB / 0.7814 GB, free: 88.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=871) (initialization): time 0.01386/1.277, allocations: 8.482 MB / 0.7897 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/1.277, allocations: 62.66 kB / 0.7897 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.277, allocations: 130.7 kB / 0.7898 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/1.28, allocations: 1.144 MB / 0.791 GB, free: 86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004716/1.285, allocations: 1.499 MB / 0.7924 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004791/1.29, allocations: 4.465 MB / 0.7968 GB, free: 83.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/1.295, allocations: 219.5 kB / 0.797 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.296, allocations: 382.8 kB / 0.7974 GB, free: 83.27 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring.e_rel_0[1]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[3]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[2]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 586 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (810): * Single equations (assignments): 802 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.001703/1.298, allocations: 447.6 kB / 0.7978 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007178/1.305, allocations: 4.216 MB / 0.8019 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007893/1.306, allocations: 304.1 kB / 0.8022 GB, free: 80.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007109/1.313, allocations: 4.813 MB / 0.8069 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/1.313, allocations: 48.94 kB / 0.8069 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.313, allocations: 4 kB / 0.8069 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/1.313, allocations: 12.59 kB / 0.807 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/1.329, allocations: 10.84 MB / 0.8175 GB, free: 67.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.329, allocations: 8.938 kB / 0.8176 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/1.33, allocations: 456.3 kB / 0.818 GB, free: 67.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/1.332, allocations: 0.6644 MB / 0.8186 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/1.332, allocations: 30.8 kB / 0.8187 GB, free: 66.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/1.335, allocations: 2.329 MB / 0.8209 GB, free: 64.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/1.335, allocations: 17.91 kB / 0.821 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008318/1.343, allocations: 8.156 MB / 0.8289 GB, free: 56.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000837/1.344, allocations: 351.8 kB / 0.8293 GB, free: 56.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/1.344, allocations: 19.42 kB / 0.8293 GB, free: 56.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.345, allocations: 112.4 kB / 0.8294 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/1.346, allocations: 173.7 kB / 0.8295 GB, free: 56.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.346, allocations: 79.08 kB / 0.8296 GB, free: 56.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002378/1.348, allocations: 1.704 MB / 0.8313 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.348, allocations: 3.75 kB / 0.8313 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004639/1.353, allocations: 0.9532 MB / 0.8322 GB, free: 53.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 219 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.008781/1.362, allocations: 11.21 MB / 0.8432 GB, free: 43.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007981/1.37, allocations: 5.84 MB / 0.8489 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.37, allocations: 0 / 0.8489 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003494/1.373, allocations: 2.536 MB / 0.8514 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/1.375, allocations: 317.8 kB / 0.8517 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/1.398, allocations: 11.39 MB / 0.8628 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003937/1.402, allocations: 3.862 MB / 0.8666 GB, free: 22.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004961/1.407, allocations: 2.32 MB / 0.8688 GB, free: 20.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002631/1.409, allocations: 2.184 MB / 0.8709 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/1.409, allocations: 0 / 0.8709 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3871/1.796, allocations: 74.55 MB / 0.9437 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/1.796, allocations: 146.2 kB / 0.9439 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.027/5.823, allocations: 0 / 0.9439 GB, free: 119.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat