Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal",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.002167/0.002166, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.224/2.224, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001139/0.001138, allocations: 90.64 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3051/0.3051, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.728e-05, allocations: 8 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6052/0.7356, allocations: 103.3 MB / 0.5737 GB, free: 484 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.736, allocations: 82.03 kB / 0.5738 GB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4302/1.166, allocations: 95.47 MB / 0.667 GB, free: 8.703 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.166, allocations: 0 / 0.667 GB, free: 8.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002499/1.166, allocations: 84 kB / 0.6671 GB, free: 8.621 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01894/1.185, allocations: 4.259 MB / 0.6713 GB, free: 4.297 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.186, allocations: 8.031 kB / 0.6713 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004563/1.19, allocations: 0.886 MB / 0.6721 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02891/1.219, allocations: 3.609 MB / 0.6757 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01962/1.239, allocations: 4.474 MB / 0.68 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007199/1.24, allocations: 340.8 kB / 0.6804 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003975/1.244, allocations: 451.7 kB / 0.6808 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04071/1.284, allocations: 11.66 MB / 0.6922 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002307/1.285, allocations: 35.66 kB / 0.6922 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/1.286, allocations: 207.9 kB / 0.6924 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00326/1.289, allocations: 1.337 MB / 0.6937 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03713/1.326, allocations: 11.23 MB / 0.7047 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4562/1.783, allocations: 41.46 MB / 0.7452 GB, free: 102 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01893/1.802, allocations: 5.93 MB / 0.751 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006302/1.808, allocations: 2.976 MB / 0.7539 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/1.81, allocations: 1.887 MB / 0.7557 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/1.81, allocations: 58.12 kB / 0.7558 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 7.594e-06/1.81, allocations: 3.5 kB / 0.7558 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.07033/1.881, allocations: 16.63 MB / 0.772 GB, free: 93.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/1.881, allocations: 75.12 kB / 0.7721 GB, free: 93.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005991/1.887, allocations: 2.685 MB / 0.7747 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007616/1.888, allocations: 61.77 kB / 0.7748 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002441/1.89, allocations: 2.991 MB / 0.7777 GB, free: 90.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/1.892, allocations: 1.013 MB / 0.7787 GB, free: 89.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007731/1.893, allocations: 115 kB / 0.7788 GB, free: 89.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004352/1.893, allocations: 0.5699 MB / 0.7793 GB, free: 89.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006619/1.9, allocations: 2.764 MB / 0.782 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009233/1.909, allocations: 5.935 MB / 0.7878 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009311/1.918, allocations: 4.078 MB / 0.7918 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/1.919, allocations: 34 kB / 0.7919 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02903/1.948, allocations: 9.812 MB / 0.8014 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.422e-05/1.948, allocations: 55.22 kB / 0.8015 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/1.948, allocations: 117.6 kB / 0.8016 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006745/1.955, allocations: 1.379 MB / 0.8029 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009835/1.965, allocations: 1.392 MB / 0.8043 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/1.98, allocations: 7.184 MB / 0.8113 GB, free: 71.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00783/1.988, allocations: 414.1 kB / 0.8117 GB, free: 71.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/1.99, allocations: 344.3 kB / 0.812 GB, free: 70.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 505 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (720): * Single equations (assignments): 713 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002098/1.992, allocations: 0.5254 MB / 0.8126 GB, free: 70.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009215/1.993, allocations: 311.8 kB / 0.8129 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/2.012, allocations: 6.568 MB / 0.8193 GB, free: 64.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001156/2.012, allocations: 52.92 kB / 0.8193 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/2.012, allocations: 4 kB / 0.8193 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.009e-05/2.012, allocations: 14.3 kB / 0.8193 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03984/2.052, allocations: 14.03 MB / 0.833 GB, free: 53.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/2.052, allocations: 8 kB / 0.833 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004418/2.056, allocations: 453.7 kB / 0.8335 GB, free: 52.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00616/2.062, allocations: 1.216 MB / 0.8347 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007317/2.063, allocations: 56 kB / 0.8347 GB, free: 51.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/2.076, allocations: 6.501 MB / 0.8411 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/2.076, allocations: 11.94 kB / 0.8411 GB, free: 46.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02442/2.101, allocations: 10.39 MB / 0.8512 GB, free: 36.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/2.104, allocations: 0.8212 MB / 0.852 GB, free: 35.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/2.106, allocations: 44 kB / 0.8521 GB, free: 35.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004284/2.11, allocations: 215.5 kB / 0.8523 GB, free: 34.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/2.111, allocations: 153.7 kB / 0.8524 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004636/2.112, allocations: 76 kB / 0.8525 GB, free: 34.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005194/2.117, allocations: 1.833 MB / 0.8543 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.242e-06/2.117, allocations: 0 / 0.8543 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007997/2.125, allocations: 1.139 MB / 0.8554 GB, free: 31.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02638/2.152, allocations: 12.78 MB / 0.8679 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01647/2.168, allocations: 6.824 MB / 0.8745 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/2.168, allocations: 0 / 0.8745 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006629/2.175, allocations: 2.735 MB / 0.8772 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/2.178, allocations: 364.6 kB / 0.8776 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/2.217, allocations: 11.73 MB / 0.889 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009662/2.227, allocations: 3.695 MB / 0.8926 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006658/2.233, allocations: 2.147 MB / 0.8947 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of SimCode: time 1.694e-06/2.233, allocations: 0 / 0.8947 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.955/7.189, allocations: 107.7 MB / 0.9999 GB, free: 84.34 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat