Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP",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.002124/0.002124, allocations: 178 kB / 8.362 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.188/2.188, 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.001102/0.001101, allocations: 83.98 kB / 262.1 MB, free: 13.87 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.3123/0.3123, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.755e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3981, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.5999, allocations: 109 MB / 0.5724 GB, free: 6.156 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6003, allocations: 75.47 kB / 0.5725 GB, free: 6.086 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.651/1.251, allocations: 70.92 MB / 0.6418 GB, free: 108.8 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.455e-06/1.251, allocations: 0 / 0.6418 GB, free: 108.8 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002772/1.252, allocations: 79.75 kB / 0.6418 GB, free: 108.8 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01657/1.268, allocations: 3.889 MB / 0.6456 GB, free: 108.2 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.268, allocations: 12.78 kB / 0.6457 GB, free: 108.2 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007017/1.275, allocations: 0.7226 MB / 0.6464 GB, free: 107.9 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/1.286, allocations: 2.593 MB / 0.6489 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/1.286, allocations: 141 kB / 0.649 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/1.288, allocations: 241.9 kB / 0.6493 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01636/1.305, allocations: 5.716 MB / 0.6548 GB, free: 107.4 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/1.329, allocations: 7.443 MB / 0.6621 GB, free: 106.3 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/1.329, allocations: 16.97 kB / 0.6621 GB, free: 106.3 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001446/1.331, allocations: 11.31 kB / 0.6621 GB, free: 106.3 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002734/1.334, allocations: 0.8109 MB / 0.6629 GB, free: 106.3 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05813/1.392, allocations: 27.73 MB / 0.69 GB, free: 90.69 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/1.395, allocations: 1.291 MB / 0.6913 GB, free: 90.09 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/1.397, allocations: 0.8533 MB / 0.6921 GB, free: 89.7 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/1.41, allocations: 6.317 MB / 0.6983 GB, free: 85.3 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/1.41, allocations: 50.38 kB / 0.6983 GB, free: 85.25 MB / 475.1 MB Notification: Performance of pre-optimization done (n=70): time 4.91e-06/1.41, allocations: 0 / 0.6983 GB, free: 85.25 MB / 475.1 MB Notification: Performance of matching and sorting (n=79): time 0.01861/1.428, allocations: 5.722 MB / 0.7039 GB, free: 81.99 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/1.429, allocations: 169.2 kB / 0.7041 GB, free: 81.8 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/1.433, allocations: 2.073 MB / 0.7061 GB, free: 80.91 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/1.433, allocations: 25.7 kB / 0.7061 GB, free: 80.88 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001915/1.435, allocations: 2.617 MB / 0.7087 GB, free: 78.81 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/1.435, allocations: 326.1 kB / 0.709 GB, free: 78.58 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/1.436, allocations: 3.719 kB / 0.709 GB, free: 78.58 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/1.436, allocations: 475.7 kB / 0.7094 GB, free: 78.2 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.438, allocations: 0.9415 MB / 0.7104 GB, free: 77.84 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/1.441, allocations: 3.368 MB / 0.7136 GB, free: 74.14 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/1.445, allocations: 1.723 MB / 0.7153 GB, free: 73.43 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-05/1.445, allocations: 27.72 kB / 0.7154 GB, free: 73.43 MB / 475.1 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01/1.455, allocations: 3.702 MB / 0.719 GB, free: 72.09 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/1.455, allocations: 43.84 kB / 0.719 GB, free: 72.09 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/1.455, allocations: 96.41 kB / 0.7191 GB, free: 72.09 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/1.456, allocations: 135.2 kB / 0.7192 GB, free: 72.08 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005786/1.461, allocations: 0.9446 MB / 0.7202 GB, free: 71.96 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001807/1.462, allocations: 171.8 kB / 0.7203 GB, free: 71.93 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004232/1.466, allocations: 131.5 kB / 0.7204 GB, free: 71.91 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009046/1.467, allocations: 245.9 kB / 0.7207 GB, free: 71.88 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 400 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (501): * Single equations (assignments): 500 * Array equations: 1 * 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.001025/1.468, allocations: 345.4 kB / 0.721 GB, free: 71.59 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002505/1.47, allocations: 1.017 MB / 0.722 GB, free: 71.17 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006017/1.471, allocations: 214.4 kB / 0.7222 GB, free: 71.05 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/1.473, allocations: 0.9507 MB / 0.7231 GB, free: 70.63 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.473, allocations: 14.38 kB / 0.7232 GB, free: 70.63 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.473, allocations: 0 / 0.7232 GB, free: 70.63 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.473, allocations: 7.594 kB / 0.7232 GB, free: 70.63 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.486, allocations: 4.715 MB / 0.7278 GB, free: 67.93 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/1.486, allocations: 20 kB / 0.7278 GB, free: 67.91 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.487, allocations: 252.3 kB / 0.728 GB, free: 67.7 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.844e-05/1.488, allocations: 28 kB / 0.728 GB, free: 67.67 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.488, allocations: 31 kB / 0.7281 GB, free: 67.64 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.848e-05/1.488, allocations: 39.25 kB / 0.7281 GB, free: 67.61 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.307e-05/1.488, allocations: 27.88 kB / 0.7281 GB, free: 67.58 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/1.491, allocations: 3.609 MB / 0.7317 GB, free: 63.28 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008715/1.492, allocations: 307.2 kB / 0.732 GB, free: 62.97 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/1.493, allocations: 27.66 kB / 0.732 GB, free: 62.95 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.494, allocations: 42.64 kB / 0.732 GB, free: 62.92 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/1.495, allocations: 142.9 kB / 0.7322 GB, free: 62.81 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.495, allocations: 56 kB / 0.7322 GB, free: 62.75 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.003253/1.498, allocations: 1.368 MB / 0.7336 GB, free: 61.54 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.162e-06/1.498, allocations: 0 / 0.7336 GB, free: 61.54 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005315/1.504, allocations: 0.5988 MB / 0.7341 GB, free: 60.95 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.005105/1.509, allocations: 9.381 MB / 0.7433 GB, free: 51.13 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.005084/1.514, allocations: 2.228 MB / 0.7455 GB, free: 49.1 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-05/1.514, allocations: 4.375 kB / 0.7455 GB, free: 49.1 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/1.515, allocations: 0.5654 MB / 0.746 GB, free: 48.59 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.517, allocations: 240.3 kB / 0.7463 GB, free: 48.38 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/1.541, allocations: 7.458 MB / 0.7535 GB, free: 41.6 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006713/1.548, allocations: 3.025 MB / 0.7565 GB, free: 39.27 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003965/1.552, allocations: 1.614 MB / 0.7581 GB, free: 37.78 MB / 475.1 MB Notification: Performance of SimCode: time 1.162e-06/1.552, allocations: 0 / 0.7581 GB, free: 37.78 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.626/5.178, allocations: 60.36 MB / 0.817 GB, free: 13.11 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat