Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",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.00111/0.00111, allocations: 184.6 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.478/1.478, 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.000866/0.0008659, allocations: 90.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.2045/0.2045, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.5123, allocations: 102.4 MB / 0.5788 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5126, allocations: 79.14 kB / 0.5789 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.224/0.7366, allocations: 86.49 MB / 0.6634 GB, free: 14.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.15e-06/0.7367, allocations: 0 / 0.6634 GB, free: 14.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002351/0.7369, allocations: 71.94 kB / 0.6634 GB, free: 14.69 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01436/0.7513, allocations: 3.811 MB / 0.6672 GB, free: 10.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.72e-05/0.7514, allocations: 8.031 kB / 0.6672 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003997/0.7554, allocations: 0.7873 MB / 0.6679 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.7708, allocations: 3.512 MB / 0.6714 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.7857, allocations: 4.181 MB / 0.6754 GB, free: 2.254 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005029/0.7863, allocations: 295.7 kB / 0.6757 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003376/0.7897, allocations: 395.7 kB / 0.6761 GB, free: 1.578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03083/0.8206, allocations: 10.32 MB / 0.6862 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003013/0.821, allocations: 27.72 kB / 0.6862 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002676/0.8237, allocations: 175.9 kB / 0.6864 GB, free: 6.605 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002148/0.8258, allocations: 1.219 MB / 0.6876 GB, free: 5.383 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/0.8506, allocations: 10.01 MB / 0.6973 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3458/1.196, allocations: 35.56 MB / 0.7321 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/1.207, allocations: 4.963 MB / 0.7369 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/1.208, allocations: 1.885 MB / 0.7388 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/1.209, allocations: 54.19 kB / 0.7388 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 9.838e-06/1.209, allocations: 0 / 0.7388 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.03478/1.243, allocations: 14.36 MB / 0.7528 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/1.243, allocations: 70.97 kB / 0.7529 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005762/1.249, allocations: 2.391 MB / 0.7552 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006083/1.25, allocations: 56.97 kB / 0.7553 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002193/1.252, allocations: 2.701 MB / 0.7579 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.253, allocations: 0.8583 MB / 0.7588 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008237/1.254, allocations: 100.6 kB / 0.7589 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006333/1.255, allocations: 0.535 MB / 0.7594 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/1.259, allocations: 2.181 MB / 0.7615 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005742/1.265, allocations: 5.087 MB / 0.7665 GB, free: 96.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005463/1.27, allocations: 3.324 MB / 0.7697 GB, free: 95.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/1.27, allocations: 28.47 kB / 0.7698 GB, free: 95.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01659/1.287, allocations: 7.874 MB / 0.7774 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.287, allocations: 56.34 kB / 0.7775 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.287, allocations: 101.6 kB / 0.7776 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/1.289, allocations: 0.8046 MB / 0.7784 GB, free: 92.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/1.294, allocations: 1.208 MB / 0.7796 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/1.299, allocations: 4.232 MB / 0.7837 GB, free: 90.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004752/1.304, allocations: 293.6 kB / 0.784 GB, free: 90.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.305, allocations: 303.2 kB / 0.7843 GB, free: 90.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (639): * Single equations (assignments): 632 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00517/1.311, allocations: 2.063 MB / 0.7863 GB, free: 89.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007983/1.311, allocations: 262.9 kB / 0.7865 GB, free: 89.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008209/1.32, allocations: 4.696 MB / 0.7911 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.457e-05/1.32, allocations: 44.66 kB / 0.7912 GB, free: 87.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/1.32, allocations: 3.75 kB / 0.7912 GB, free: 87.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/1.32, allocations: 7.078 kB / 0.7912 GB, free: 87.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/1.343, allocations: 10.64 MB / 0.8016 GB, free: 83.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/1.343, allocations: 11.7 kB / 0.8016 GB, free: 83.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.345, allocations: 359.8 kB / 0.8019 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.347, allocations: 0.6458 MB / 0.8025 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000439/1.347, allocations: 48.84 kB / 0.8026 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/1.351, allocations: 3.696 MB / 0.8062 GB, free: 79.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.351, allocations: 10.44 kB / 0.8062 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.362, allocations: 7.674 MB / 0.8137 GB, free: 73.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.364, allocations: 0.6481 MB / 0.8143 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007913/1.365, allocations: 42.11 kB / 0.8144 GB, free: 72.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.366, allocations: 134.6 kB / 0.8145 GB, free: 72.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/1.367, allocations: 129.2 kB / 0.8146 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/1.367, allocations: 70.39 kB / 0.8147 GB, free: 72.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002933/1.37, allocations: 1.634 MB / 0.8163 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.37, allocations: 0 / 0.8163 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005454/1.375, allocations: 0.9442 MB / 0.8172 GB, free: 69.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01049/1.386, allocations: 10.09 MB / 0.8271 GB, free: 60.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007738/1.394, allocations: 5.339 MB / 0.8323 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.394, allocations: 0 / 0.8323 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.397, allocations: 2.016 MB / 0.8343 GB, free: 54.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/1.399, allocations: 319.6 kB / 0.8346 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3178/1.717, allocations: 99.31 MB / 0.9315 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005542/1.723, allocations: 3.32 MB / 0.9348 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004983/1.728, allocations: 1.972 MB / 0.9367 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002898/1.73, allocations: 1.787 MB / 0.9385 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.333e-06/1.73, allocations: 0 / 0.9385 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0998/1.83, allocations: 64.51 MB / 1.001 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.831, allocations: 183.2 kB / 1.002 GB, free: 88.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.925/5.756, allocations: 0 / 1.002 GB, free: 88.83 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat