Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",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.001175/0.001175, allocations: 177.6 kB / 8.002 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.454/1.454, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001015/0.001015, allocations: 102.2 kB / 261.8 MB, free: 1.676 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.2053/0.2053, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.147e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5928, allocations: 104.7 MB / 0.5682 GB, free: 6.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5931, allocations: 82.3 kB / 0.5683 GB, free: 6.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2423/0.8355, allocations: 89.88 MB / 0.6561 GB, free: 4.914 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.8355, allocations: 0 / 0.6561 GB, free: 4.914 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001656/0.8357, allocations: 76 kB / 0.6561 GB, free: 4.84 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01369/0.8494, allocations: 3.977 MB / 0.66 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/0.8495, allocations: 8.031 kB / 0.66 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.8663, allocations: 3.547 MB / 0.6635 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.8797, allocations: 4.44 MB / 0.6678 GB, free: 8.734 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.88, allocations: 143.9 kB / 0.668 GB, free: 8.594 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/0.882, allocations: 255.8 kB / 0.6682 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01415/0.8962, allocations: 7.686 MB / 0.6757 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02501/0.9213, allocations: 10.05 MB / 0.6855 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002931/0.9216, allocations: 27.72 kB / 0.6856 GB, free: 6.102 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002152/0.9238, allocations: 12 kB / 0.6856 GB, free: 6.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002318/0.9261, allocations: 1.263 MB / 0.6868 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3903/1.316, allocations: 35.24 MB / 0.7212 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006104/1.323, allocations: 4.357 MB / 0.7255 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/1.326, allocations: 2.337 MB / 0.7278 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.328, allocations: 1.318 MB / 0.7291 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/1.328, allocations: 54.5 kB / 0.7291 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 6.061e-06/1.328, allocations: 4 kB / 0.7291 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.03445/1.362, allocations: 15.65 MB / 0.7444 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/1.362, allocations: 76.94 kB / 0.7445 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004681/1.367, allocations: 2.335 MB / 0.7467 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005489/1.368, allocations: 27.95 kB / 0.7468 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002228/1.37, allocations: 2.946 MB / 0.7497 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00146/1.371, allocations: 0.9047 MB / 0.7505 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/1.372, allocations: 0 / 0.7505 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003967/1.372, allocations: 0.5531 MB / 0.7511 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/1.376, allocations: 2.236 MB / 0.7533 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/1.38, allocations: 5.428 MB / 0.7586 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/1.384, allocations: 3.508 MB / 0.762 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-05/1.384, allocations: 30.25 kB / 0.762 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01319/1.397, allocations: 7.844 MB / 0.7697 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-05/1.397, allocations: 59.03 kB / 0.7697 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/1.397, allocations: 112.7 kB / 0.7698 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/1.4, allocations: 0.9545 MB / 0.7708 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/1.404, allocations: 1.327 MB / 0.7721 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005286/1.41, allocations: 4.562 MB / 0.7765 GB, free: 96.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/1.414, allocations: 207.2 kB / 0.7767 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/1.415, allocations: 336 kB / 0.777 GB, free: 96.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (711): * Single equations (assignments): 704 * 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.001095/1.416, allocations: 399 kB / 0.7774 GB, free: 96.58 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006999/1.423, allocations: 4.407 MB / 0.7817 GB, free: 95.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005897/1.424, allocations: 279.2 kB / 0.782 GB, free: 95.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007683/1.431, allocations: 4.931 MB / 0.7868 GB, free: 93.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/1.431, allocations: 46.03 kB / 0.7868 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.431, allocations: 0 / 0.7868 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/1.431, allocations: 16.73 kB / 0.7869 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/1.449, allocations: 10.83 MB / 0.7974 GB, free: 87.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.449, allocations: 10.88 kB / 0.7975 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.45, allocations: 406.8 kB / 0.7978 GB, free: 86.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/1.453, allocations: 0.7649 MB / 0.7986 GB, free: 86.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/1.453, allocations: 20 kB / 0.7986 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/1.457, allocations: 3.857 MB / 0.8024 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.457, allocations: 19.88 kB / 0.8024 GB, free: 83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00941/1.466, allocations: 8.311 MB / 0.8105 GB, free: 75.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.468, allocations: 0.6852 MB / 0.8112 GB, free: 74.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/1.468, allocations: 15.75 kB / 0.8112 GB, free: 74.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.47, allocations: 107.4 kB / 0.8113 GB, free: 74.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.47, allocations: 154.6 kB / 0.8114 GB, free: 74.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/1.47, allocations: 71.75 kB / 0.8115 GB, free: 74.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002199/1.472, allocations: 1.528 MB / 0.813 GB, free: 73.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.21e-07/1.472, allocations: 7.938 kB / 0.813 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004831/1.477, allocations: 0.8819 MB / 0.8139 GB, free: 72.2 MB / 0.4948 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.009851/1.487, allocations: 11.6 MB / 0.8252 GB, free: 61.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007625/1.495, allocations: 5.436 MB / 0.8305 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/1.495, allocations: 10.38 kB / 0.8305 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002473/1.497, allocations: 2.068 MB / 0.8325 GB, free: 54.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.499, allocations: 245.6 kB / 0.8328 GB, free: 54.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/1.52, allocations: 9.907 MB / 0.8425 GB, free: 45.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/1.524, allocations: 3.532 MB / 0.8459 GB, free: 42.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004674/1.528, allocations: 2.106 MB / 0.848 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003105/1.531, allocations: 1.909 MB / 0.8498 GB, free: 39.67 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/1.531, allocations: 0 / 0.8498 GB, free: 39.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4256/1.957, allocations: 66.67 MB / 0.9149 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.957, allocations: 131.3 kB / 0.9151 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/5.475, allocations: 3.969 kB / 0.9151 GB, free: 115.4 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat