Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 91.14 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2103/0.2103, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.707e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.5888, allocations: 106.2 MB / 0.5985 GB, free: 6.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5891, allocations: 79.95 kB / 0.5985 GB, free: 6.059 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2375/0.8266, allocations: 89.38 MB / 0.6858 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.936e-06/0.8267, allocations: 4 kB / 0.6858 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002241/0.8269, allocations: 72 kB / 0.6859 GB, free: 11.9 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01377/0.8407, allocations: 3.896 MB / 0.6897 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.8408, allocations: 11.98 kB / 0.6897 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.8568, allocations: 3.527 MB / 0.6932 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/0.8697, allocations: 4.268 MB / 0.6973 GB, free: 64 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.8701, allocations: 136 kB / 0.6975 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003051/0.8731, allocations: 247.9 kB / 0.6977 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01541/0.8886, allocations: 7.565 MB / 0.7051 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3465/1.235, allocations: 9.876 MB / 0.7147 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/1.235, allocations: 30.8 kB / 0.7148 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001581/1.237, allocations: 14.28 kB / 0.7148 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/1.24, allocations: 1.218 MB / 0.716 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06424/1.304, allocations: 34.51 MB / 0.7497 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004687/1.309, allocations: 4.359 MB / 0.7539 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/1.311, allocations: 2.336 MB / 0.7562 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009711/1.312, allocations: 1.331 MB / 0.7575 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/1.312, allocations: 56 kB / 0.7576 GB, free: 111 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=244): time 5.791e-06/1.312, allocations: 0 / 0.7576 GB, free: 111 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.02742/1.34, allocations: 15.58 MB / 0.7728 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/1.34, allocations: 73.25 kB / 0.7728 GB, free: 106 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/1.343, allocations: 2.271 MB / 0.7751 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005072/1.344, allocations: 25.7 kB / 0.7751 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/1.345, allocations: 2.863 MB / 0.7779 GB, free: 103 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.347, allocations: 0.905 MB / 0.7788 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/1.347, allocations: 0 / 0.7788 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002701/1.347, allocations: 0.5496 MB / 0.7793 GB, free: 102 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/1.35, allocations: 2.217 MB / 0.7815 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004141/1.354, allocations: 5.322 MB / 0.7867 GB, free: 96.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/1.358, allocations: 3.458 MB / 0.79 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.563e-05/1.358, allocations: 31.16 kB / 0.7901 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.01306/1.371, allocations: 7.746 MB / 0.7976 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/1.371, allocations: 59.23 kB / 0.7977 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.372, allocations: 110.6 kB / 0.7978 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/1.374, allocations: 0.9558 MB / 0.7987 GB, free: 92.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004743/1.379, allocations: 1.3 MB / 0.8 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005527/1.384, allocations: 4.54 MB / 0.8044 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/1.389, allocations: 195.5 kB / 0.8046 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009689/1.39, allocations: 331.7 kB / 0.8049 GB, free: 90.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (696): * Single equations (assignments): 689 * 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 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008927/1.391, allocations: 403.5 kB / 0.8053 GB, free: 89.9 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00668/1.397, allocations: 4.402 MB / 0.8096 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/1.398, allocations: 272.3 kB / 0.8099 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007452/1.405, allocations: 4.93 MB / 0.8147 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.027e-05/1.406, allocations: 43.84 kB / 0.8147 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.406, allocations: 4 kB / 0.8147 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/1.406, allocations: 14.59 kB / 0.8148 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.422, allocations: 10.78 MB / 0.8253 GB, free: 75.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.422, allocations: 12 kB / 0.8253 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/1.423, allocations: 403.2 kB / 0.8257 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/1.426, allocations: 0.7686 MB / 0.8264 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.426, allocations: 24 kB / 0.8264 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/1.43, allocations: 3.866 MB / 0.8302 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.43, allocations: 11.94 kB / 0.8302 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009176/1.439, allocations: 8.287 MB / 0.8383 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/1.44, allocations: 320.8 kB / 0.8386 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003612/1.44, allocations: 23.31 kB / 0.8387 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.442, allocations: 110.3 kB / 0.8388 GB, free: 62.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/1.442, allocations: 153 kB / 0.8389 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.442, allocations: 71.89 kB / 0.839 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00213/1.444, allocations: 1.495 MB / 0.8404 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.41e-07/1.444, allocations: 112 / 0.8404 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005363/1.45, allocations: 0.8663 MB / 0.8413 GB, free: 60.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01108/1.461, allocations: 11.6 MB / 0.8526 GB, free: 49.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007257/1.468, allocations: 5.39 MB / 0.8579 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/1.468, allocations: 5.062 kB / 0.8579 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.471, allocations: 2.072 MB / 0.8599 GB, free: 42.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/1.472, allocations: 252.6 kB / 0.8601 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.493, allocations: 9.744 MB / 0.8697 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00362/1.496, allocations: 3.465 MB / 0.873 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004667/1.501, allocations: 2.081 MB / 0.8751 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002616/1.504, allocations: 1.85 MB / 0.8769 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/1.504, allocations: 3.938 kB / 0.8769 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4074/1.911, allocations: 65.78 MB / 0.9411 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.911, allocations: 135.4 kB / 0.9413 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.976/5.887, allocations: 0 / 0.9413 GB, free: 132.7 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat