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.001014/0.001014, allocations: 183 kB / 13.19 MB, free: 2.129 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.606/1.606, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008564/0.0008565, allocations: 89.84 kB / 267.1 MB, free: 9.281 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.4071/0.4071, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.656e-05, allocations: 4 kB / 425.4 MB, free: 8.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 58.85 MB / 484.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5866, allocations: 103.3 MB / 0.5737 GB, free: 1.656 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.587, allocations: 79.95 kB / 0.5738 GB, free: 1.582 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2516/0.8386, allocations: 95.47 MB / 0.667 GB, free: 1.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.8387, allocations: 0 / 0.667 GB, free: 1.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000203/0.8389, allocations: 84 kB / 0.6671 GB, free: 1.348 MB / 490.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.3353/1.174, allocations: 4.253 MB / 0.6713 GB, free: 91.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/1.174, allocations: 13.16 kB / 0.6713 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004302/1.179, allocations: 0.8769 MB / 0.6722 GB, free: 91.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/1.196, allocations: 3.617 MB / 0.6757 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/1.211, allocations: 4.481 MB / 0.6801 GB, free: 90.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006541/1.212, allocations: 343.3 kB / 0.6804 GB, free: 90.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/1.215, allocations: 441.7 kB / 0.6808 GB, free: 90.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/1.241, allocations: 11.66 MB / 0.6922 GB, free: 89.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001989/1.241, allocations: 30.41 kB / 0.6922 GB, free: 89.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/1.243, allocations: 201.7 kB / 0.6924 GB, free: 89.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001729/1.244, allocations: 1.337 MB / 0.6937 GB, free: 89.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/1.271, allocations: 11.23 MB / 0.7047 GB, free: 89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06572/1.337, allocations: 41.48 MB / 0.7452 GB, free: 65.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/1.348, allocations: 5.929 MB / 0.751 GB, free: 62.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/1.351, allocations: 2.973 MB / 0.7539 GB, free: 61.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/1.353, allocations: 1.888 MB / 0.7557 GB, free: 59.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.353, allocations: 65.58 kB / 0.7558 GB, free: 59.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 5.831e-06/1.353, allocations: 2.719 kB / 0.7558 GB, free: 59.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.04091/1.394, allocations: 16.62 MB / 0.772 GB, free: 54.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.394, allocations: 79.56 kB / 0.7721 GB, free: 54.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004638/1.398, allocations: 2.683 MB / 0.7747 GB, free: 53.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007728/1.399, allocations: 67.3 kB / 0.7748 GB, free: 53.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.401, allocations: 3.011 MB / 0.7777 GB, free: 50.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.403, allocations: 1.018 MB / 0.7787 GB, free: 50.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/1.403, allocations: 116.8 kB / 0.7788 GB, free: 49.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003034/1.403, allocations: 0.5606 MB / 0.7794 GB, free: 49.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/1.407, allocations: 2.764 MB / 0.7821 GB, free: 48.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005855/1.413, allocations: 5.946 MB / 0.7879 GB, free: 41.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/1.419, allocations: 4.073 MB / 0.7919 GB, free: 37.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.771e-05/1.419, allocations: 35.94 kB / 0.7919 GB, free: 37.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01797/1.437, allocations: 9.883 MB / 0.8016 GB, free: 29.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.889e-05/1.437, allocations: 56 kB / 0.8016 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/1.437, allocations: 108 kB / 0.8017 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/1.441, allocations: 1.387 MB / 0.8031 GB, free: 28.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005452/1.446, allocations: 1.397 MB / 0.8044 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009408/1.456, allocations: 7.175 MB / 0.8114 GB, free: 20.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005852/1.462, allocations: 418.8 kB / 0.8118 GB, free: 20.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001682/1.463, allocations: 338.2 kB / 0.8122 GB, free: 20.16 MB / 490.7 MB 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.002884/1.466, allocations: 0.5383 MB / 0.8127 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.468, allocations: 308 kB / 0.813 GB, free: 19.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.479, allocations: 6.563 MB / 0.8194 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.19e-05/1.479, allocations: 51.7 kB / 0.8194 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.479, allocations: 4 kB / 0.8194 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-05/1.479, allocations: 18.3 kB / 0.8195 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/1.507, allocations: 14.01 MB / 0.8331 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.994e-05/1.507, allocations: 8 kB / 0.8331 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/1.51, allocations: 463.2 kB / 0.8336 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003352/1.513, allocations: 1.212 MB / 0.8348 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006552/1.514, allocations: 55.92 kB / 0.8348 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/1.524, allocations: 6.52 MB / 0.8412 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.525, allocations: 11.94 kB / 0.8412 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/1.545, allocations: 10.39 MB / 0.8513 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002823/1.548, allocations: 0.825 MB / 0.8522 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/1.55, allocations: 44 kB / 0.8522 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.553, allocations: 203.7 kB / 0.8524 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007607/1.553, allocations: 161.6 kB / 0.8525 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004134/1.554, allocations: 79.2 kB / 0.8526 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005002/1.559, allocations: 1.833 MB / 0.8544 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/1.559, allocations: 0 / 0.8544 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007983/1.567, allocations: 1.142 MB / 0.8555 GB, free: 10.79 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.3943/1.961, allocations: 12.77 MB / 0.868 GB, free: 113 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.976, allocations: 6.828 MB / 0.8747 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/1.976, allocations: 1.312 kB / 0.8747 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004834/1.981, allocations: 2.741 MB / 0.8773 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/1.983, allocations: 355.4 kB / 0.8777 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/2.013, allocations: 11.19 MB / 0.8886 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/2.018, allocations: 3.69 MB / 0.8922 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005946/2.024, allocations: 2.202 MB / 0.8944 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004507/2.028, allocations: 2.096 MB / 0.8964 GB, free: 110 MB / 0.5105 GB Notification: Performance of SimCode: time 2.294e-06/2.029, allocations: 2.875 kB / 0.8964 GB, free: 110 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/2.182, allocations: 80.5 MB / 0.975 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/2.182, allocations: 160.5 kB / 0.9752 GB, free: 83.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.727/6.91, allocations: 0 / 0.9752 GB, free: 83.94 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