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.001441/0.001441, allocations: 183.3 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.851/1.851, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009378/0.0009378, allocations: 96.75 kB / 267 MB, free: 9.289 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.4319/0.4319, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.692e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1519, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5378/0.6897, allocations: 109 MB / 0.5793 GB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.6901, allocations: 78.39 kB / 0.5794 GB, free: 12.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6769/1.367, allocations: 119.1 MB / 0.6957 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.717e-06/1.367, allocations: 1.547 kB / 0.6957 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006606/1.368, allocations: 119 kB / 0.6958 GB, free: 83.07 MB / 0.4948 GB 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.02501/1.393, allocations: 5.958 MB / 0.7016 GB, free: 82.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.393, allocations: 10.03 kB / 0.7016 GB, free: 82.25 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005315/1.398, allocations: 1.015 MB / 0.7026 GB, free: 82.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02896/1.427, allocations: 7.006 MB / 0.7095 GB, free: 81.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02261/1.45, allocations: 7.807 MB / 0.7171 GB, free: 80.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004644/1.45, allocations: 438.8 kB / 0.7175 GB, free: 80.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003011/1.453, allocations: 0.5877 MB / 0.7181 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03118/1.485, allocations: 13.84 MB / 0.7316 GB, free: 77.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000375/1.485, allocations: 83.11 kB / 0.7317 GB, free: 77.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/1.486, allocations: 275.4 kB / 0.7319 GB, free: 77.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002603/1.489, allocations: 1.327 MB / 0.7332 GB, free: 77.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02919/1.518, allocations: 11.53 MB / 0.7445 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0745/1.593, allocations: 62.18 MB / 0.8052 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/1.606, allocations: 5.709 MB / 0.8108 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/1.61, allocations: 3.287 MB / 0.814 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/1.611, allocations: 0.6912 MB / 0.8147 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.611, allocations: 61.41 kB / 0.8147 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=254): time 6.463e-06/1.611, allocations: 0 / 0.8147 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=320): time 0.07972/1.69, allocations: 29.19 MB / 0.8432 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.691, allocations: 261.4 kB / 0.8435 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00729/1.698, allocations: 4.655 MB / 0.848 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.699, allocations: 71.97 kB / 0.8481 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003065/1.702, allocations: 4.061 MB / 0.8521 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/1.704, allocations: 1.187 MB / 0.8532 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/1.704, allocations: 156 kB / 0.8534 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004721/1.705, allocations: 0.6326 MB / 0.854 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004282/1.709, allocations: 3.258 MB / 0.8572 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/1.715, allocations: 7.506 MB / 0.8645 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007573/1.723, allocations: 4.918 MB / 0.8693 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.731e-05/1.723, allocations: 44 kB / 0.8694 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02802/1.751, allocations: 12.49 MB / 0.8816 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000249/1.751, allocations: 69 kB / 0.8816 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003234/1.752, allocations: 148 kB / 0.8818 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005877/1.758, allocations: 2.133 MB / 0.8838 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006959/1.765, allocations: 1.769 MB / 0.8856 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3988/2.163, allocations: 14.37 MB / 0.8996 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008025/2.171, allocations: 457.5 kB / 0.9 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00202/2.173, allocations: 453.7 kB / 0.9005 GB, free: 101 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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 (931): * Single equations (assignments): 926 * 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 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001703/2.175, allocations: 0.6769 MB / 0.9011 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/2.177, allocations: 0.4958 MB / 0.9016 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/2.191, allocations: 7.022 MB / 0.9085 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-05/2.191, allocations: 34.92 kB / 0.9085 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/2.191, allocations: 8.656 kB / 0.9085 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.078e-05/2.191, allocations: 19.14 kB / 0.9085 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0298/2.221, allocations: 16.01 MB / 0.9242 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/2.221, allocations: 5.938 kB / 0.9242 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/2.223, allocations: 0.5043 MB / 0.9247 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004474/2.228, allocations: 1.874 MB / 0.9265 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005332/2.228, allocations: 64.12 kB / 0.9266 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/2.247, allocations: 12.82 MB / 0.9391 GB, free: 97.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/2.247, allocations: 7.594 kB / 0.9391 GB, free: 97.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/2.267, allocations: 12.08 MB / 0.9509 GB, free: 93.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003892/2.271, allocations: 1.051 MB / 0.9519 GB, free: 93.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/2.273, allocations: 67.03 kB / 0.952 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003324/2.276, allocations: 215.2 kB / 0.9522 GB, free: 93.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006853/2.277, allocations: 207 kB / 0.9524 GB, free: 93.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00028/2.277, allocations: 85.69 kB / 0.9525 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006335/2.284, allocations: 3.286 MB / 0.9557 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/2.284, allocations: 3.969 kB / 0.9557 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008755/2.292, allocations: 1.493 MB / 0.9571 GB, free: 91.75 MB / 0.5261 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 (259): * Single equations (assignments): 254 * 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.01938/2.312, allocations: 14.08 MB / 0.9709 GB, free: 84.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01213/2.324, allocations: 8.171 MB / 0.9789 GB, free: 81.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/2.324, allocations: 3.312 kB / 0.9789 GB, free: 81.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006788/2.331, allocations: 3.877 MB / 0.9826 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/2.335, allocations: 0.6301 MB / 0.9833 GB, free: 79.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03098/2.366, allocations: 14.2 MB / 0.9971 GB, free: 74.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004786/2.371, allocations: 4.531 MB / 1.002 GB, free: 73.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00604/2.377, allocations: 2.502 MB / 1.004 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003757/2.381, allocations: 2.804 MB / 1.007 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/2.381, allocations: 0 / 1.007 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5153/2.896, allocations: 119.6 MB / 1.124 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/2.897, allocations: 165.1 kB / 1.124 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.94/8.837, allocations: 1.688 kB / 1.124 GB, free: 93.04 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