Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",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.001534/0.001534, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001103/0.001103, allocations: 89.3 kB / 270.9 MB, free: 8.379 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.5406/0.5406, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004864, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 58.83 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5181/0.647, allocations: 98.4 MB / 0.5749 GB, free: 4.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.6474, allocations: 75.97 kB / 0.575 GB, free: 4.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09515/0.7426, allocations: 20.62 MB / 0.5951 GB, free: 15.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7426, allocations: 0 / 0.5951 GB, free: 15.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.885e-05/0.7427, allocations: 24 kB / 0.5951 GB, free: 15.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005801/0.7486, allocations: 1.474 MB / 0.5966 GB, free: 13.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.7486, allocations: 8.031 kB / 0.5966 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008526/0.7495, allocations: 186.3 kB / 0.5968 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.7514, allocations: 217.7 kB / 0.597 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.7541, allocations: 0.7204 MB / 0.5977 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.7543, allocations: 78.05 kB / 0.5977 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005718/0.7549, allocations: 104 kB / 0.5978 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.7652, allocations: 2.677 MB / 0.6005 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-05/0.7654, allocations: 7.938 kB / 0.6005 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.7656, allocations: 51.97 kB / 0.6005 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005361/0.7662, allocations: 210.8 kB / 0.6007 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.7765, allocations: 2.416 MB / 0.6031 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/0.7928, allocations: 8.633 MB / 0.6115 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007394/0.8003, allocations: 1.009 MB / 0.6125 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/0.8028, allocations: 1.734 MB / 0.6142 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.8029, allocations: 38.5 kB / 0.6142 GB, free: 11.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.537e-06/0.8029, allocations: 0 / 0.6142 GB, free: 11.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.02233/0.8253, allocations: 3.034 MB / 0.6172 GB, free: 8.051 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.8254, allocations: 55.97 kB / 0.6172 GB, free: 7.984 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.8273, allocations: 0.8083 MB / 0.618 GB, free: 7.172 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.8275, allocations: 33.7 kB / 0.6181 GB, free: 7.133 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006993/0.8282, allocations: 0.6824 MB / 0.6187 GB, free: 6.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.8285, allocations: 217 kB / 0.6189 GB, free: 6.227 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.8287, allocations: 24 kB / 0.619 GB, free: 6.203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.8289, allocations: 362.8 kB / 0.6193 GB, free: 5.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.8299, allocations: 366.4 kB / 0.6196 GB, free: 5.484 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.8317, allocations: 0.9836 MB / 0.6206 GB, free: 4.188 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.8333, allocations: 0.5758 MB / 0.6212 GB, free: 3.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/0.8334, allocations: 8 kB / 0.6212 GB, free: 3.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003857/0.8373, allocations: 1.346 MB / 0.6225 GB, free: 2.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.8374, allocations: 23.88 kB / 0.6225 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.8374, allocations: 20 kB / 0.6225 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.02e-05/0.8375, allocations: 36 kB / 0.6226 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.84, allocations: 323.4 kB / 0.6229 GB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.8416, allocations: 1.377 MB / 0.6242 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.8429, allocations: 60.14 kB / 0.6243 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.8431, allocations: 64 kB / 0.6243 GB, free: 236 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001257/0.8444, allocations: 497.1 kB / 0.6248 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.8446, allocations: 82.97 kB / 0.6249 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.845, allocations: 112.7 kB / 0.625 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.845, allocations: 11.95 kB / 0.625 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8451, allocations: 4 kB / 0.625 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.8451, allocations: 3.984 kB / 0.625 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00633/0.8514, allocations: 2.17 MB / 0.6271 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.8515, allocations: 8 kB / 0.6271 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.8526, allocations: 128.5 kB / 0.6273 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.8526, allocations: 8 kB / 0.6273 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.8527, allocations: 24 kB / 0.6273 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.854, allocations: 1.352 MB / 0.6286 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.92e-05/0.8541, allocations: 12 kB / 0.6286 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.8561, allocations: 1.127 MB / 0.6297 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/0.8567, allocations: 207.9 kB / 0.6299 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.8569, allocations: 19.89 kB / 0.63 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.8575, allocations: 23.98 kB / 0.63 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.8576, allocations: 55.78 kB / 0.63 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.8577, allocations: 20 kB / 0.63 GB, free: 9.824 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001444/0.8592, allocations: 0.5966 MB / 0.6306 GB, free: 9.234 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.8592, allocations: 0 / 0.6306 GB, free: 9.234 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001729/0.861, allocations: 220 kB / 0.6308 GB, free: 9.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003536/0.8645, allocations: 3.476 MB / 0.6342 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.8673, allocations: 0.8665 MB / 0.6351 GB, free: 4.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.8674, allocations: 4 kB / 0.6351 GB, free: 4.473 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009132/0.8683, allocations: 285.7 kB / 0.6354 GB, free: 4.195 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.8693, allocations: 115.5 kB / 0.6355 GB, free: 4.082 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/0.8927, allocations: 21.57 MB / 0.6565 GB, free: 13.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.8946, allocations: 1.248 MB / 0.6577 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009845/0.8956, allocations: 407.3 kB / 0.6581 GB, free: 12.14 MB / 490.7 MB Notification: Performance of SimCode: time 4.358e-06/0.8957, allocations: 4 kB / 0.6581 GB, free: 12.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.285/4.181, allocations: 21.67 MB / 0.6793 GB, free: 130 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat