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.00146/0.00146, allocations: 183.8 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.663/1.663, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009227/0.0009226, allocations: 82.61 kB / 267 MB, free: 9.285 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.4331/0.4331, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.048e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 58.84 MB / 484.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.5427, allocations: 105.3 MB / 0.5757 GB, free: 484 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.543, allocations: 79.08 kB / 0.5758 GB, free: 444 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2482/0.7912, allocations: 91.68 MB / 0.6654 GB, free: 13.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.7913, allocations: 0 / 0.6654 GB, free: 13.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003001/0.7916, allocations: 83.92 kB / 0.6654 GB, free: 13.32 MB / 490.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.01507/0.8067, allocations: 3.981 MB / 0.6693 GB, free: 9.273 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.8067, allocations: 8.031 kB / 0.6693 GB, free: 9.266 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005059/0.8118, allocations: 0.8488 MB / 0.6702 GB, free: 8.406 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.8281, allocations: 3.543 MB / 0.6736 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.8409, allocations: 4.436 MB / 0.6779 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/0.8414, allocations: 325.9 kB / 0.6783 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/0.8444, allocations: 435.8 kB / 0.6787 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03032/0.8748, allocations: 10.85 MB / 0.6893 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/0.875, allocations: 27.72 kB / 0.6893 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001416/0.8764, allocations: 191.9 kB / 0.6895 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001949/0.8784, allocations: 1.259 MB / 0.6907 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3737/1.252, allocations: 10.32 MB / 0.7008 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06029/1.313, allocations: 37.85 MB / 0.7377 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008932/1.321, allocations: 4.556 MB / 0.7422 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/1.325, allocations: 2.385 MB / 0.7445 GB, free: 84.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.326, allocations: 1.324 MB / 0.7458 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.326, allocations: 54.09 kB / 0.7459 GB, free: 83.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 4.699e-06/1.326, allocations: 0 / 0.7459 GB, free: 83.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.03501/1.361, allocations: 14.6 MB / 0.7601 GB, free: 79.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.361, allocations: 75.28 kB / 0.7602 GB, free: 79.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/1.366, allocations: 2.47 MB / 0.7626 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00047/1.366, allocations: 55.89 kB / 0.7627 GB, free: 78.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001849/1.368, allocations: 2.849 MB / 0.7654 GB, free: 76.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00127/1.369, allocations: 0.9216 MB / 0.7663 GB, free: 75.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/1.369, allocations: 103 kB / 0.7664 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004166/1.37, allocations: 0.5498 MB / 0.767 GB, free: 75.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/1.373, allocations: 2.252 MB / 0.7692 GB, free: 74.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006059/1.379, allocations: 5.215 MB / 0.7743 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006493/1.386, allocations: 3.464 MB / 0.7776 GB, free: 68.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.447e-05/1.386, allocations: 31.69 kB / 0.7777 GB, free: 68.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01944/1.405, allocations: 8.228 MB / 0.7857 GB, free: 66.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/1.406, allocations: 50.22 kB / 0.7858 GB, free: 66.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002603/1.406, allocations: 101.8 kB / 0.7859 GB, free: 66.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/1.409, allocations: 0.949 MB / 0.7868 GB, free: 65.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004929/1.414, allocations: 1.249 MB / 0.788 GB, free: 65.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/1.42, allocations: 4.724 MB / 0.7926 GB, free: 63.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004777/1.425, allocations: 301.8 kB / 0.7929 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.426, allocations: 311 kB / 0.7932 GB, free: 63.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * 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 (664): * Single equations (assignments): 657 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002279/1.429, allocations: 0.5084 MB / 0.7937 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.43, allocations: 284.8 kB / 0.794 GB, free: 62.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.44, allocations: 5.072 MB / 0.7989 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/1.44, allocations: 44.38 kB / 0.799 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.765e-05/1.44, allocations: 9.219 kB / 0.799 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-05/1.44, allocations: 8.438 kB / 0.799 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02899/1.469, allocations: 11.94 MB / 0.8106 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/1.469, allocations: 8 kB / 0.8107 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.471, allocations: 401.3 kB / 0.811 GB, free: 56.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/1.474, allocations: 0.7739 MB / 0.8118 GB, free: 56.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003813/1.474, allocations: 47.52 kB / 0.8118 GB, free: 56.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/1.48, allocations: 4.019 MB / 0.8158 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.48, allocations: 19.55 kB / 0.8158 GB, free: 52.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.492, allocations: 8.39 MB / 0.824 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/1.494, allocations: 0.6811 MB / 0.8246 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.496, allocations: 47.28 kB / 0.8247 GB, free: 44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.498, allocations: 145.8 kB / 0.8248 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/1.499, allocations: 158.1 kB / 0.825 GB, free: 43.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000281/1.499, allocations: 75.8 kB / 0.825 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004401/1.503, allocations: 1.679 MB / 0.8267 GB, free: 42.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.503, allocations: 0 / 0.8267 GB, free: 42.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007664/1.511, allocations: 1.016 MB / 0.8277 GB, free: 41.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (196): * Single equations (assignments): 189 * 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.01339/1.524, allocations: 11.58 MB / 0.839 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008451/1.533, allocations: 5.542 MB / 0.8444 GB, free: 25.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/1.533, allocations: 4 kB / 0.8444 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002709/1.536, allocations: 2.126 MB / 0.8465 GB, free: 23.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.538, allocations: 344.7 kB / 0.8468 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/1.568, allocations: 10.11 MB / 0.8567 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006246/1.575, allocations: 3.524 MB / 0.8601 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005844/1.58, allocations: 2.005 MB / 0.8621 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004128/1.585, allocations: 1.887 MB / 0.8639 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of SimCode: time 2.124e-06/1.585, allocations: 0 / 0.8639 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5032/2.088, allocations: 70.43 MB / 0.9327 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/2.088, allocations: 167.1 kB / 0.9329 GB, free: 106 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/6.56, allocations: 0 / 0.9329 GB, free: 106 MB / 0.5105 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