Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP",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.001271/0.001271, allocations: 184 kB / 13.19 MB, free: 2.129 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.709/1.709, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.00105/0.00105, allocations: 84.58 kB / 267 MB, free: 9.285 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.4155/0.4155, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.537e-05, allocations: 0 / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1479, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/0.662, allocations: 115.3 MB / 0.5855 GB, free: 6.629 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.6622, allocations: 79.11 kB / 0.5856 GB, free: 6.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7297/1.392, allocations: 143.1 MB / 0.7254 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/1.392, allocations: 0 / 0.7254 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006315/1.393, allocations: 127.9 kB / 0.7255 GB, free: 89.61 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02831/1.421, allocations: 6.654 MB / 0.732 GB, free: 87.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.421, allocations: 10.09 kB / 0.732 GB, free: 87.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007343/1.428, allocations: 1.283 MB / 0.7332 GB, free: 86.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04069/1.469, allocations: 9.338 MB / 0.7424 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03036/1.5, allocations: 9.14 MB / 0.7513 GB, free: 85.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007898/1.5, allocations: 480.5 kB / 0.7517 GB, free: 85.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004351/1.505, allocations: 0.6383 MB / 0.7524 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04364/1.548, allocations: 15.54 MB / 0.7675 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007602/1.549, allocations: 79.44 kB / 0.7676 GB, free: 81.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004056/1.553, allocations: 302.3 kB / 0.7679 GB, free: 81.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/1.556, allocations: 1.385 MB / 0.7693 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03643/1.592, allocations: 12.72 MB / 0.7817 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09058/1.683, allocations: 64.48 MB / 0.8447 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/1.7, allocations: 6.235 MB / 0.8507 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004055/1.704, allocations: 3.12 MB / 0.8538 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0196/1.724, allocations: 11.17 MB / 0.8647 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/1.724, allocations: 56.56 kB / 0.8648 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 5.841e-06/1.724, allocations: 0 / 0.8648 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.4861/2.21, allocations: 29.66 MB / 0.8937 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/2.21, allocations: 247.1 kB / 0.894 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/2.225, allocations: 4.948 MB / 0.8988 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/2.226, allocations: 77.48 kB / 0.8989 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004764/2.231, allocations: 4.485 MB / 0.9032 GB, free: 96.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0022/2.233, allocations: 1.241 MB / 0.9045 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009233/2.234, allocations: 162.3 kB / 0.9046 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00055/2.234, allocations: 0.652 MB / 0.9052 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006244/2.241, allocations: 3.529 MB / 0.9087 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009489/2.25, allocations: 8.075 MB / 0.9166 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009018/2.259, allocations: 5.28 MB / 0.9217 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002115/2.259, allocations: 48.81 kB / 0.9218 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.0357/2.295, allocations: 14.6 MB / 0.936 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/2.295, allocations: 72.88 kB / 0.9361 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003755/2.296, allocations: 159.6 kB / 0.9363 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01322/2.309, allocations: 3.559 MB / 0.9397 GB, free: 87.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008291/2.317, allocations: 1.798 MB / 0.9415 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02974/2.347, allocations: 17.91 MB / 0.959 GB, free: 79.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009433/2.357, allocations: 485 kB / 0.9594 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002421/2.359, allocations: 476.9 kB / 0.9599 GB, free: 79.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (972): * Single equations (assignments): 968 * Array equations: 3 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002438/2.361, allocations: 0.7143 MB / 0.9606 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/2.363, allocations: 0.5298 MB / 0.9611 GB, free: 78.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/2.382, allocations: 8.816 MB / 0.9697 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.315e-05/2.382, allocations: 33.56 kB / 0.9698 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.847e-05/2.382, allocations: 13.94 kB / 0.9698 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001095/2.382, allocations: 19.05 kB / 0.9698 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04069/2.423, allocations: 18.6 MB / 0.988 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.326e-05/2.423, allocations: 6.656 kB / 0.988 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/2.426, allocations: 489.4 kB / 0.9884 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01047/2.436, allocations: 3.103 MB / 0.9915 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008922/2.437, allocations: 65.3 kB / 0.9915 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/2.458, allocations: 15.59 MB / 1.007 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/2.458, allocations: 10.88 kB / 1.007 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02463/2.483, allocations: 14.04 MB / 1.02 GB, free: 54.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004448/2.487, allocations: 1.093 MB / 1.022 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001655/2.489, allocations: 63.33 kB / 1.022 GB, free: 53.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/2.492, allocations: 206.2 kB / 1.022 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006741/2.493, allocations: 214.8 kB / 1.022 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/2.493, allocations: 95.42 kB / 1.022 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006403/2.5, allocations: 3.498 MB / 1.025 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.92e-07/2.5, allocations: 0 / 1.025 GB, free: 49.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01062/2.51, allocations: 1.682 MB / 1.027 GB, free: 47.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 249 * Array equations: 3 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02587/2.536, allocations: 15.96 MB / 1.043 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01626/2.552, allocations: 8.79 MB / 1.051 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/2.553, allocations: 0 / 1.051 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005345/2.558, allocations: 3.437 MB / 1.055 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005012/2.563, allocations: 0.6912 MB / 1.055 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04613/2.609, allocations: 15.08 MB / 1.07 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01/2.619, allocations: 4.963 MB / 1.075 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008283/2.627, allocations: 2.607 MB / 1.077 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005715/2.633, allocations: 3.056 MB / 1.08 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of SimCode: time 2.104e-06/2.633, allocations: 0 / 1.08 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5454/3.179, allocations: 132.7 MB / 1.21 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/3.179, allocations: 176.2 kB / 1.21 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/10.02, allocations: 0 / 1.21 GB, free: 55.68 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat