Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009892/0.0009891, allocations: 101.8 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2087/0.2087, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.757e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5852, allocations: 117.5 MB / 0.6095 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.5854, allocations: 75.97 kB / 0.6096 GB, free: 10.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7102/1.296, allocations: 153.4 MB / 0.7594 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.405e-06/1.296, allocations: 0 / 0.7594 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003797/1.296, allocations: 136 kB / 0.7596 GB, free: 110.1 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.02208/1.318, allocations: 6.535 MB / 0.7659 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.318, allocations: 11.77 kB / 0.766 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02851/1.347, allocations: 6.684 MB / 0.7725 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01943/1.366, allocations: 7.919 MB / 0.7802 GB, free: 99.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/1.367, allocations: 228 kB / 0.7804 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003837/1.371, allocations: 431.7 kB / 0.7808 GB, free: 99.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02243/1.393, allocations: 11.67 MB / 0.7922 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03504/1.428, allocations: 15.89 MB / 0.8078 GB, free: 70.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006633/1.429, allocations: 79.28 kB / 0.8078 GB, free: 70.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004622/1.433, allocations: 40 kB / 0.8079 GB, free: 70.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002852/1.436, allocations: 1.726 MB / 0.8096 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08975/1.526, allocations: 70.81 MB / 0.8787 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007158/1.533, allocations: 4.667 MB / 0.8833 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004241/1.538, allocations: 2.677 MB / 0.8859 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4054/1.943, allocations: 13.66 MB / 0.8992 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/1.943, allocations: 61.23 kB / 0.8993 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 7.143e-06/1.943, allocations: 0 / 0.8993 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=346): time 0.05721/2, allocations: 17.84 MB / 0.9167 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.919e-05/2, allocations: 191 kB / 0.9169 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008547/2.009, allocations: 4.58 MB / 0.9213 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008056/2.01, allocations: 25.7 kB / 0.9214 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003522/2.013, allocations: 5.09 MB / 0.9263 GB, free: 109 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/2.015, allocations: 1.248 MB / 0.9276 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005176/2.016, allocations: 0 / 0.9276 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004882/2.016, allocations: 0.733 MB / 0.9283 GB, free: 108 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004342/2.02, allocations: 3.055 MB / 0.9313 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007614/2.028, allocations: 8.746 MB / 0.9398 GB, free: 99.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008611/2.037, allocations: 5.289 MB / 0.945 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001833/2.037, allocations: 57.66 kB / 0.945 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.02463/2.062, allocations: 11.71 MB / 0.9565 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/2.062, allocations: 93.84 kB / 0.9565 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002951/2.062, allocations: 208.7 kB / 0.9567 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004234/2.066, allocations: 1.31 MB / 0.958 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008376/2.075, allocations: 2.263 MB / 0.9602 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/2.085, allocations: 6.85 MB / 0.9669 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009048/2.094, allocations: 381.6 kB / 0.9673 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003202/2.098, allocations: 0.568 MB / 0.9678 GB, free: 89.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * 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 (1206): * Single equations (assignments): 1199 * 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.004085/2.102, allocations: 0.6066 MB / 0.9684 GB, free: 89.1 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01214/2.114, allocations: 5.152 MB / 0.9735 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/2.115, allocations: 0.4962 MB / 0.9739 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/2.128, allocations: 5.033 MB / 0.9789 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.353e-05/2.128, allocations: 37.25 kB / 0.9789 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/2.128, allocations: 8 kB / 0.9789 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.635e-05/2.128, allocations: 16.64 kB / 0.9789 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/2.16, allocations: 12.23 MB / 0.9909 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/2.16, allocations: 12 kB / 0.9909 GB, free: 73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/2.162, allocations: 0.5191 MB / 0.9914 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/2.165, allocations: 0.8624 MB / 0.9922 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000409/2.166, allocations: 20 kB / 0.9922 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007177/2.173, allocations: 5.156 MB / 0.9973 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/2.173, allocations: 15.94 kB / 0.9973 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/2.185, allocations: 9.757 MB / 1.007 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/2.187, allocations: 0.5353 MB / 1.007 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000769/2.188, allocations: 19.47 kB / 1.007 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/2.19, allocations: 128.9 kB / 1.007 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/2.191, allocations: 216.5 kB / 1.008 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/2.191, allocations: 100.9 kB / 1.008 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00517/2.196, allocations: 3.04 MB / 1.011 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/2.196, allocations: 0 / 1.011 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0119/2.208, allocations: 1.427 MB / 1.012 GB, free: 53.02 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 (269): * Single equations (assignments): 262 * 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.01372/2.222, allocations: 12.84 MB / 1.025 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01227/2.234, allocations: 7.291 MB / 1.032 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.234, allocations: 0 / 1.032 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003349/2.238, allocations: 2.274 MB / 1.034 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/2.241, allocations: 0.5004 MB / 1.035 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04425/2.285, allocations: 14.66 MB / 1.049 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00933/2.295, allocations: 5.301 MB / 1.054 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008664/2.303, allocations: 3.112 MB / 1.057 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005792/2.309, allocations: 3.354 MB / 1.06 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/2.309, allocations: 0 / 1.06 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5475/2.857, allocations: 117.2 MB / 1.175 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/2.857, allocations: 139.6 kB / 1.175 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.835/8.692, allocations: 0 / 1.175 GB, free: 82.7 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat