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.002065/0.002064, allocations: 181.5 kB / 8.365 MB, free: 0.7109 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.944/1.944, allocations: 205.3 MB / 214.1 MB, free: 14.07 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 82.56 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2907/0.2907, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.395e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 58.85 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.5945, allocations: 102.6 MB / 0.5662 GB, free: 12.55 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5949, allocations: 75.95 kB / 0.5663 GB, free: 12.48 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7825/1.377, allocations: 93.58 MB / 0.6577 GB, free: 108.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.735e-06/1.378, allocations: 1.438 kB / 0.6577 GB, free: 108.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002965/1.378, allocations: 83.02 kB / 0.6577 GB, free: 108.3 MB / 475.1 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.01963/1.397, allocations: 4.252 MB / 0.6619 GB, free: 106.4 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.398, allocations: 10.22 kB / 0.6619 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02884/1.426, allocations: 3.612 MB / 0.6654 GB, free: 106.1 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01931/1.446, allocations: 4.466 MB / 0.6698 GB, free: 105.6 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/1.446, allocations: 145.3 kB / 0.6699 GB, free: 105.6 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003124/1.449, allocations: 265.4 kB / 0.6702 GB, free: 105.6 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01996/1.469, allocations: 8.177 MB / 0.6782 GB, free: 105.6 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03156/1.501, allocations: 10.72 MB / 0.6886 GB, free: 101.5 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002894/1.501, allocations: 35.44 kB / 0.6887 GB, free: 101.5 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002692/1.504, allocations: 14.88 kB / 0.6887 GB, free: 101.5 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002919/1.507, allocations: 1.343 MB / 0.69 GB, free: 101.3 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08117/1.588, allocations: 38.88 MB / 0.728 GB, free: 75.38 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008446/1.597, allocations: 5.078 MB / 0.7329 GB, free: 70.51 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/1.602, allocations: 2.929 MB / 0.7358 GB, free: 67.83 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/1.605, allocations: 1.887 MB / 0.7376 GB, free: 65.74 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/1.605, allocations: 56.5 kB / 0.7377 GB, free: 65.68 MB / 475.1 MB Notification: Performance of pre-optimization done (n=264): time 7.464e-06/1.605, allocations: 112 / 0.7377 GB, free: 65.68 MB / 475.1 MB Notification: Performance of matching and sorting (n=285): time 0.05858/1.663, allocations: 16.68 MB / 0.754 GB, free: 50.5 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.663, allocations: 77.41 kB / 0.7541 GB, free: 50.41 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/1.669, allocations: 2.47 MB / 0.7565 GB, free: 47.93 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007663/1.67, allocations: 25.7 kB / 0.7565 GB, free: 47.9 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002492/1.672, allocations: 3.095 MB / 0.7595 GB, free: 44.76 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001684/1.674, allocations: 0.9979 MB / 0.7605 GB, free: 43.75 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007689/1.675, allocations: 0 / 0.7605 GB, free: 43.75 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0005079/1.675, allocations: 0.5872 MB / 0.7611 GB, free: 43.15 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006209/1.681, allocations: 2.722 MB / 0.7637 GB, free: 40.42 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008715/1.69, allocations: 6.12 MB / 0.7697 GB, free: 32.61 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008936/1.699, allocations: 4.096 MB / 0.7737 GB, free: 28.51 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/1.699, allocations: 32 kB / 0.7737 GB, free: 28.48 MB / 475.1 MB Notification: Performance of matching and sorting (n=834) (initialization): time 0.02665/1.726, allocations: 9.373 MB / 0.7829 GB, free: 19.1 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.479e-05/1.726, allocations: 56 kB / 0.7829 GB, free: 19.04 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.726, allocations: 120 kB / 0.783 GB, free: 18.93 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006371/1.733, allocations: 1.394 MB / 0.7844 GB, free: 17.53 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00946/1.742, allocations: 1.47 MB / 0.7858 GB, free: 16.05 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/1.756, allocations: 6.816 MB / 0.7925 GB, free: 9.133 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007443/1.764, allocations: 307.6 kB / 0.7928 GB, free: 8.832 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.765, allocations: 360 kB / 0.7931 GB, free: 8.48 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * 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 (764): * Single equations (assignments): 757 * 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.002543/1.768, allocations: 412.9 kB / 0.7935 GB, free: 8.066 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01691/1.785, allocations: 5.773 MB / 0.7992 GB, free: 2.246 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.786, allocations: 292.2 kB / 0.7994 GB, free: 1.957 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02138/1.808, allocations: 6.404 MB / 0.8057 GB, free: 11.49 MB / 491.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001644/1.808, allocations: 59.5 kB / 0.8058 GB, free: 11.44 MB / 491.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/1.808, allocations: 4 kB / 0.8058 GB, free: 11.43 MB / 491.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.22e-05/1.808, allocations: 11.95 kB / 0.8058 GB, free: 11.42 MB / 491.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04501/1.853, allocations: 12.81 MB / 0.8183 GB, free: 14.48 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/1.853, allocations: 12.88 kB / 0.8183 GB, free: 14.47 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004556/1.858, allocations: 471.2 kB / 0.8187 GB, free: 14.01 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006724/1.864, allocations: 1.202 MB / 0.8199 GB, free: 12.81 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007572/1.865, allocations: 15.98 kB / 0.8199 GB, free: 12.79 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.88, allocations: 6.148 MB / 0.8259 GB, free: 6.527 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-05/1.88, allocations: 11.94 kB / 0.8259 GB, free: 6.516 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4174/2.297, allocations: 10.27 MB / 0.836 GB, free: 124.1 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003454/2.301, allocations: 0.8073 MB / 0.8368 GB, free: 124 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/2.302, allocations: 12.38 kB / 0.8368 GB, free: 124 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003771/2.306, allocations: 168.2 kB / 0.8369 GB, free: 124 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/2.307, allocations: 163.3 kB / 0.8371 GB, free: 124 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003667/2.307, allocations: 80.62 kB / 0.8372 GB, free: 124 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.005239/2.313, allocations: 1.615 MB / 0.8387 GB, free: 123.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 8.82e-07/2.313, allocations: 0 / 0.8387 GB, free: 123.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.008789/2.322, allocations: 0.9959 MB / 0.8397 GB, free: 123.9 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (220): * Single equations (assignments): 213 * 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.02925/2.351, allocations: 12.76 MB / 0.8522 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01484/2.366, allocations: 6.658 MB / 0.8587 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/2.366, allocations: 7.125 kB / 0.8587 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.005844/2.372, allocations: 2.667 MB / 0.8613 GB, free: 119.6 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/2.375, allocations: 241.9 kB / 0.8615 GB, free: 119.5 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03437/2.409, allocations: 11.48 MB / 0.8727 GB, free: 115.4 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008124/2.417, allocations: 3.69 MB / 0.8763 GB, free: 114 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00609/2.424, allocations: 2.141 MB / 0.8784 GB, free: 112.3 MB / 0.4952 GB Notification: Performance of SimCode: time 2.204e-06/2.424, allocations: 0 / 0.8784 GB, free: 112.3 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.258/6.681, allocations: 106 MB / 0.982 GB, free: 33.35 MB / 0.4952 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