Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_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.001364/0.001364, allocations: 184.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008645/0.0008643, allocations: 86.86 kB / 270.2 MB, free: 13.36 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.2168/0.2168, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.534, allocations: 116.2 MB / 0.5923 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5344, allocations: 82.64 kB / 0.5924 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6871/1.222, allocations: 154.6 MB / 0.7434 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.344e-06/1.222, allocations: 3.5 kB / 0.7434 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004657/1.222, allocations: 136.1 kB / 0.7435 GB, free: 104.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.02214/1.244, allocations: 6.972 MB / 0.7503 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.244, allocations: 14.28 kB / 0.7503 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006568/1.251, allocations: 1.501 MB / 0.7518 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02797/1.279, allocations: 6.673 MB / 0.7583 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/1.302, allocations: 8.419 MB / 0.7665 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00069/1.302, allocations: 0.528 MB / 0.767 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004056/1.306, allocations: 0.7156 MB / 0.7677 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04802/1.354, allocations: 18.88 MB / 0.7862 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005892/1.355, allocations: 84.72 kB / 0.7863 GB, free: 94.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004196/1.359, allocations: 339.3 kB / 0.7866 GB, free: 94.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002709/1.362, allocations: 1.72 MB / 0.7883 GB, free: 93.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.035/1.397, allocations: 16.55 MB / 0.8044 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09804/1.495, allocations: 74.21 MB / 0.8769 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/1.51, allocations: 6.161 MB / 0.8829 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02853/1.539, allocations: 13.91 MB / 0.8965 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.85e-05/1.539, allocations: 68.5 kB / 0.8966 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 6.512e-06/1.539, allocations: 4 kB / 0.8966 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.3743/1.913, allocations: 24.75 MB / 0.9207 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/1.913, allocations: 196 kB / 0.9209 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/1.926, allocations: 5.27 MB / 0.9261 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008294/1.926, allocations: 75.69 kB / 0.9261 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00376/1.93, allocations: 5.011 MB / 0.931 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.932, allocations: 1.286 MB / 0.9323 GB, free: 106 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/1.933, allocations: 188.6 kB / 0.9325 GB, free: 106 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001075/1.934, allocations: 0.7042 MB / 0.9332 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00634/1.941, allocations: 3.265 MB / 0.9364 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009066/1.95, allocations: 8.72 MB / 0.9449 GB, free: 98.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008076/1.958, allocations: 5.257 MB / 0.95 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000233/1.958, allocations: 57.69 kB / 0.9501 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.02655/1.985, allocations: 12.77 MB / 0.9625 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004081/1.985, allocations: 89.31 kB / 0.9626 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004668/1.986, allocations: 197 kB / 0.9628 GB, free: 95.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004773/1.991, allocations: 1.327 MB / 0.9641 GB, free: 95.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00838/1.999, allocations: 2.188 MB / 0.9662 GB, free: 95.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/2.011, allocations: 7.394 MB / 0.9735 GB, free: 91.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008282/2.019, allocations: 0.5653 MB / 0.974 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/2.021, allocations: 0.5442 MB / 0.9745 GB, free: 91.16 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 () * Number of clocked 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.007576/2.029, allocations: 3.459 MB / 0.9779 GB, free: 89.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/2.03, allocations: 0.5292 MB / 0.9784 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/2.042, allocations: 5.329 MB / 0.9836 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-05/2.042, allocations: 38.25 kB / 0.9837 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/2.042, allocations: 9.141 kB / 0.9837 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-05/2.042, allocations: 13.78 kB / 0.9837 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03606/2.079, allocations: 14.11 MB / 0.9975 GB, free: 81.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-05/2.079, allocations: 13.84 kB / 0.9975 GB, free: 81.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/2.081, allocations: 0.5289 MB / 0.998 GB, free: 81.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/2.085, allocations: 0.9265 MB / 0.9989 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005345/2.085, allocations: 76.67 kB / 0.999 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008455/2.094, allocations: 5.696 MB / 1.005 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/2.094, allocations: 22.5 kB / 1.005 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/2.109, allocations: 10.23 MB / 1.015 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003299/2.112, allocations: 0.9478 MB / 1.015 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/2.114, allocations: 65.33 kB / 1.016 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/2.117, allocations: 189.9 kB / 1.016 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/2.118, allocations: 225.7 kB / 1.016 GB, free: 69.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002904/2.118, allocations: 101 kB / 1.016 GB, free: 69.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007403/2.126, allocations: 3.674 MB / 1.02 GB, free: 66.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/2.126, allocations: 0 / 1.02 GB, free: 66.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01026/2.136, allocations: 1.661 MB / 1.021 GB, free: 64.5 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 () * Number of clocked 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.01675/2.153, allocations: 13.26 MB / 1.034 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01382/2.166, allocations: 7.781 MB / 1.042 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/2.167, allocations: 448 / 1.042 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004379/2.171, allocations: 2.401 MB / 1.044 GB, free: 42.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004694/2.176, allocations: 0.6451 MB / 1.045 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3801/2.556, allocations: 167.3 MB / 1.208 GB, free: 38.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01147/2.567, allocations: 5.325 MB / 1.213 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008449/2.576, allocations: 3.044 MB / 1.216 GB, free: 38.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004605/2.58, allocations: 3.34 MB / 1.22 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of SimCode: time 7.02e-07/2.58, allocations: 0 / 1.22 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4737/3.054, allocations: 121.7 MB / 1.338 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/3.054, allocations: 196.9 kB / 1.339 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/9.629, allocations: 0 / 1.339 GB, free: 133.8 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat