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.002149/0.002155, allocations: 178.4 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.155/2.155, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001134/0.001134, allocations: 82.55 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.295/0.295, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/2.002e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4089, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.6072, allocations: 106.5 MB / 0.57 GB, free: 8.605 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.6075, allocations: 75.95 kB / 0.5701 GB, free: 8.531 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2475/0.855, allocations: 55.63 MB / 0.6244 GB, free: 472 kB / 459.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8551, allocations: 0 / 0.6244 GB, free: 472 kB / 459.1 MB Notification: Performance of Transformations before backend: time 0.0001758/0.8553, allocations: 55.98 kB / 0.6245 GB, free: 416 kB / 459.1 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.01071/0.866, allocations: 2.585 MB / 0.627 GB, free: 13.77 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.8661, allocations: 12.03 kB / 0.627 GB, free: 13.75 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.8704, allocations: 487.6 kB / 0.6275 GB, free: 13.27 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00619/0.8767, allocations: 1.551 MB / 0.629 GB, free: 11.68 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.8769, allocations: 92 kB / 0.6291 GB, free: 11.59 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.8782, allocations: 160 kB / 0.6293 GB, free: 11.43 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01066/0.8889, allocations: 3.812 MB / 0.633 GB, free: 7.613 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.9037, allocations: 4.965 MB / 0.6378 GB, free: 2.34 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.9039, allocations: 15.86 kB / 0.6378 GB, free: 2.324 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007462/0.9046, allocations: 8 kB / 0.6378 GB, free: 2.316 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00157/0.9062, allocations: 0.528 MB / 0.6384 GB, free: 1.781 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.37/1.276, allocations: 20.14 MB / 0.658 GB, free: 111.1 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/1.279, allocations: 0.8464 MB / 0.6589 GB, free: 111.1 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/1.28, allocations: 0.6142 MB / 0.6595 GB, free: 111.1 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/1.291, allocations: 4.573 MB / 0.6639 GB, free: 108.9 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/1.292, allocations: 42.28 kB / 0.664 GB, free: 108.9 MB / 475.1 MB Notification: Performance of pre-optimization done (n=64): time 6.041e-06/1.292, allocations: 0 / 0.664 GB, free: 108.9 MB / 475.1 MB Notification: Performance of matching and sorting (n=88): time 0.02779/1.319, allocations: 5.257 MB / 0.6691 GB, free: 107.7 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/1.32, allocations: 88.02 kB / 0.6692 GB, free: 107.6 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/1.323, allocations: 1.438 MB / 0.6706 GB, free: 107 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002701/1.323, allocations: 25.7 kB / 0.6706 GB, free: 107 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/1.325, allocations: 1.752 MB / 0.6723 GB, free: 105.7 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/1.325, allocations: 334.8 kB / 0.6726 GB, free: 105.5 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/1.325, allocations: 3.156 kB / 0.6726 GB, free: 105.5 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/1.326, allocations: 424.7 kB / 0.673 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/1.328, allocations: 0.8332 MB / 0.6739 GB, free: 104.8 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/1.331, allocations: 2.487 MB / 0.6763 GB, free: 102.2 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005354/1.337, allocations: 1.542 MB / 0.6778 GB, free: 101.8 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.175e-05/1.337, allocations: 15.56 kB / 0.6778 GB, free: 101.8 MB / 475.1 MB Notification: Performance of matching and sorting (n=369) (initialization): time 0.01038/1.347, allocations: 3.096 MB / 0.6808 GB, free: 100.8 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/1.348, allocations: 28.12 kB / 0.6809 GB, free: 100.8 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.877e-05/1.348, allocations: 62.62 kB / 0.6809 GB, free: 100.8 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/1.348, allocations: 93.17 kB / 0.681 GB, free: 100.8 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004713/1.352, allocations: 0.711 MB / 0.6817 GB, free: 100.7 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001109/1.353, allocations: 121.6 kB / 0.6818 GB, free: 100.7 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/1.356, allocations: 90.31 kB / 0.6819 GB, free: 100.7 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006793/1.357, allocations: 174.1 kB / 0.6821 GB, free: 100.7 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (369): * Single equations (assignments): 369 * 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.0006371/1.357, allocations: 270.1 kB / 0.6823 GB, free: 100.5 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002574/1.36, allocations: 1.099 MB / 0.6834 GB, free: 100 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/1.361, allocations: 158.8 kB / 0.6836 GB, free: 99.91 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/1.363, allocations: 1.258 MB / 0.6848 GB, free: 99.38 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/1.364, allocations: 7.906 kB / 0.6848 GB, free: 99.38 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.364, allocations: 0 / 0.6848 GB, free: 99.38 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.364, allocations: 3.797 kB / 0.6848 GB, free: 99.38 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.374, allocations: 3.78 MB / 0.6885 GB, free: 97.62 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.374, allocations: 3.281 kB / 0.6885 GB, free: 97.62 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/1.376, allocations: 211.6 kB / 0.6887 GB, free: 97.6 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/1.376, allocations: 9.375 kB / 0.6887 GB, free: 97.6 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/1.376, allocations: 11.44 kB / 0.6887 GB, free: 97.59 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/1.376, allocations: 10.06 kB / 0.6887 GB, free: 97.59 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.376, allocations: 11.31 kB / 0.6887 GB, free: 97.59 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/1.379, allocations: 1.593 MB / 0.6903 GB, free: 96.43 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/1.38, allocations: 218.9 kB / 0.6905 GB, free: 96.25 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/1.38, allocations: 11.02 kB / 0.6905 GB, free: 96.24 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.381, allocations: 43.31 kB / 0.6905 GB, free: 96.24 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.382, allocations: 64.14 kB / 0.6906 GB, free: 96.22 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/1.382, allocations: 29.31 kB / 0.6906 GB, free: 96.21 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002027/1.384, allocations: 0.9572 MB / 0.6916 GB, free: 95.82 MB / 475.1 MB Notification: Performance of sort global known variables: time 9.02e-07/1.384, allocations: 3.938 kB / 0.6916 GB, free: 95.82 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.003845/1.388, allocations: 466 kB / 0.692 GB, free: 95.81 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.00338/1.391, allocations: 3.444 MB / 0.6954 GB, free: 92.92 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.004342/1.395, allocations: 1.9 MB / 0.6972 GB, free: 92.2 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/1.395, allocations: 5.438 kB / 0.6972 GB, free: 92.2 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.397, allocations: 0.5189 MB / 0.6977 GB, free: 91.98 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.398, allocations: 148.7 kB / 0.6979 GB, free: 91.92 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/1.413, allocations: 4.869 MB / 0.7026 GB, free: 89.85 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003642/1.417, allocations: 2.207 MB / 0.7048 GB, free: 88.79 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/1.419, allocations: 1.053 MB / 0.7058 GB, free: 87.94 MB / 475.1 MB Notification: Performance of SimCode: time 1.262e-06/1.419, allocations: 0 / 0.7058 GB, free: 87.94 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.247/4.667, allocations: 42.77 MB / 0.7476 GB, free: 55.35 MB / 475.1 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