Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSR",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.002274/0.002273, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.016/2.016, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001142/0.001142, allocations: 95.39 kB / 270.9 MB, free: 8.371 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.6676/0.6676, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004766, allocations: 15.98 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 58.83 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6289, allocations: 107.3 MB / 0.5836 GB, free: 11.08 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.6293, allocations: 82.36 kB / 0.5837 GB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.246/0.8752, allocations: 57.04 MB / 0.6394 GB, free: 1.621 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.8753, allocations: 0 / 0.6394 GB, free: 1.621 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001936/0.8755, allocations: 55.98 kB / 0.6394 GB, free: 1.566 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01239/0.8879, allocations: 2.711 MB / 0.6421 GB, free: 14.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.888, allocations: 8.031 kB / 0.6421 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002264/0.8903, allocations: 489.2 kB / 0.6425 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/0.8949, allocations: 483.1 kB / 0.643 GB, free: 13.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/0.9012, allocations: 1.555 MB / 0.6445 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/0.9016, allocations: 217.6 kB / 0.6447 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.9032, allocations: 275.9 kB / 0.645 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03894/0.9421, allocations: 6.722 MB / 0.6516 GB, free: 4.695 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/0.9424, allocations: 16.84 kB / 0.6516 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001289/0.9437, allocations: 127.9 kB / 0.6517 GB, free: 4.555 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002572/0.9463, allocations: 0.5201 MB / 0.6522 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.9732, allocations: 5.544 MB / 0.6576 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3826/1.356, allocations: 21.39 MB / 0.6785 GB, free: 97.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/1.37, allocations: 1.805 MB / 0.6803 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/1.38, allocations: 4.888 MB / 0.685 GB, free: 95.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.381, allocations: 39.16 kB / 0.6851 GB, free: 95.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 4.058e-06/1.381, allocations: 1.469 kB / 0.6851 GB, free: 95.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.08745/1.468, allocations: 10.1 MB / 0.6949 GB, free: 94.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/1.468, allocations: 90.77 kB / 0.695 GB, free: 94.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/1.472, allocations: 1.755 MB / 0.6967 GB, free: 94.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002778/1.473, allocations: 42.95 kB / 0.6968 GB, free: 93.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/1.474, allocations: 1.666 MB / 0.6984 GB, free: 93.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/1.474, allocations: 416.3 kB / 0.6988 GB, free: 92.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.475, allocations: 60.75 kB / 0.6989 GB, free: 92.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/1.475, allocations: 429.2 kB / 0.6993 GB, free: 92.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/1.478, allocations: 1.026 MB / 0.7003 GB, free: 92.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/1.482, allocations: 2.646 MB / 0.7029 GB, free: 90.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/1.486, allocations: 1.581 MB / 0.7044 GB, free: 90.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.099e-05/1.486, allocations: 17.41 kB / 0.7044 GB, free: 90.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=374) (initialization): time 0.009559/1.495, allocations: 3.596 MB / 0.7079 GB, free: 90.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/1.495, allocations: 30 kB / 0.708 GB, free: 90.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/1.496, allocations: 56.81 kB / 0.708 GB, free: 90.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/1.496, allocations: 88.22 kB / 0.7081 GB, free: 90.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005263/1.501, allocations: 0.7304 MB / 0.7088 GB, free: 90.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001396/1.501, allocations: 112.4 kB / 0.7089 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/1.505, allocations: 156.7 kB / 0.7091 GB, free: 90.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006725/1.505, allocations: 171.2 kB / 0.7092 GB, free: 90.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (374): * Single equations (assignments): 374 * 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.003137/1.508, allocations: 1.205 MB / 0.7104 GB, free: 90.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/1.509, allocations: 184.5 kB / 0.7106 GB, free: 89.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/1.514, allocations: 1.727 MB / 0.7123 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.514, allocations: 11.52 kB / 0.7123 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.514, allocations: 1.031 kB / 0.7123 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/1.514, allocations: 6.688 kB / 0.7123 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/1.53, allocations: 5.911 MB / 0.7181 GB, free: 87.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/1.53, allocations: 12.05 kB / 0.7181 GB, free: 87.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.532, allocations: 252 kB / 0.7183 GB, free: 87.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.969e-05/1.532, allocations: 22.84 kB / 0.7183 GB, free: 87.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/1.533, allocations: 32.19 kB / 0.7184 GB, free: 87.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.931e-05/1.533, allocations: 22.58 kB / 0.7184 GB, free: 87.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-05/1.533, allocations: 16.78 kB / 0.7184 GB, free: 87.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/1.537, allocations: 2.649 MB / 0.721 GB, free: 85.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/1.538, allocations: 269.9 kB / 0.7213 GB, free: 85.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005424/1.538, allocations: 37.59 kB / 0.7213 GB, free: 85.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.54, allocations: 57.5 kB / 0.7213 GB, free: 85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/1.541, allocations: 109.8 kB / 0.7214 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.541, allocations: 39.91 kB / 0.7215 GB, free: 84.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003703/1.544, allocations: 1.273 MB / 0.7227 GB, free: 84.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.544, allocations: 0 / 0.7227 GB, free: 84.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00415/1.549, allocations: 0.5453 MB / 0.7233 GB, free: 84.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (110): * Single equations (assignments): 110 * 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.005614/1.554, allocations: 6.531 MB / 0.7296 GB, free: 78.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006403/1.561, allocations: 2.256 MB / 0.7318 GB, free: 77.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.051e-05/1.561, allocations: 4.875 kB / 0.7318 GB, free: 77.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.563, allocations: 0.613 MB / 0.7324 GB, free: 77.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/1.565, allocations: 231.9 kB / 0.7327 GB, free: 77.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02834/1.593, allocations: 49.03 MB / 0.7806 GB, free: 29.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004307/1.598, allocations: 2.238 MB / 0.7827 GB, free: 28.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002873/1.6, allocations: 1.068 MB / 0.7838 GB, free: 28.08 MB / 490.7 MB Notification: Performance of SimCode: time 2.004e-06/1.6, allocations: 4 kB / 0.7838 GB, free: 28.08 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.272/4.872, allocations: 45.36 MB / 0.8281 GB, free: 10.41 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat