Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.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.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_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.002232/0.002231, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.054/2.054, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001097/0.001096, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2862/0.2862, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.543e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 58.87 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5439/0.66, allocations: 116.1 MB / 0.5863 GB, free: 3.762 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6603, allocations: 77.44 kB / 0.5864 GB, free: 3.727 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031/1.691, allocations: 154.7 MB / 0.7374 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.404e-06/1.691, allocations: 0 / 0.7374 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004022/1.692, allocations: 141.2 kB / 0.7376 GB, free: 101.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02696/1.719, allocations: 6.548 MB / 0.744 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.719, allocations: 11.16 kB / 0.744 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007304/1.726, allocations: 1.492 MB / 0.7454 GB, free: 98.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05145/1.778, allocations: 6.68 MB / 0.752 GB, free: 98.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03193/1.81, allocations: 8.39 MB / 0.7602 GB, free: 97.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008591/1.81, allocations: 0.5291 MB / 0.7607 GB, free: 97.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004753/1.815, allocations: 0.7106 MB / 0.7614 GB, free: 97.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06368/1.879, allocations: 18.69 MB / 0.7796 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005368/1.88, allocations: 83.06 kB / 0.7797 GB, free: 93.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004151/1.884, allocations: 339.3 kB / 0.78 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004082/1.888, allocations: 1.728 MB / 0.7817 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05389/1.942, allocations: 16.22 MB / 0.7976 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1281/2.07, allocations: 74.22 MB / 0.87 GB, free: 18.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02579/2.096, allocations: 6.105 MB / 0.876 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006559/2.102, allocations: 2.712 MB / 0.8787 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04156/2.144, allocations: 13.9 MB / 0.8922 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.883e-05/2.144, allocations: 64.48 kB / 0.8923 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 7.154e-06/2.144, allocations: 0 / 0.8923 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.4867/2.631, allocations: 19.32 MB / 0.9112 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/2.631, allocations: 188.8 kB / 0.9113 GB, free: 109 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01698/2.648, allocations: 5.177 MB / 0.9164 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008154/2.649, allocations: 72.48 kB / 0.9165 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00535/2.654, allocations: 4.866 MB / 0.9212 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002411/2.657, allocations: 1.278 MB / 0.9225 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001905/2.659, allocations: 193 kB / 0.9226 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001462/2.66, allocations: 0.7144 MB / 0.9233 GB, free: 105 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/2.671, allocations: 3.141 MB / 0.9264 GB, free: 105 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/2.684, allocations: 8.605 MB / 0.9348 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/2.697, allocations: 5.205 MB / 0.9399 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002504/2.697, allocations: 53.91 kB / 0.9399 GB, free: 97.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03933/2.736, allocations: 12.34 MB / 0.952 GB, free: 96.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/2.737, allocations: 91.17 kB / 0.9521 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003038/2.737, allocations: 194.2 kB / 0.9523 GB, free: 96.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007614/2.744, allocations: 1.322 MB / 0.9536 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01371/2.758, allocations: 2.19 MB / 0.9557 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/2.776, allocations: 7.105 MB / 0.9626 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/2.787, allocations: 0.5571 MB / 0.9632 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002347/2.79, allocations: 0.5507 MB / 0.9637 GB, free: 92.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[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],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1148 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003706/2.794, allocations: 0.8106 MB / 0.9645 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/2.795, allocations: 0.5321 MB / 0.965 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/2.815, allocations: 5.26 MB / 0.9702 GB, free: 90 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.003e-05/2.815, allocations: 41.44 kB / 0.9702 GB, free: 90 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/2.815, allocations: 3.969 kB / 0.9702 GB, free: 90 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.963e-05/2.815, allocations: 17.69 kB / 0.9702 GB, free: 90 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04824/2.864, allocations: 14.05 MB / 0.984 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.848e-05/2.864, allocations: 13.7 kB / 0.984 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004691/2.869, allocations: 0.5336 MB / 0.9845 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006495/2.875, allocations: 0.9145 MB / 0.9854 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007443/2.876, allocations: 71.25 kB / 0.9854 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/2.89, allocations: 5.407 MB / 0.9907 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/2.89, allocations: 21.94 kB / 0.9907 GB, free: 81.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02449/2.914, allocations: 10.14 MB / 1.001 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00395/2.918, allocations: 0.9513 MB / 1.002 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001916/2.92, allocations: 63.09 kB / 1.002 GB, free: 74.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005439/2.926, allocations: 190.1 kB / 1.002 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.927, allocations: 223.7 kB / 1.002 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003525/2.927, allocations: 104.4 kB / 1.002 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009806/2.937, allocations: 3.574 MB / 1.006 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.71e-07/2.937, allocations: 0 / 1.006 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01193/2.949, allocations: 1.657 MB / 1.007 GB, free: 73.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02619/2.975, allocations: 13.17 MB / 1.02 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01879/2.994, allocations: 7.625 MB / 1.028 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/2.994, allocations: 4 kB / 1.028 GB, free: 53.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006493/3.001, allocations: 2.354 MB / 1.03 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006003/3.007, allocations: 0.6423 MB / 1.03 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05091/3.058, allocations: 15.89 MB / 1.046 GB, free: 37.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/3.07, allocations: 5.335 MB / 1.051 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008025/3.078, allocations: 3.41 MB / 1.055 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/3.078, allocations: 0 / 1.055 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.74/8.818, allocations: 165.5 MB / 1.216 GB, free: 51.85 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat