Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",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.001011/0.001011, allocations: 178.3 kB / 8.005 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.616/1.616, 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.0009023/0.0009023, allocations: 86.62 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.2037/0.2037, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.101e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5717, allocations: 104.7 MB / 0.5683 GB, free: 6.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.5719, allocations: 77.31 kB / 0.5683 GB, free: 6.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3271/0.8991, allocations: 126.7 MB / 0.6921 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.222e-06/0.8992, allocations: 3.984 kB / 0.6921 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004127/0.8996, allocations: 120 kB / 0.6922 GB, free: 15.68 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.0249/0.9245, allocations: 6.239 MB / 0.6983 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.9246, allocations: 12.03 kB / 0.6983 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/0.9537, allocations: 6.465 MB / 0.7046 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.354/1.308, allocations: 8.56 MB / 0.713 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004894/1.308, allocations: 186.2 kB / 0.7132 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003879/1.312, allocations: 348.9 kB / 0.7135 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02413/1.336, allocations: 10.55 MB / 0.7238 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/1.369, allocations: 13.73 MB / 0.7372 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004013/1.37, allocations: 54.84 kB / 0.7373 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003002/1.373, allocations: 30.41 kB / 0.7373 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002668/1.376, allocations: 1.695 MB / 0.7389 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0861/1.462, allocations: 53.37 MB / 0.7911 GB, free: 77.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008901/1.471, allocations: 6.624 MB / 0.7975 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006142/1.477, allocations: 4.605 MB / 0.802 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001963/1.479, allocations: 2.208 MB / 0.8042 GB, free: 69.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.522e-05/1.479, allocations: 71 kB / 0.8043 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=369): time 8.306e-06/1.479, allocations: 0 / 0.8043 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=431): time 0.08328/1.562, allocations: 35.8 MB / 0.8392 GB, free: 43.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.562, allocations: 127.6 kB / 0.8393 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007257/1.57, allocations: 3.529 MB / 0.8428 GB, free: 40.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001559/1.571, allocations: 25.7 kB / 0.8428 GB, free: 40.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002687/1.574, allocations: 4.009 MB / 0.8467 GB, free: 36.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002406/1.576, allocations: 1.485 MB / 0.8482 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/1.578, allocations: 0 / 0.8482 GB, free: 35.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007439/1.579, allocations: 0.6578 MB / 0.8488 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/1.584, allocations: 3.833 MB / 0.8526 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008177/1.592, allocations: 7.862 MB / 0.8602 GB, free: 22.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007874/1.6, allocations: 5.483 MB / 0.8656 GB, free: 18.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001713/1.601, allocations: 40 kB / 0.8656 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1077) (initialization): time 0.02823/1.629, allocations: 13.48 MB / 0.8788 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/1.629, allocations: 64.94 kB / 0.8789 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002276/1.629, allocations: 140 kB / 0.879 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007613/1.637, allocations: 2.617 MB / 0.8815 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008224/1.645, allocations: 2.058 MB / 0.8836 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/1.665, allocations: 13 MB / 0.8962 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007355/1.672, allocations: 339.6 kB / 0.8966 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002396/1.675, allocations: 460.9 kB / 0.897 GB, free: 6.152 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (980): * Single equations (assignments): 972 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003454/1.678, allocations: 491.1 kB / 0.8975 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3352/2.013, allocations: 9.224 MB / 0.9065 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/2.015, allocations: 456.2 kB / 0.9069 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/2.036, allocations: 10.25 MB / 0.9169 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/2.037, allocations: 68.02 kB / 0.917 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/2.037, allocations: 9.062 kB / 0.917 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.863e-05/2.037, allocations: 18.64 kB / 0.917 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03508/2.072, allocations: 19.71 MB / 0.9363 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/2.072, allocations: 13.97 kB / 0.9363 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003877/2.076, allocations: 0.8107 MB / 0.9371 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006859/2.083, allocations: 2.388 MB / 0.9394 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001066/2.084, allocations: 30.62 kB / 0.9394 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/2.098, allocations: 11.69 MB / 0.9509 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/2.098, allocations: 14.12 kB / 0.9509 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/2.12, allocations: 16.14 MB / 0.9666 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003253/2.123, allocations: 1.152 MB / 0.9678 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009779/2.124, allocations: 24.11 kB / 0.9678 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/2.127, allocations: 248.9 kB / 0.968 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005733/2.128, allocations: 267.6 kB / 0.9683 GB, free: 97.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/2.128, allocations: 116.2 kB / 0.9684 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003476/2.132, allocations: 2.381 MB / 0.9707 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.132, allocations: 0 / 0.9707 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007472/2.139, allocations: 1.466 MB / 0.9721 GB, free: 96.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 338 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0204/2.159, allocations: 19.44 MB / 0.9911 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01291/2.172, allocations: 9.492 MB / 1 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/2.172, allocations: 3.562 kB / 1 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006606/2.179, allocations: 4.172 MB / 1.004 GB, free: 80.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004548/2.184, allocations: 0.4898 MB / 1.005 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/2.216, allocations: 15.14 MB / 1.02 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005674/2.222, allocations: 4.766 MB / 1.024 GB, free: 63.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007721/2.229, allocations: 2.873 MB / 1.027 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006736/2.236, allocations: 2.933 MB / 1.03 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/2.236, allocations: 0 / 1.03 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4808/2.717, allocations: 116.9 MB / 1.144 GB, free: 110 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/2.717, allocations: 130.3 kB / 1.144 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.115/7.832, allocations: 4 kB / 1.144 GB, free: 109.8 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat does not exist to compare? outputFormat=mat