Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.001123/0.001123, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007998/0.0007997, allocations: 96.02 kB / 261.8 MB, free: 1.676 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.2016/0.2016, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.877e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5899, allocations: 106.5 MB / 0.5701 GB, free: 4.824 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5903, allocations: 76.38 kB / 0.5701 GB, free: 4.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2769/0.8672, allocations: 101.6 MB / 0.6693 GB, free: 7.449 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.8673, allocations: 0 / 0.6693 GB, free: 7.449 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007394/0.8681, allocations: 100 kB / 0.6694 GB, free: 7.352 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02199/0.8901, allocations: 5.214 MB / 0.6745 GB, free: 2.066 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.8901, allocations: 15.97 kB / 0.6745 GB, free: 2.051 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02989/0.92, allocations: 6.884 MB / 0.6813 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02175/0.9418, allocations: 7.493 MB / 0.6886 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003436/0.9422, allocations: 160.3 kB / 0.6887 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002973/0.9452, allocations: 299.8 kB / 0.689 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01587/0.9611, allocations: 7.044 MB / 0.6959 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02459/0.9857, allocations: 10.81 MB / 0.7064 GB, free: 140 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003652/0.9861, allocations: 75.25 kB / 0.7065 GB, free: 64 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/0.9881, allocations: 32 kB / 0.7065 GB, free: 32 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3097/1.298, allocations: 1.142 MB / 0.7077 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07534/1.373, allocations: 54.05 MB / 0.7604 GB, free: 83.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/1.379, allocations: 4.332 MB / 0.7647 GB, free: 82.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003512/1.383, allocations: 2.736 MB / 0.7673 GB, free: 82.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/1.383, allocations: 0.5736 MB / 0.7679 GB, free: 81.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/1.383, allocations: 56.56 kB / 0.768 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=213): time 5.73e-06/1.383, allocations: 0 / 0.768 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272): time 0.06816/1.452, allocations: 27.02 MB / 0.7943 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/1.452, allocations: 212.7 kB / 0.7945 GB, free: 73.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005803/1.458, allocations: 3.617 MB / 0.7981 GB, free: 71.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006765/1.458, allocations: 25.7 kB / 0.7981 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002363/1.461, allocations: 3.655 MB / 0.8017 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/1.462, allocations: 0.971 MB / 0.8026 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/1.462, allocations: 0 / 0.8026 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003252/1.463, allocations: 0.6026 MB / 0.8032 GB, free: 68.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/1.466, allocations: 2.883 MB / 0.806 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/1.472, allocations: 6.799 MB / 0.8127 GB, free: 60.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006499/1.478, allocations: 4.375 MB / 0.8169 GB, free: 59.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/1.478, allocations: 37.72 kB / 0.817 GB, free: 59.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02442/1.503, allocations: 12.14 MB / 0.8288 GB, free: 51.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/1.503, allocations: 64 kB / 0.8289 GB, free: 51.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.503, allocations: 143.6 kB / 0.829 GB, free: 51.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/1.514, allocations: 3.973 MB / 0.8329 GB, free: 48.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005883/1.52, allocations: 1.475 MB / 0.8343 GB, free: 47.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03253/1.552, allocations: 24.33 MB / 0.8581 GB, free: 25.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007254/1.56, allocations: 270.3 kB / 0.8584 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002012/1.562, allocations: 416 kB / 0.8588 GB, free: 25.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (794): * Single equations (assignments): 788 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.002489/1.564, allocations: 469.6 kB / 0.8592 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01655/1.581, allocations: 7.847 MB / 0.8669 GB, free: 18.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.582, allocations: 418.6 kB / 0.8673 GB, free: 18.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.6, allocations: 7.743 MB / 0.8748 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.066e-05/1.6, allocations: 32 kB / 0.8749 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-05/1.6, allocations: 15.84 kB / 0.8749 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.795e-05/1.6, allocations: 11.95 kB / 0.8749 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03437/1.634, allocations: 15.77 MB / 0.8903 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/1.634, allocations: 8 kB / 0.8903 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.636, allocations: 304.2 kB / 0.8906 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/1.647, allocations: 3.664 MB / 0.8942 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005271/1.647, allocations: 8 kB / 0.8942 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3661/2.014, allocations: 23.09 MB / 0.9167 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-05/2.014, allocations: 10.72 kB / 0.9167 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02361/2.037, allocations: 12.29 MB / 0.9287 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002378/2.04, allocations: 0.911 MB / 0.9296 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007048/2.04, allocations: 10.8 kB / 0.9296 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/2.042, allocations: 129.5 kB / 0.9298 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007066/2.043, allocations: 190.5 kB / 0.9299 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/2.043, allocations: 69.88 kB / 0.93 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00361/2.047, allocations: 2.458 MB / 0.9324 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/2.047, allocations: 0 / 0.9324 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006595/2.054, allocations: 1.247 MB / 0.9336 GB, free: 115.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 162 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01845/2.072, allocations: 14.09 MB / 0.9474 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0123/2.084, allocations: 7.758 MB / 0.955 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/2.084, allocations: 3.375 kB / 0.955 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00506/2.09, allocations: 3.358 MB / 0.9582 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/2.093, allocations: 462.1 kB / 0.9587 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/2.118, allocations: 11.81 MB / 0.9702 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004079/2.122, allocations: 4.042 MB / 0.9742 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005186/2.127, allocations: 2.102 MB / 0.9762 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002916/2.13, allocations: 2.377 MB / 0.9785 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/2.13, allocations: 0 / 0.9785 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.164/2.294, allocations: 110.1 MB / 1.086 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/2.295, allocations: 158.4 kB / 1.086 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.469/6.764, allocations: 0 / 1.086 GB, free: 6.98 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat