Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",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.001808/0.001808, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.609/1.609, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 91.73 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.323/0.323, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.374e-05, allocations: 224 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1512, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4951/0.6464, allocations: 104.8 MB / 0.6041 GB, free: 448 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.6467, allocations: 75.95 kB / 0.6042 GB, free: 372 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2604/0.9072, allocations: 96.69 MB / 0.6986 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.487e-06/0.9072, allocations: 0 / 0.6986 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001852/0.9074, allocations: 83.94 kB / 0.6987 GB, free: 14.86 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01529/0.9227, allocations: 4.243 MB / 0.7028 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.9228, allocations: 12.03 kB / 0.7028 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004175/0.927, allocations: 0.8745 MB / 0.7037 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/0.9442, allocations: 3.616 MB / 0.7072 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.9587, allocations: 4.322 MB / 0.7114 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/0.9593, allocations: 340.8 kB / 0.7118 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003297/0.9626, allocations: 447.7 kB / 0.7122 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3913/1.354, allocations: 11.64 MB / 0.7236 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00043/1.354, allocations: 28.86 kB / 0.7236 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002652/1.357, allocations: 208.1 kB / 0.7238 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002878/1.36, allocations: 1.335 MB / 0.7251 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0294/1.389, allocations: 11.21 MB / 0.736 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06365/1.453, allocations: 41.55 MB / 0.7766 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/1.465, allocations: 5.926 MB / 0.7824 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/1.468, allocations: 2.98 MB / 0.7853 GB, free: 95.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/1.47, allocations: 1.883 MB / 0.7872 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/1.47, allocations: 60.05 kB / 0.7872 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=262): time 6.482e-06/1.47, allocations: 0 / 0.7872 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=283): time 0.04084/1.511, allocations: 16.58 MB / 0.8034 GB, free: 88.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/1.511, allocations: 73.41 kB / 0.8035 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005148/1.516, allocations: 2.658 MB / 0.8061 GB, free: 86.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003086/1.516, allocations: 66.88 kB / 0.8061 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/1.518, allocations: 2.986 MB / 0.809 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.519, allocations: 1.012 MB / 0.81 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005522/1.52, allocations: 116 kB / 0.8101 GB, free: 82.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004554/1.52, allocations: 0.5619 MB / 0.8107 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/1.524, allocations: 2.759 MB / 0.8134 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005128/1.529, allocations: 5.901 MB / 0.8192 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/1.534, allocations: 4.06 MB / 0.8231 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/1.534, allocations: 32 kB / 0.8231 GB, free: 69.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.01575/1.55, allocations: 9.854 MB / 0.8328 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.55, allocations: 52 kB / 0.8328 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000192/1.551, allocations: 115.6 kB / 0.8329 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/1.554, allocations: 1.374 MB / 0.8343 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004696/1.559, allocations: 1.377 MB / 0.8356 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/1.568, allocations: 7.185 MB / 0.8426 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005113/1.573, allocations: 405.8 kB / 0.843 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.574, allocations: 347.3 kB / 0.8434 GB, free: 51.85 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,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.headAtOrigin,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 (714): * Single equations (assignments): 707 * 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.001699/1.576, allocations: 0.5268 MB / 0.8439 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008753/1.576, allocations: 300.1 kB / 0.8442 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.588, allocations: 6.585 MB / 0.8506 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.179e-05/1.588, allocations: 51.78 kB / 0.8506 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/1.588, allocations: 4 kB / 0.8506 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.571e-05/1.588, allocations: 11.44 kB / 0.8506 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.615, allocations: 14 MB / 0.8643 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/1.615, allocations: 8 kB / 0.8643 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.617, allocations: 463.2 kB / 0.8648 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/1.62, allocations: 1.206 MB / 0.8659 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004772/1.621, allocations: 52 kB / 0.866 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007523/1.628, allocations: 6.519 MB / 0.8724 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.999e-05/1.628, allocations: 8 kB / 0.8724 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/1.643, allocations: 10.38 MB / 0.8825 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.644, allocations: 357 kB / 0.8828 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009104/1.645, allocations: 51.98 kB / 0.8829 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/1.647, allocations: 207.3 kB / 0.8831 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/1.648, allocations: 161.7 kB / 0.8832 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/1.648, allocations: 75.98 kB / 0.8833 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003589/1.652, allocations: 1.816 MB / 0.8851 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/1.652, allocations: 0 / 0.8851 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00572/1.658, allocations: 1.133 MB / 0.8862 GB, free: 10.37 MB / 0.5105 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.01441/1.672, allocations: 12.77 MB / 0.8987 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.684, allocations: 6.806 MB / 0.9053 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/1.684, allocations: 0 / 0.9053 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004173/1.688, allocations: 2.74 MB / 0.908 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/1.691, allocations: 373.2 kB / 0.9084 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3237/2.014, allocations: 11.14 MB / 0.9192 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007264/2.022, allocations: 3.678 MB / 0.9228 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007901/2.03, allocations: 2.201 MB / 0.925 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004959/2.035, allocations: 2.076 MB / 0.927 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.343e-06/2.035, allocations: 1.641 kB / 0.927 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/2.169, allocations: 80.38 MB / 1.005 GB, free: 98.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/2.17, allocations: 167 kB / 1.006 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.633/6.803, allocations: 0 / 1.006 GB, free: 98.34 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat