Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP",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.00218/0.00218, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 96.92 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3038/0.3038, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.051e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4681, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.6699, allocations: 105.7 MB / 0.5692 GB, free: 9.457 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.6703, allocations: 83.95 kB / 0.5693 GB, free: 9.375 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2288/0.8992, allocations: 53.75 MB / 0.6218 GB, free: 3.191 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.8992, allocations: 0 / 0.6218 GB, free: 3.191 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.0001757/0.8994, allocations: 56 kB / 0.6219 GB, free: 3.137 MB / 459.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.008767/0.9082, allocations: 2.374 MB / 0.6242 GB, free: 0.707 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.9083, allocations: 8.031 kB / 0.6242 GB, free: 0.6992 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/0.9125, allocations: 479.8 kB / 0.6246 GB, free: 232 kB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00573/0.9183, allocations: 1.536 MB / 0.6261 GB, free: 14.64 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.9185, allocations: 96 kB / 0.6262 GB, free: 14.55 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.9197, allocations: 164 kB / 0.6264 GB, free: 14.39 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01017/0.9299, allocations: 3.379 MB / 0.6297 GB, free: 11.01 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.9449, allocations: 4.644 MB / 0.6342 GB, free: 6.062 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.9451, allocations: 23.77 kB / 0.6342 GB, free: 6.039 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000521/0.9456, allocations: 8 kB / 0.6343 GB, free: 6.031 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001473/0.9471, allocations: 488.7 kB / 0.6347 GB, free: 5.547 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3661/1.313, allocations: 18.29 MB / 0.6526 GB, free: 111.8 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/1.315, allocations: 0.6498 MB / 0.6532 GB, free: 111.8 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008629/1.316, allocations: 304.6 kB / 0.6535 GB, free: 111.8 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/1.319, allocations: 1.747 MB / 0.6552 GB, free: 110.4 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/1.319, allocations: 37.27 kB / 0.6553 GB, free: 110.3 MB / 475.1 MB Notification: Performance of pre-optimization done (n=60): time 5.571e-06/1.319, allocations: 1.641 kB / 0.6553 GB, free: 110.3 MB / 475.1 MB Notification: Performance of matching and sorting (n=92): time 0.01772/1.336, allocations: 3.346 MB / 0.6585 GB, free: 109.5 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/1.337, allocations: 86.55 kB / 0.6586 GB, free: 109.4 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/1.34, allocations: 1.373 MB / 0.6599 GB, free: 109.2 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/1.34, allocations: 25.7 kB / 0.66 GB, free: 109.2 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.342, allocations: 1.729 MB / 0.6617 GB, free: 108.3 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/1.343, allocations: 343.2 kB / 0.662 GB, free: 108.1 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.343, allocations: 0 / 0.662 GB, free: 108.1 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002437/1.343, allocations: 425.1 kB / 0.6624 GB, free: 107.8 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/1.345, allocations: 0.6667 MB / 0.663 GB, free: 107.8 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/1.348, allocations: 2.259 MB / 0.6652 GB, free: 105.7 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/1.351, allocations: 1.212 MB / 0.6664 GB, free: 105.7 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.684e-05/1.351, allocations: 16.25 kB / 0.6664 GB, free: 105.7 MB / 475.1 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008406/1.36, allocations: 2.585 MB / 0.669 GB, free: 105.6 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/1.36, allocations: 27.84 kB / 0.669 GB, free: 105.6 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/1.36, allocations: 56.72 kB / 0.6691 GB, free: 105.6 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/1.36, allocations: 85.34 kB / 0.6691 GB, free: 105.6 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004374/1.365, allocations: 0.6537 MB / 0.6698 GB, free: 105.5 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001448/1.365, allocations: 114.9 kB / 0.6699 GB, free: 105.5 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/1.368, allocations: 63.08 kB / 0.6699 GB, free: 105.5 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007903/1.369, allocations: 165.1 kB / 0.6701 GB, free: 105.5 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (359): * Single equations (assignments): 359 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007209/1.37, allocations: 266.9 kB / 0.6704 GB, free: 105.3 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002356/1.372, allocations: 0.8747 MB / 0.6712 GB, free: 105.1 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/1.372, allocations: 152.1 kB / 0.6714 GB, free: 105.1 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/1.375, allocations: 0.9543 MB / 0.6723 GB, free: 105 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.375, allocations: 12.44 kB / 0.6723 GB, free: 105 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.375, allocations: 4.844 kB / 0.6723 GB, free: 105 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.375, allocations: 3.891 kB / 0.6723 GB, free: 105 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.387, allocations: 4.539 MB / 0.6767 GB, free: 102.9 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/1.387, allocations: 14.22 kB / 0.6767 GB, free: 102.9 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.388, allocations: 173 kB / 0.6769 GB, free: 102.8 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.07e-05/1.388, allocations: 25.88 kB / 0.6769 GB, free: 102.8 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/1.388, allocations: 24.94 kB / 0.677 GB, free: 102.8 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-05/1.388, allocations: 35.91 kB / 0.677 GB, free: 102.8 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/1.388, allocations: 25.5 kB / 0.677 GB, free: 102.8 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/1.391, allocations: 2.384 MB / 0.6793 GB, free: 100.2 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/1.391, allocations: 233.8 kB / 0.6796 GB, free: 100 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/1.392, allocations: 26.38 kB / 0.6796 GB, free: 100 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.393, allocations: 18.55 kB / 0.6796 GB, free: 100 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.393, allocations: 111.5 kB / 0.6797 GB, free: 99.98 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/1.393, allocations: 39.56 kB / 0.6798 GB, free: 99.98 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.001916/1.395, allocations: 0.9185 MB / 0.6807 GB, free: 99.59 MB / 475.1 MB Notification: Performance of sort global known variables: time 7.92e-07/1.395, allocations: 0 / 0.6807 GB, free: 99.59 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.004256/1.4, allocations: 428.8 kB / 0.6811 GB, free: 99.59 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00394/1.404, allocations: 7.627 MB / 0.6885 GB, free: 91.99 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.003825/1.407, allocations: 1.528 MB / 0.69 GB, free: 91.43 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 2.171e-05/1.408, allocations: 0 / 0.69 GB, free: 91.43 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007898/1.408, allocations: 372.1 kB / 0.6904 GB, free: 91.3 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.41, allocations: 182.7 kB / 0.6905 GB, free: 91.23 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.425, allocations: 4.944 MB / 0.6954 GB, free: 88.81 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/1.428, allocations: 2.224 MB / 0.6975 GB, free: 87.75 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.431, allocations: 1.04 MB / 0.6986 GB, free: 86.91 MB / 475.1 MB Notification: Performance of SimCode: time 2.254e-06/1.431, allocations: 0 / 0.6986 GB, free: 86.91 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.346/4.777, allocations: 40.38 MB / 0.738 GB, free: 64.51 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat