Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_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.001163/0.001163, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008654/0.0008655, allocations: 98.86 kB / 270.2 MB, free: 13.36 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.2497/0.2497, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003902, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 58.86 MB / 490.4 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4463/0.584, allocations: 103.4 MB / 0.5798 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.5844, allocations: 80.2 kB / 0.5799 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3013/0.8857, allocations: 95.39 MB / 0.673 GB, free: 4.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.8858, allocations: 0 / 0.673 GB, free: 4.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001746/0.886, allocations: 80 kB / 0.6731 GB, free: 4.832 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.01511/0.9011, allocations: 4.411 MB / 0.6774 GB, free: 360 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.408e-05/0.9012, allocations: 16.03 kB / 0.6774 GB, free: 344 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004213/0.9054, allocations: 0.8743 MB / 0.6783 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/0.9214, allocations: 3.613 MB / 0.6818 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.9367, allocations: 4.494 MB / 0.6862 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005899/0.9373, allocations: 340.8 kB / 0.6865 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003154/0.9405, allocations: 447.8 kB / 0.6869 GB, free: 6.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03429/0.9748, allocations: 11.78 MB / 0.6984 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003761/0.9752, allocations: 39.64 kB / 0.6985 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003026/0.9783, allocations: 199.9 kB / 0.6987 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/0.9807, allocations: 1.333 MB / 0.7 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3104/1.291, allocations: 11.45 MB / 0.7112 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06825/1.359, allocations: 41.47 MB / 0.7517 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/1.371, allocations: 5.963 MB / 0.7575 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/1.373, allocations: 1.889 MB / 0.7593 GB, free: 99.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/1.373, allocations: 56.09 kB / 0.7594 GB, free: 99.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 6.592e-06/1.373, allocations: 3.438 kB / 0.7594 GB, free: 99.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.05335/1.426, allocations: 20.47 MB / 0.7794 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/1.426, allocations: 76.38 kB / 0.7794 GB, free: 92.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00665/1.433, allocations: 2.737 MB / 0.7821 GB, free: 91.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008047/1.434, allocations: 62.75 kB / 0.7822 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002413/1.436, allocations: 3.013 MB / 0.7851 GB, free: 89.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001675/1.438, allocations: 1.018 MB / 0.7861 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000992/1.439, allocations: 114.2 kB / 0.7862 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007242/1.44, allocations: 0.5642 MB / 0.7868 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005074/1.445, allocations: 2.837 MB / 0.7895 GB, free: 87.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007263/1.452, allocations: 6.018 MB / 0.7954 GB, free: 81.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006754/1.459, allocations: 4.121 MB / 0.7994 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001857/1.459, allocations: 31.5 kB / 0.7995 GB, free: 80.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02205/1.481, allocations: 10.05 MB / 0.8093 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002326/1.481, allocations: 55.61 kB / 0.8093 GB, free: 75.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002689/1.482, allocations: 112 kB / 0.8095 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003829/1.486, allocations: 1.383 MB / 0.8108 GB, free: 74.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/1.491, allocations: 1.388 MB / 0.8122 GB, free: 73.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009697/1.501, allocations: 7.405 MB / 0.8194 GB, free: 67.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007254/1.508, allocations: 410.5 kB / 0.8198 GB, free: 66.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001755/1.51, allocations: 346.3 kB / 0.8201 GB, free: 66.5 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 () * Number of clocked 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.006747/1.517, allocations: 2.297 MB / 0.8224 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.518, allocations: 311.9 kB / 0.8227 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.531, allocations: 6.608 MB / 0.8291 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.424e-05/1.531, allocations: 53.16 kB / 0.8292 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/1.531, allocations: 11.7 kB / 0.8292 GB, free: 58.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-05/1.532, allocations: 14.86 kB / 0.8292 GB, free: 58.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02739/1.559, allocations: 14.06 MB / 0.8429 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.565e-05/1.559, allocations: 10.06 kB / 0.8429 GB, free: 47.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.561, allocations: 454.3 kB / 0.8434 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/1.564, allocations: 1.216 MB / 0.8445 GB, free: 45.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003424/1.565, allocations: 52.78 kB / 0.8446 GB, free: 45.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007639/1.572, allocations: 6.74 MB / 0.8512 GB, free: 38.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/1.572, allocations: 15.89 kB / 0.8512 GB, free: 38.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/1.587, allocations: 10.45 MB / 0.8614 GB, free: 27.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.589, allocations: 0.8212 MB / 0.8622 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008908/1.59, allocations: 51.98 kB / 0.8622 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.593, allocations: 204.8 kB / 0.8624 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004673/1.593, allocations: 158.5 kB / 0.8626 GB, free: 26.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.593, allocations: 72.69 kB / 0.8627 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004218/1.598, allocations: 1.894 MB / 0.8645 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.232e-06/1.598, allocations: 112 / 0.8645 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0071/1.605, allocations: 1.151 MB / 0.8656 GB, free: 23.41 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 () * Number of clocked 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.01512/1.62, allocations: 12.84 MB / 0.8782 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009884/1.63, allocations: 6.924 MB / 0.8849 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.63, allocations: 1 kB / 0.8849 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003488/1.633, allocations: 2.764 MB / 0.8876 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.636, allocations: 363.7 kB / 0.888 GB, free: 272 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3832/2.019, allocations: 112.4 MB / 0.9978 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005186/2.024, allocations: 3.69 MB / 1.001 GB, free: 46.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00537/2.03, allocations: 2.209 MB / 1.004 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003715/2.034, allocations: 2.093 MB / 1.006 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/2.034, allocations: 3.594 kB / 1.006 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/2.197, allocations: 79.61 MB / 1.083 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/2.197, allocations: 192.3 kB / 1.084 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.116/6.313, allocations: 0 / 1.084 GB, free: 6.898 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat