Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",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.0009765/0.0009765, allocations: 177.6 kB / 8.003 MB, free: 1.07 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.64/1.64, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009698/0.0009699, allocations: 82.3 kB / 261.7 MB, free: 1.68 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.2151/0.2151, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.022e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5349, allocations: 108.3 MB / 0.5718 GB, free: 3.418 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5353, allocations: 76.44 kB / 0.5719 GB, free: 3.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2942/0.8295, allocations: 116.5 MB / 0.6856 GB, free: 6.727 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.8296, allocations: 0 / 0.6856 GB, free: 6.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002835/0.8299, allocations: 124 kB / 0.6857 GB, free: 6.605 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.0183/0.8482, allocations: 5.949 MB / 0.6915 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.8482, allocations: 8.031 kB / 0.6915 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0289/0.8771, allocations: 7 MB / 0.6984 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/0.8958, allocations: 7.796 MB / 0.706 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.8962, allocations: 192 kB / 0.7062 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002367/0.8985, allocations: 351.8 kB / 0.7065 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3189/1.217, allocations: 8.209 MB / 0.7145 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03854/1.256, allocations: 12.43 MB / 0.7267 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009054/1.257, allocations: 87.53 kB / 0.7268 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003723/1.261, allocations: 35.59 kB / 0.7268 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002516/1.263, allocations: 1.319 MB / 0.7281 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06776/1.331, allocations: 59.52 MB / 0.7862 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/1.337, allocations: 4.882 MB / 0.791 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/1.34, allocations: 3.215 MB / 0.7941 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/1.34, allocations: 0.6939 MB / 0.7948 GB, free: 63.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/1.34, allocations: 60.78 kB / 0.7948 GB, free: 63.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=254): time 5.46e-06/1.34, allocations: 1.406 kB / 0.7948 GB, free: 63.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321): time 0.05808/1.398, allocations: 29.93 MB / 0.8241 GB, free: 52.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.399, allocations: 270 kB / 0.8243 GB, free: 51.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006564/1.405, allocations: 3.948 MB / 0.8282 GB, free: 50.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008236/1.406, allocations: 29.39 kB / 0.8282 GB, free: 50.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002175/1.408, allocations: 4.117 MB / 0.8322 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001584/1.41, allocations: 1.155 MB / 0.8334 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/1.41, allocations: 3.656 kB / 0.8334 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000405/1.411, allocations: 0.6391 MB / 0.834 GB, free: 45.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003751/1.414, allocations: 3.152 MB / 0.8371 GB, free: 42.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005306/1.42, allocations: 7.519 MB / 0.8444 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006818/1.427, allocations: 4.821 MB / 0.8491 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/1.427, allocations: 44 kB / 0.8492 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.01931/1.446, allocations: 11.63 MB / 0.8605 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-05/1.446, allocations: 75.47 kB / 0.8606 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/1.446, allocations: 152 kB / 0.8607 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004632/1.451, allocations: 2.162 MB / 0.8628 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006134/1.457, allocations: 1.817 MB / 0.8646 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/1.474, allocations: 13.59 MB / 0.8779 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007279/1.481, allocations: 307.6 kB / 0.8782 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.483, allocations: 470.3 kB / 0.8786 GB, free: 3.156 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (959): * Single equations (assignments): 954 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001385/1.484, allocations: 0.4941 MB / 0.8791 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01183/1.496, allocations: 6.898 MB / 0.8858 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/1.498, allocations: 458.1 kB / 0.8863 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.51, allocations: 6.753 MB / 0.8929 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.478e-05/1.51, allocations: 39.95 kB / 0.8929 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/1.51, allocations: 12 kB / 0.8929 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.419e-05/1.51, allocations: 17.36 kB / 0.8929 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3466/1.857, allocations: 14.74 MB / 0.9073 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/1.857, allocations: 8.875 kB / 0.9074 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/1.86, allocations: 0.5074 MB / 0.9078 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005426/1.865, allocations: 1.853 MB / 0.9097 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008109/1.866, allocations: 18.42 kB / 0.9097 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/1.884, allocations: 11.93 MB / 0.9213 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.884, allocations: 17.05 kB / 0.9213 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/1.899, allocations: 11.74 MB / 0.9328 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/1.902, allocations: 0.9873 MB / 0.9338 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.903, allocations: 15.17 kB / 0.9338 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/1.906, allocations: 176.3 kB / 0.934 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005541/1.906, allocations: 199.1 kB / 0.9341 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/1.907, allocations: 93.16 kB / 0.9342 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004238/1.911, allocations: 2.673 MB / 0.9368 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/1.911, allocations: 0 / 0.9368 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007223/1.918, allocations: 1.288 MB / 0.9381 GB, free: 105.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01601/1.934, allocations: 13.76 MB / 0.9515 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.949, allocations: 8.484 MB / 0.9598 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.949, allocations: 3.906 kB / 0.9598 GB, free: 98.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00755/1.956, allocations: 3.786 MB / 0.9635 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/1.96, allocations: 0.5023 MB / 0.964 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03418/1.994, allocations: 13.83 MB / 0.9775 GB, free: 92.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00731/2.002, allocations: 4.529 MB / 0.9819 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006458/2.008, allocations: 2.519 MB / 0.9844 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004569/2.013, allocations: 2.792 MB / 0.9871 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/2.013, allocations: 0 / 0.9871 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.451/2.464, allocations: 110 MB / 1.095 GB, free: 91.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/2.464, allocations: 129 kB / 1.095 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.213/7.677, allocations: 3.031 kB / 1.095 GB, free: 91.38 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat